From 1b9ed568bb8222495dc7aa052dec9fb0da5393b1 Mon Sep 17 00:00:00 2001 From: Ilya Goncharov Date: Wed, 10 May 2023 21:24:11 +0200 Subject: [PATCH] [Gradle, JS] Default stdOutput and errOutput on dry run with JS tests --- .../internal/testing/TCServiceMessagesTestExecutor.kt | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/internal/testing/TCServiceMessagesTestExecutor.kt b/libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/internal/testing/TCServiceMessagesTestExecutor.kt index 1335ea4660d..e4cc3cd90b0 100644 --- a/libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/internal/testing/TCServiceMessagesTestExecutor.kt +++ b/libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/internal/testing/TCServiceMessagesTestExecutor.kt @@ -60,17 +60,6 @@ class TCServiceMessagesTestExecutor( val exec = execHandleFactory.newExec() spec.forkOptions.copyTo(exec) exec.args = spec.dryRunArgs - // We do not need output by dry run of tests - exec.standardOutput = object : OutputStream() { - override fun write(b: Int) { - // do nothing - } - } - exec.errorOutput = object : OutputStream() { - override fun write(b: Int) { - // do nothing - } - } execHandle = exec.build() execHandle.start()