Fix tests on Nim 1.6.12

Ignore the nimble.lock at the root level when running tests
This commit is contained in:
Mark Spanbroek 2023-06-05 17:01:32 +02:00 committed by markspanbroek
parent 6cbbda7e4d
commit f957dd59d6
3 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ description = "Questionable tests for std/option"
license = "MIT"
task test, "Runs the test suite":
var options = "-f -r"
var options = "-f -r --skipParentCfg"
when (NimMajor, NimMinor) >= (1, 4):
options &= " --warningAsError[UnsafeDefault]:on"
options &= " --warningAsError[ProveInit]:on"

View File

@ -6,4 +6,4 @@ license = "MIT"
requires "result"
task test, "Runs the test suite":
exec "nim c -f -r test.nim"
exec "nim c -f -r --skipParentCfg test.nim"

View File

@ -6,4 +6,4 @@ license = "MIT"
requires "stew"
task test, "Runs the test suite":
exec "nim c -f -r test.nim"
exec "nim c -f -r --skipParentCfg test.nim"