add --threads:on to tests

This commit is contained in:
andri lim 2019-01-10 09:33:27 +07:00
parent 66d13402c1
commit 4d051a5e97
1 changed files with 1 additions and 0 deletions

View File

@ -10,3 +10,4 @@ requires: "nim >= 0.19.0"
task test, "Run all tests": task test, "Run all tests":
exec "nim c --passL:\"-lsnappy -L./tests -lstdc++\" -r tests/test" exec "nim c --passL:\"-lsnappy -L./tests -lstdc++\" -r tests/test"
exec "nim c --passL:\"-lsnappy -L./tests -lstdc++\" -d:release -r tests/test" exec "nim c --passL:\"-lsnappy -L./tests -lstdc++\" -d:release -r tests/test"
exec "nim c --passL:\"-lsnappy -L./tests -lstdc++\" --threads:on -d:release -r tests/test"