summaryrefslogtreecommitdiff
path: root/mbld/test.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-07-24 23:06:02 -0700
committerOri Bernstein <ori@eigenstate.org>2017-07-25 22:23:05 -0700
commitd470a28bf8c0b730b9dbf8e73ba7856fed338084 (patch)
tree23d254f5fc3203e3a1c7187c6782071c1159e15b /mbld/test.myr
parent5a4946bb577b755df6ddb543bccd0573de7cf2bd (diff)
downloadmc-d470a28bf8c0b730b9dbf8e73ba7856fed338084.tar.gz
Fix running tests.
Diffstat (limited to 'mbld/test.myr')
-rw-r--r--mbld/test.myr6
1 files changed, 3 insertions, 3 deletions
diff --git a/mbld/test.myr b/mbld/test.myr
index 50eb6bb..7f244fa 100644
--- a/mbld/test.myr
+++ b/mbld/test.myr
@@ -57,7 +57,7 @@ const runtest = {b, n, failed
var sub
dir = std.pathcat(b.basedir, n.wdir)
- mbldput("run {}:\t", n.lbl)
+ mbldput("run {} in {}:\t", n.lbl, dir)
std.chdir(dir)
match std.spork(n.cmd)
| `std.Err m:
@@ -84,10 +84,10 @@ const runtest = {b, n, failed
;;
;;
if !res
- std.slpush(failed, n.lbl)
+ std.slpush(failed, std.fmt("{j= } || {}", n.cmd, dir))
;;
;;
- std.slfree(dir)
+ //std.slfree(dir)
-> res
}