summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-11-18 12:59:26 -0800
committerOri Bernstein <ori@eigenstate.org>2017-11-18 12:59:26 -0800
commitc9eeeaaa1c2fcef9e41cbb2c900e3c61fec5882c (patch)
tree724c4ea94a21ba87ee66566328b4ec7a7d48ff10 /test
parentece21cac74e30ff4c2f1265e11d642d136d8b287 (diff)
downloadmc-c9eeeaaa1c2fcef9e41cbb2c900e3c61fec5882c.tar.gz
Point mbld to the right libraries for running tests.
Thanks to https://github.com/Earnestly
Diffstat (limited to 'test')
-rwxr-xr-xtest/runtest.rc2
-rwxr-xr-xtest/runtest.sh3
2 files changed, 2 insertions, 3 deletions
diff --git a/test/runtest.rc b/test/runtest.rc
index 6a57d8a..111c248 100755
--- a/test/runtest.rc
+++ b/test/runtest.rc
@@ -5,7 +5,7 @@ MYR_MC=../6/6.out
MYR_MUSE=../muse/6.out
fn build {
rm -f $1 $1^.6 $1^.use
- ../obj/mbld/mbld -o '' -b $1 -I../lib/std -I../lib/sys -r../rt/_myrrt.6 $1^.myr
+ ../obj/mbld/mbld -Bnone -o '' -b $1 -I../obj/lib/std -I../obj/lib/sys -I../obj/lib/regex -r../rt/_myrrt.6 $1^.myr
}
fn pass {
diff --git a/test/runtest.sh b/test/runtest.sh
index 020fdef..7133f43 100755
--- a/test/runtest.sh
+++ b/test/runtest.sh
@@ -9,8 +9,7 @@ NPASSES=0
build() {
rm -f $1 $1.o $1.s $1.use
- echo ../obj/mbld/mbld -o '' -b $1 -I../lib/std -I../lib/sys -r../rt/_myrrt.o $1.myr
- ../obj/mbld/mbld -o '' -b $1 -I../lib/std -I../lib/sys -r../rt/_myrrt.o $1.myr
+ ../obj/mbld/mbld -Bnone -o '' -b $1 -I../obj/lib/std -I../obj/lib/sys -I../obj/lib/regex -r../rt/_myrrt.o $1.myr
}
pass() {