From 307c8f3ffc81e3bb43ee8cb8a6ae297e914a4850 Mon Sep 17 00:00:00 2001 From: Anton Keks Date: Sat, 1 Jan 2022 17:20:51 +0200 Subject: [PATCH] fix running of tests on the mac --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index cab1b6ac..f61a65d5 100644 --- a/build.gradle +++ b/build.gradle @@ -67,7 +67,7 @@ dependencies { } test { - if (platform == "mac") { + if (platform.startsWith("mac")) { // 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") filter {