summaryrefslogtreecommitdiff
path: root/mbld/test.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-07-24 21:32:26 -0700
committerOri Bernstein <ori@eigenstate.org>2017-07-25 22:23:05 -0700
commit5a4946bb577b755df6ddb543bccd0573de7cf2bd (patch)
tree23391c63799eebf83a478e96a794e5c6001af899 /mbld/test.myr
parent254640059611d64a97b82cc8b20bf759eccc6806 (diff)
downloadmc-5a4946bb577b755df6ddb543bccd0573de7cf2bd.tar.gz
Improve message signalling.
Wait for all launched processes to exit before quitting.
Diffstat (limited to 'mbld/test.myr')
-rw-r--r--mbld/test.myr5
1 files changed, 3 insertions, 2 deletions
diff --git a/mbld/test.myr b/mbld/test.myr
index f0bbba5..50eb6bb 100644
--- a/mbld/test.myr
+++ b/mbld/test.myr
@@ -16,9 +16,10 @@ const test = {b
var failed, ok
var tests
- buildtarg(b, "test")
+ if !buildtarg(b, "test")
+ std.exit(1)
+ ;;
tests = std.htgetv(b.deps.targs, "test", [][:])
-
ok = true
failed = [][:]
for t in tests