enable "--threads:on" for tests

This commit is contained in:
Ștefan Talpalaru 2019-01-08 23:30:36 +01:00
parent c81464f485
commit 0def1e76f1
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9
1 changed files with 10 additions and 6 deletions

View File

@ -11,9 +11,13 @@ requires "nim > 0.18.0",
"nimcrypto"
task test, "Run all tests":
exec "nim c -f -r -d:release tests/tarith"
exec "nim c -f -r -d:release tests/tfields"
exec "nim c -f -r -d:release tests/tgroups"
exec "nim c -f -r -d:release tests/tpairing"
exec "nim c -f -r -d:release tests/tether"
exec "nim c -f -r -d:release tests/tvectors"
for tprog in @[
"tests/tarith",
"tests/tfields",
"tests/tgroups",
"tests/tpairing",
"tests/tether",
"tests/tvectors",
]:
exec "nim c -f -r -d:release --threads:on " & tprog