Exclude standard test task from execution to avoid debugger tests instantiation
This commit is contained in:
committed by
Pavel Punegov
parent
11b2c80a22
commit
8d1c82f9ac
@@ -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' }
|
||||
|
||||
Reference in New Issue
Block a user