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'
|
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.
|
||||||
|
|||||||
Reference in New Issue
Block a user