summaryrefslogtreecommitdiff
path: root/mbld/test.myr
diff options
context:
space:
mode:
Diffstat (limited to 'mbld/test.myr')
-rw-r--r--mbld/test.myr3
1 files changed, 2 insertions, 1 deletions
diff --git a/mbld/test.myr b/mbld/test.myr
index 77c6c25..df45bbb 100644
--- a/mbld/test.myr
+++ b/mbld/test.myr
@@ -66,7 +66,7 @@ const dotest = {b, targ, ok
var tt, bin ,path, tests
tests = [][:]
- setdir(b, targ.dir)
+ pushdir(b, targ.dir)
for s in targ.inputs
path = std.pathcat("./test", s)
if std.fexists(path)
@@ -96,6 +96,7 @@ const dotest = {b, targ, ok
std.slfree(t)
;;
std.slfree(tests)
+ popdir(b)
-> ok
}