diff --git a/asynctest.nimble b/asynctest.nimble index a7c6d8d..4cd49c8 100644 --- a/asynctest.nimble +++ b/asynctest.nimble @@ -6,7 +6,7 @@ license = "MIT" skipDirs = @["testmodules"] task test, "Runs the test suite": - for module in ["stdlib", "chronos", "unittest2"]: + for module in ["stdlib", "chronosv3", "unittest2"]: withDir "testmodules/" & module: delEnv "NIMBLE_DIR" # use nimbledeps dir exec "nimble install -d -y" diff --git a/testmodules/chronos/nim.cfg b/testmodules/chronosv3/nim.cfg similarity index 100% rename from testmodules/chronos/nim.cfg rename to testmodules/chronosv3/nim.cfg diff --git a/testmodules/chronos/nimbledeps/.keep b/testmodules/chronosv3/nimbledeps/.keep similarity index 100% rename from testmodules/chronos/nimbledeps/.keep rename to testmodules/chronosv3/nimbledeps/.keep diff --git a/testmodules/chronos/test.nim b/testmodules/chronosv3/test.nim similarity index 100% rename from testmodules/chronos/test.nim rename to testmodules/chronosv3/test.nim diff --git a/testmodules/chronos/test.nimble b/testmodules/chronosv3/test.nimble similarity index 84% rename from testmodules/chronos/test.nimble rename to testmodules/chronosv3/test.nimble index 2d37313..85228b2 100644 --- a/testmodules/chronos/test.nimble +++ b/testmodules/chronosv3/test.nimble @@ -3,7 +3,7 @@ author = "Asynctest Authors" description = "Asynctest tests for std/unittest and pkg/chronos" license = "MIT" -requires "chronos" +requires "chronos >= 3.2.0 & < 4.0.0" task test, "Runs the test suite": exec "nim c -f -r --skipParentCfg test.nim"