Ensure that test modules use local nimbledeps folder

Even when NIMBLE_DIR is set externally.
This commit is contained in:
Mark Spanbroek 2021-07-12 11:26:35 +02:00
parent 8feb684574
commit b9a090d001

View File

@ -6,5 +6,6 @@ license = "MIT"
task test, "Runs the test suite":
for module in ["options", "result", "stew"]:
withDir "testmodules/" & module:
delEnv "NIMBLE_DIR" # use nimbledeps dir
exec "nimble install -d -y"
exec "nimble test -y"