summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-09-10 21:30:45 -0700
committerOri Bernstein <ori@eigenstate.org>2016-09-10 21:30:45 -0700
commitb3124cebe026211ed88adc1dc1d7f09f74f45d35 (patch)
tree430acba7d7beaebaa91390987faafe09dafa94bd /test
parent01cc3d9ca848f41740eff61c88df70cf7fd9a1cf (diff)
downloadmc-b3124cebe026211ed88adc1dc1d7f09f74f45d35.tar.gz
Finish fixing rc test runner.
Diffstat (limited to 'test')
-rwxr-xr-xtest/runtest.rc8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/runtest.rc b/test/runtest.rc
index df849b1..064f03f 100755
--- a/test/runtest.rc
+++ b/test/runtest.rc
@@ -2,7 +2,7 @@
fn build {
rm -f $1 $1^.6 $1^.use
- ../mbld/mbld -b $1 -C../6/6.out -M../muse/6.out -I../libstd -r../rt/_myrrt.6 $1^.myr
+ ../mbld/mbld -b $1 -C../6/6.out -M../muse/6.out -I../lib/std -r../rt/_myrrt.6 $1^.myr
}
fn pass {
@@ -71,9 +71,9 @@ fn B {
}
fn F {
- echo 'test' ^ $1 '<<{!'
- @{ build $1 } > /dev/null
- if (~ $status ''/)
+ echo 'test ' ^ $1 '<<{!'
+ @{ build $1 } >[2=1]
+ if (~ $status '')
fail $1
if not
pass $1