[Gradle, JS] Default stdOutput and errOutput on dry run with JS tests

This commit is contained in:
Ilya Goncharov
2023-05-10 21:24:11 +02:00
committed by Space Team
parent 3d4f3d2f57
commit 1b9ed568bb
@@ -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()