[WASM] Disable wasm std tests tc service output for local builds
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
import org.jetbrains.kotlin.gradle.dsl.KotlinCompile
|
import org.jetbrains.kotlin.gradle.dsl.KotlinCompile
|
||||||
import org.jetbrains.kotlin.gradle.targets.js.ir.KotlinJsIrLink
|
import org.jetbrains.kotlin.gradle.targets.js.ir.KotlinJsIrLink
|
||||||
|
import java.io.OutputStream
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
`maven-publish`
|
`maven-publish`
|
||||||
@@ -161,6 +162,13 @@ val runWasmStdLibTestsWithD8 by tasks.registering(Exec::class) {
|
|||||||
?.let { File(it) }
|
?.let { File(it) }
|
||||||
check(compiledFile != null)
|
check(compiledFile != null)
|
||||||
|
|
||||||
|
if (System.getenv("TEAMCITY_VERSION") == null) {
|
||||||
|
standardOutput = object : OutputStream() {
|
||||||
|
override fun write(b: Int) = Unit
|
||||||
|
}
|
||||||
|
errorOutput = standardOutput
|
||||||
|
}
|
||||||
|
|
||||||
workingDir = compiledFile.parentFile
|
workingDir = compiledFile.parentFile
|
||||||
args = listOf("--experimental-wasm-gc", "--experimental-wasm-eh", "--module", compiledFile.name)
|
args = listOf("--experimental-wasm-gc", "--experimental-wasm-eh", "--module", compiledFile.name)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user