ref: 4932b5f0cf6f495208a0c1e1f4b2810ecf84fb9a
parent: e6624da5efc4a98942a3620dae59c0610331a812
author: Ori Bernstein <ori@eigenstate.org>
date: Mon Jun 15 15:49:25 EDT 2015
Set the directory before running tests.
--- a/mbld/test.myr
+++ b/mbld/test.myr
@@ -51,6 +51,7 @@
for tn in b.all
match gettarg(b.targs, tn)
| `Test t:
+ setdir(b, t.dir)
bin = std.strcat("./", t.name)
if !runtest(bin)
ok = false