From b551eb3705ee8c39d45d7e0df1aeeb07b1c3c05a Mon Sep 17 00:00:00 2001 From: Mark Spanbroek Date: Wed, 21 Jun 2023 16:19:09 +0200 Subject: [PATCH] Fix tests on Nim 1.6.12 Ignore the nimble.lock at the root level when running tests --- testmodules/chronos/test.nimble | 2 +- testmodules/stdlib/test.nimble | 2 +- testmodules/unittest2/test.nimble | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/testmodules/chronos/test.nimble b/testmodules/chronos/test.nimble index 4b84514..2d37313 100644 --- a/testmodules/chronos/test.nimble +++ b/testmodules/chronos/test.nimble @@ -6,4 +6,4 @@ license = "MIT" requires "chronos" task test, "Runs the test suite": - exec "nim c -f -r test.nim" + exec "nim c -f -r --skipParentCfg test.nim" diff --git a/testmodules/stdlib/test.nimble b/testmodules/stdlib/test.nimble index 1c12c6b..54885aa 100644 --- a/testmodules/stdlib/test.nimble +++ b/testmodules/stdlib/test.nimble @@ -4,4 +4,4 @@ description = "Asynctest tests for std/unittest and std/asyncdispatch" license = "MIT" task test, "Runs the test suite": - exec "nim c -f -r test.nim" + exec "nim c -f -r --skipParentCfg test.nim" diff --git a/testmodules/unittest2/test.nimble b/testmodules/unittest2/test.nimble index bc64818..f4f5e19 100644 --- a/testmodules/unittest2/test.nimble +++ b/testmodules/unittest2/test.nimble @@ -7,4 +7,4 @@ requires "unittest2" requires "chronos" task test, "Runs the test suite": - exec "nim c -f -r test.nim" + exec "nim c -f -r --skipParentCfg test.nim"