add "--threads:on" to tests

This commit is contained in:
Ștefan Talpalaru 2019-01-15 12:16:33 +01:00 committed by zah
parent 9b21ca7e14
commit 53baf442f2
1 changed files with 1 additions and 0 deletions

View File

@ -13,6 +13,7 @@ proc test(name: string, lang: string = "c") =
if not dirExists "build":
mkDir "build"
--run
--threads:on
switch("out", ("./build/" & name))
setCommand lang, "tests/" & name & ".nim"