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

Merge pull request #370 from ethauvin/master

Disabled TestNG output on --log 0
This commit is contained in:
Cedric Beust 2017-03-29 11:22:53 -07:00 committed by GitHub
commit 9c8f13cc28

View file

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