diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2016-03-27 19:13:34 -0400 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2016-03-27 19:13:34 -0400 |
commit | 205221226f750700f4a0adc077c94d1185f8dd89 (patch) | |
tree | 68189b96fca78838ce707468a2655d27f46734f4 /test/go.sh | |
parent | 3406a5fb2f64dc94a5fff4cb61b4c9a48a551b49 (diff) | |
download | roux-205221226f750700f4a0adc077c94d1185f8dd89.tar.gz |
move check rule into src/
Diffstat (limited to 'test/go.sh')
-rwxr-xr-x | test/go.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/go.sh b/test/go.sh index 7bc795f..3f57aaa 100755 --- a/test/go.sh +++ b/test/go.sh @@ -1,6 +1,7 @@ #!/bin/sh -QBE=`readlink -f $0 | xargs dirname`/../src/qbe +DIR=`readlink -f $0 | xargs dirname` +QBE=$DIR/../src/qbe TMP=/tmp/qbe.zzzz @@ -41,7 +42,7 @@ once() { exit 1 fi - echo "$T... " + echo "$(basename $T)..." if ! $QBE -o $ASM $T then @@ -97,7 +98,7 @@ fi case $1 in "all") F=0 - for T in test/[!_]*.ssa + for T in $DIR/[!_]*.ssa do once $T F=`expr $F + $?` |