diff options
author | Alex AUVOLAT <alex.auvolat@ens.fr> | 2013-12-26 21:53:50 +0100 |
---|---|---|
committer | Alex AUVOLAT <alex.auvolat@ens.fr> | 2013-12-26 21:53:50 +0100 |
commit | b5b6163332977297617990863564659d49d3e086 (patch) | |
tree | 343b68771afbac1fde37c11b4454bd8b8158e273 /src/test.sh | |
parent | 62d931b6b52bbb952a2c280823dcc8bb5bd591bd (diff) | |
download | LPC-Projet-b5b6163332977297617990863564659d49d3e086.tar.gz LPC-Projet-b5b6163332977297617990863564659d49d3e086.zip |
Fuck yeah all tests pass.
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 |