mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 00:17:11 -07:00
Disabled TestNG output on --log 0
This commit is contained in:
parent
ae85bd3756
commit
6ce6cbbe14
1 changed files with 5 additions and 0 deletions
|
@ -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))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue