summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOri Bernstein <ori@markovcorp.com>2017-07-25 10:43:51 -0700
committerOri Bernstein <ori@markovcorp.com>2017-07-25 10:43:51 -0700
commit80961a8007214a8c83d5acbb6f2a12060bd94102 (patch)
tree09515669d5411cb2b43b04e3cd85339c0c310c8d
parent83f5a273a751b9053d67798faa0876fbc7ca6a14 (diff)
downloadmc-80961a8007214a8c83d5acbb6f2a12060bd94102.tar.gz
Unbreak error messages.
-rw-r--r--mbld/test.myr5
1 files changed, 3 insertions, 2 deletions
diff --git a/mbld/test.myr b/mbld/test.myr
index 6020f42..723bd85 100644
--- a/mbld/test.myr
+++ b/mbld/test.myr
@@ -56,8 +56,10 @@ const runtest = {b, n, failed
var dir, res, log, logfd
var sub
+ mbldput("run {}: ", n.lbl)
dir = std.pathcat(b.basedir, n.wdir)
std.chdir(dir)
+ std.slfree(dir)
match std.spork(n.cmd)
| `std.Err m:
std.fatal("\nunable to run test: {}\n", m)
@@ -83,10 +85,9 @@ const runtest = {b, n, failed
;;
;;
if !res
- std.slpush(failed, std.fmt("{j= } || {}", n.cmd, dir))
+ std.slpush(failed, std.fmt("{j= }", n.cmd))
;;
;;
- std.slfree(dir)
-> res
}