Merge branch 'improvement/JAL-4212_remove_macos_test_java_icons' into merge/big_merge...
authorBen Soares <b.soares@dundee.ac.uk>
Fri, 18 Aug 2023 13:35:41 +0000 (14:35 +0100)
committerBen Soares <b.soares@dundee.ac.uk>
Fri, 18 Aug 2023 13:35:41 +0000 (14:35 +0100)
build.gradle

index 7ad6f99..c4ed582 100644 (file)
@@ -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