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" "nimcrypto"
task test, "Run all tests": task test, "Run all tests":
exec "nim c -f -r -d:release tests/tarith" for tprog in @[
exec "nim c -f -r -d:release tests/tfields" "tests/tarith",
exec "nim c -f -r -d:release tests/tgroups" "tests/tfields",
exec "nim c -f -r -d:release tests/tpairing" "tests/tgroups",
exec "nim c -f -r -d:release tests/tether" "tests/tpairing",
exec "nim c -f -r -d:release tests/tvectors" "tests/tether",
"tests/tvectors",
]:
exec "nim c -f -r -d:release --threads:on " & tprog