From 476191f7dd9970e61e232c658a71795dd893cdc8 Mon Sep 17 00:00:00 2001 From: Mark Spanbroek Date: Mon, 28 Aug 2023 17:01:25 +0200 Subject: [PATCH] Fix local dependencies in tests --- .gitignore | 1 + asynctest.nimble | 1 + testmodules/unittest2/nimbledeps/.keep | 0 3 files changed, 2 insertions(+) create mode 100644 testmodules/unittest2/nimbledeps/.keep diff --git a/.gitignore b/.gitignore index 272d8fb..5c20a9f 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ !*.* nimble.develop nimble.paths +nimbledeps diff --git a/asynctest.nimble b/asynctest.nimble index 84d01ee..a6bb8ba 100644 --- a/asynctest.nimble +++ b/asynctest.nimble @@ -6,5 +6,6 @@ license = "MIT" task test, "Runs the test suite": for module in ["stdlib", "chronos", "unittest2"]: withDir "testmodules/" & module: + delEnv "NIMBLE_DIR" # use nimbledeps dir exec "nimble install -d -y" exec "nimble test -y" diff --git a/testmodules/unittest2/nimbledeps/.keep b/testmodules/unittest2/nimbledeps/.keep new file mode 100644 index 0000000..e69de29