Exclude standard test task from execution to avoid debugger tests instantiation

This commit is contained in:
Pavel Punegov
2020-06-09 17:28:38 +03:00
committed by Pavel Punegov
parent 11b2c80a22
commit 8d1c82f9ac
+6
View File
@@ -4491,6 +4491,12 @@ dependencies {
compile 'junit:junit:4.12'
}
project.tasks.named("test").configure {
// Don't run this task as it will try to execute debugger tests too
// that is not desired as they are platform-specific.
enabled = false
}
project.tasks.register("debugger_test", Test.class) {
enabled = (target.family == Family.OSX) // KT-30366
testLogging { exceptionFormat = 'full' }