1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 08:27:12 -07:00

Disabled TestNG output on --log 0

This commit is contained in:
Erik C. Thauvin 2017-03-29 11:19:24 -07:00
parent ae85bd3756
commit 6ce6cbbe14

View file

@ -23,6 +23,11 @@ class TestNgRunner : GenericTestRunner() {
override fun args(project: Project, context: KobaltContext, classpath: List<IClasspathDependency>, override fun args(project: Project, context: KobaltContext, classpath: List<IClasspathDependency>,
testConfig: TestConfig) = arrayListOf<String>().apply { testConfig: TestConfig) = arrayListOf<String>().apply {
if (KobaltLogger.isQuiet) {
add("-log")
add("0")
}
if (testConfig.testArgs.none { it == "-d" }) { if (testConfig.testArgs.none { it == "-d" }) {
add("-d") add("-d")
add(defaultOutput(project)) add(defaultOutput(project))