add "--threads:on" to tests
and a "test" task for Nimble and the test binary to .gitignore
This commit is contained in:
parent
aaff7fac31
commit
cca110adf2
3 changed files with 7 additions and 0 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
/tests/test_output_stream
|
||||||
|
|
||||||
|
|
@ -10,3 +10,6 @@ skipDirs = @["tests"]
|
||||||
requires "nim >= 0.17.0",
|
requires "nim >= 0.17.0",
|
||||||
"ranges"
|
"ranges"
|
||||||
|
|
||||||
|
task test, "run tests":
|
||||||
|
exec "nim c -r tests/test_output_stream.nim"
|
||||||
|
|
||||||
|
|
|
||||||
2
tests/nim.cfg
Normal file
2
tests/nim.cfg
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
--threads:on
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue