X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=build.gradle;h=c4ed5822e40e0fc846d580cecd33a64c09164c6c;hb=95443a95c1282c050fe1f28a4ddcaf3f0f75dfb4;hp=7ad6f9965e560830bad4e1a2afa2f9cf72f4cf31;hpb=06eaa901379256f8db2114acb4e1bc75002b2527;p=jalview.git diff --git a/build.gradle b/build.gradle index 7ad6f99..c4ed582 100644 --- a/build.gradle +++ b/build.gradle @@ -1834,6 +1834,10 @@ tasks.withType(Test).matching {t -> t.getName().startsWith("testTask")}.all { te info.events = [ TestLogEvent.FAILED ] } + if (OperatingSystem.current().isMacOsX()) { + testTask.systemProperty "apple.awt.UIElement", "true" + testTask.environment "JAVA_TOOL_OPTIONS", "-Dapple.awt.UIElement=true" + } ignoreFailures = true // Always try to run all tests for all modules