[WASM] Disable wasm std tests tc service output for local builds

This commit is contained in:
Igor Yakovlev
2022-06-01 12:10:12 +02:00
parent 98c7399a35
commit 6c5fdfe070
+8
View File
@@ -1,5 +1,6 @@
import org.jetbrains.kotlin.gradle.dsl.KotlinCompile
import org.jetbrains.kotlin.gradle.targets.js.ir.KotlinJsIrLink
import java.io.OutputStream
plugins {
`maven-publish`
@@ -161,6 +162,13 @@ val runWasmStdLibTestsWithD8 by tasks.registering(Exec::class) {
?.let { File(it) }
check(compiledFile != null)
if (System.getenv("TEAMCITY_VERSION") == null) {
standardOutput = object : OutputStream() {
override fun write(b: Int) = Unit
}
errorOutput = standardOutput
}
workingDir = compiledFile.parentFile
args = listOf("--experimental-wasm-gc", "--experimental-wasm-eh", "--module", compiledFile.name)
}