diff --git a/tests/build.gradle.kts b/tests/build.gradle.kts index 39c254de7..b0404b192 100644 --- a/tests/build.gradle.kts +++ b/tests/build.gradle.kts @@ -57,5 +57,9 @@ tasks.test { systemProperty("teavm.junit.wasi.runner", providers.gradleProperty("teavm.tests.wasi.runner") .orElse("./run-wasi.sh").get()) + systemProperty("teavm.junit.c", providers.gradleProperty("teavm.tests.c").orElse("false").get()) + systemProperty("teavm.junit.c.compiler", providers.gradleProperty("teavm.tests.c.compiler") + .orElse("compile-c-unix-fast.sh").get()) + maxParallelForks = (Runtime.getRuntime().availableProcessors() / 2).coerceAtLeast(1) } \ No newline at end of file