mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -08:00
C: fix running tests
This commit is contained in:
parent
2e7e11292b
commit
409292159e
|
@ -57,5 +57,9 @@ tasks.test {
|
||||||
systemProperty("teavm.junit.wasi.runner", providers.gradleProperty("teavm.tests.wasi.runner")
|
systemProperty("teavm.junit.wasi.runner", providers.gradleProperty("teavm.tests.wasi.runner")
|
||||||
.orElse("./run-wasi.sh").get())
|
.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)
|
maxParallelForks = (Runtime.getRuntime().availableProcessors() / 2).coerceAtLeast(1)
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user