diff --git a/bncurve.nimble b/bncurve.nimble index 3015eed..00497b9 100644 --- a/bncurve.nimble +++ b/bncurve.nimble @@ -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 +