summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-09-10 21:14:53 -0700
committerOri Bernstein <ori@eigenstate.org>2016-09-10 21:14:53 -0700
commit01cc3d9ca848f41740eff61c88df70cf7fd9a1cf (patch)
treeacc0b4fd6a2a4fa55e04a1f58a4de3580d36247c /test
parent2fdd2d8f45a906693613df15db38eafcccf68fca (diff)
downloadmc-01cc3d9ca848f41740eff61c88df70cf7fd9a1cf.tar.gz
We have `mbld test`. Use it, and update runtest.rc to match.
Diffstat (limited to 'test')
-rwxr-xr-xtest/runtest.rc13
1 files changed, 0 insertions, 13 deletions
diff --git a/test/runtest.rc b/test/runtest.rc
index 1425524..df849b1 100755
--- a/test/runtest.rc
+++ b/test/runtest.rc
@@ -1,23 +1,15 @@
#!/bin/rc
-passed=''
-failed=''
-npassed=0
-nfailed=0
-
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
}
fn pass {
- passed=$passed ^ ' ' ^ $1
echo '!}>> ok'
}
fn fail {
- echo FAIL: $1
- failed=$failed ^ ' ' ^ $1
echo '!}>> fail '
}
@@ -91,10 +83,5 @@ echo 'MTEST ' `{grep '^[BF]' tests | wc -l}
. tests
-echo PASSED ^ ' ' ^ $passed
-if(~ $failed '')
- echo SUCCESS
-if not
- echo FAILURES ^ ' ' ^ $failed