buildSrc: print command to reproduce for failed/crashed tests.
This commit is contained in:
@@ -368,6 +368,9 @@ fun main(args : Array<String>) {
|
|||||||
currentResult = testCase.skip()
|
currentResult = testCase.skip()
|
||||||
}
|
}
|
||||||
println("TEST $currentResult.status\n")
|
println("TEST $currentResult.status\n")
|
||||||
|
if (currentResult.status == TestStatus.ERROR || currentResult.status == TestStatus.FAILED) {
|
||||||
|
println("Command to reproduce: ./gradlew $name -Pfilter=${it.name}\n")
|
||||||
|
}
|
||||||
results.put(it.name, currentResult)
|
results.put(it.name, currentResult)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user