Replace if with a property to limit test to MacOS only
This commit is contained in:
committed by
Pavel Punegov
parent
da312cd16e
commit
11b2c80a22
@@ -4491,13 +4491,11 @@ dependencies {
|
||||
compile 'junit:junit:4.12'
|
||||
}
|
||||
|
||||
// MacOS only: KT-30366
|
||||
if (target.family == Family.OSX) {
|
||||
project.tasks.register("debugger_test", Test.class) {
|
||||
testLogging { exceptionFormat = 'full' }
|
||||
UtilsKt.dependsOnDist(it)
|
||||
systemProperties = ['kotlin.native.home': dist]
|
||||
}
|
||||
project.tasks.register("debugger_test", Test.class) {
|
||||
enabled = (target.family == Family.OSX) // KT-30366
|
||||
testLogging { exceptionFormat = 'full' }
|
||||
UtilsKt.dependsOnDist(it)
|
||||
systemProperties = ['kotlin.native.home': dist]
|
||||
}
|
||||
|
||||
// Configure build for iOS device targets.
|
||||
|
||||
Reference in New Issue
Block a user