ref: 0d9ee65ef4fbb4f196a19bec0a4359a391900f04
parent: df39695ef7997e8cfb4bb3e00976c4689edb15f5
author: Ori Bernstein <ori@eigenstate.org>
date: Wed Jan 13 15:16:48 EST 2016
Don't run tests if test/ doesn't exist in the root Why were we even checking for this?
--- a/mbld/test.myr
+++ b/mbld/test.myr
@@ -23,18 +23,16 @@
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: