do not provide jvmArgs for tests on mac because it doesn't work with gradle, but we want to allow to at least some tests to run

This commit is contained in:
Anton Keks 2021-01-19 23:16:20 +02:00
parent cb0a6d0cf3
commit f92db359c8

View File

@ -54,7 +54,7 @@ compileJava.options.annotationProcessorGeneratedSourcesDirectory = new File('bui
test {
if (platform == "mac") {
jvmArgs "-XstartOnFirstThread"
// jvmArgs "-XstartOnFirstThread"
println("WARNING: tests that touch GUI will fail on Mac due to Cocoa restrictions and Gradle unable to run tests on main thread")
}
}