build/tests: support declaring tests to be manually executed
This commit is contained in:
committed by
SvyatoslavScherbina
parent
725e367614
commit
304a9ebd8e
@@ -25,6 +25,7 @@ abstract class KonanTest extends JavaExec {
|
||||
List<String> arguments = null
|
||||
|
||||
boolean enabled = true
|
||||
boolean run = true
|
||||
|
||||
void setDisabled(boolean value) {
|
||||
this.enabled = !value
|
||||
@@ -141,6 +142,11 @@ abstract class KonanTest extends JavaExec {
|
||||
def exe = buildExePath()
|
||||
|
||||
compileTest(buildCompileList(), exe)
|
||||
|
||||
if (!run) {
|
||||
println "to be executed manually: $exe"
|
||||
return
|
||||
}
|
||||
println "execution :$exe"
|
||||
|
||||
def out = null
|
||||
|
||||
Reference in New Issue
Block a user