add "--threads:on" to tests

and a "test" task for Nimble and the test binary to .gitignore
This commit is contained in:
Ștefan Talpalaru 2019-01-09 23:21:31 +01:00
commit cca110adf2
No known key found for this signature in database
GPG key ID: CBF7934204F1B6F9
3 changed files with 7 additions and 0 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
/tests/test_output_stream

View file

@ -10,3 +10,6 @@ skipDirs = @["tests"]
requires "nim >= 0.17.0",
"ranges"
task test, "run tests":
exec "nim c -r tests/test_output_stream.nim"

2
tests/nim.cfg Normal file
View file

@ -0,0 +1,2 @@
--threads:on