Merge branch 'threads'

This commit is contained in:
Ștefan Talpalaru 2019-01-17 19:29:54 +01:00
commit 8c74ae19a9
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