summaryrefslogtreecommitdiff
path: root/mbld
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-01-13 20:16:48 -0500
committerOri Bernstein <ori@eigenstate.org>2016-01-13 20:16:48 -0500
commit0d9ee65ef4fbb4f196a19bec0a4359a391900f04 (patch)
tree50de8bd173bf4080583a3041a0d0ad88893c2622 /mbld
parentdf39695ef7997e8cfb4bb3e00976c4689edb15f5 (diff)
downloadmc-0d9ee65ef4fbb4f196a19bec0a4359a391900f04.tar.gz
Don't run tests if test/ doesn't exist in the root
Why were we even checking for this?
Diffstat (limited to 'mbld')
-rw-r--r--mbld/test.myr22
1 files changed, 10 insertions, 12 deletions
diff --git a/mbld/test.myr b/mbld/test.myr
index eedd2a8..c612e79 100644
--- a/mbld/test.myr
+++ b/mbld/test.myr
@@ -23,18 +23,16 @@ const test = {b
tests = [][:]
buildall(b)
setdir(b, "")
- if std.fexists("test")
- for tn in b.all
- match gettarg(b.targs, tn)
- | `Bin bt:
- tests = std.sljoin(tests, buildtests(b, bt))
- | `Lib lt:
- tests = std.sljoin(tests, buildtests(b, lt))
- | _:
- /* nothing */
- ;;
- ;;
- ;;
+ for tn in b.all
+ match gettarg(b.targs, tn)
+ | `Bin bt:
+ tests = std.sljoin(tests, buildtests(b, bt))
+ | `Lib lt:
+ tests = std.sljoin(tests, buildtests(b, lt))
+ | _:
+ /* nothing */
+ ;;
+ ;;
for tn in b.all
match gettarg(b.targs, tn)
| `Bin t: