diff options
Diffstat (limited to 'src/test.sh')
-rwxr-xr-x | src/test.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test.sh b/src/test.sh index 4f84fd4..eaec94a 100755 --- a/src/test.sh +++ b/src/test.sh @@ -65,8 +65,8 @@ echo "Testing EXEC/" for a in ../tests/exec/*.cpp; do if ./minic++ $a; then - spim -f ../tests/exec/`basename -s .cpp $a`.s | tail -n +6 > /tmp/spim_out.txt - if diff /tmp/spim_out.txt ../tests/exec/`basename -s .cpp $a`.out > /dev/null + mars-mips nc se1 ../tests/exec/`basename -s .cpp $a`.s > /tmp/mips_out.txt + if diff -B /tmp/mips_out.txt ../tests/exec/`basename -s .cpp $a`.out > /dev/null then echo "OK $a" else echo "FAIL $a" fi |