From 0def1e76f153da5279d5e02517dd1186e7d0effe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C8=98tefan=20Talpalaru?= Date: Tue, 8 Jan 2019 23:30:36 +0100 Subject: [PATCH] enable "--threads:on" for tests --- bncurve.nimble | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) 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 +