summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2014-12-26 00:27:59 -0800
committerOri Bernstein <ori@eigenstate.org>2014-12-26 00:27:59 -0800
commit25f2319f74103671395d0c151c550abe16928f62 (patch)
tree7ba6421cf781e12b89a379567e0e079d6b76c982 /test
parente0c639bd2eb7214fc1521c934b6033ee5b12b928 (diff)
downloadmc-25f2319f74103671395d0c151c550abe16928f62.tar.gz
More tweaks towards working tests.
Diffstat (limited to 'test')
-rw-r--r--test/runtest.rc5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/runtest.rc b/test/runtest.rc
index 0b0f8d5..1fea330 100644
--- a/test/runtest.rc
+++ b/test/runtest.rc
@@ -5,7 +5,8 @@ npassed=0
nfailed=0
fn build {
- rm -f $1 $1^.o $1^.s $1^.use
+ rm -f $1 $1^.6 $1^.s $1^.use
+ echo ../myrbuild/6.out -b $1 -C../6/6.out -M../muse/6.out -I../libstd -r../rt/_myrrt.6 $1^.myr
../myrbuild/6.out -b $1 -C../6/6.out -M../muse/6.out -I../libstd -r../rt/_myrrt.6 $1^.myr
}
@@ -20,7 +21,7 @@ fn fail {
fn expectstatus {
./$1 $3
- if(~ $status $2){
+ if(~ *$status $2){
pass $1
return
}