Replace if with a property to limit test to MacOS only

This commit is contained in:
Pavel Punegov
2020-06-08 19:30:24 +03:00
committed by Pavel Punegov
parent da312cd16e
commit 11b2c80a22
+5 -7
View File
@@ -4491,13 +4491,11 @@ dependencies {
compile 'junit:junit:4.12' compile 'junit:junit:4.12'
} }
// MacOS only: KT-30366 project.tasks.register("debugger_test", Test.class) {
if (target.family == Family.OSX) { enabled = (target.family == Family.OSX) // KT-30366
project.tasks.register("debugger_test", Test.class) { testLogging { exceptionFormat = 'full' }
testLogging { exceptionFormat = 'full' } UtilsKt.dependsOnDist(it)
UtilsKt.dependsOnDist(it) systemProperties = ['kotlin.native.home': dist]
systemProperties = ['kotlin.native.home': dist]
}
} }
// Configure build for iOS device targets. // Configure build for iOS device targets.