Revert "setCommand"

setCommand only executes the last command actually (works in other repo because there was only one test command to execute)
This commit is contained in:
Mamy Ratsimbazafy 2018-05-08 16:58:24 +02:00 committed by GitHub
parent 4c23020d8e
commit a7e8cb7bdf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ proc runTest(name: string, lang = "c") =
--run
--nimcache: "nimcache"
switch("out", ("./build/" & name))
setCommand lang, "tests/" & name & ".nim"
exec "nim " & lang & " -r tests/" & name
task test, "Runs the test suite":
runTest "testecies"