From cdc464d57821ef3061f485b37c60dee8ee9af021 Mon Sep 17 00:00:00 2001 From: Alex AUVOLAT Date: Thu, 5 Dec 2013 22:52:11 +0100 Subject: Meilleur gestion des erreurs. --- src/test.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src/test.sh') diff --git a/src/test.sh b/src/test.sh index 603b404..34a6997 100755 --- a/src/test.sh +++ b/src/test.sh @@ -34,3 +34,19 @@ for a in ../tests/exec/*.cpp; do else echo "FAIL $a"; fi; done; + +echo "---" +echo "Testing TYPING/GOOD for typing" +for a in ../tests/typing/good/*.cpp; do + if ./main.byte $a; + then echo "OK $a"; + else echo "FAIL $a"; + fi; +done; + +for a in ../tests/typing/bad/*.cpp; do + if ./main.byte $a 2> /dev/null; + then echo "FAIL $a"; + else echo "OK $a"; + fi; +done; -- cgit v1.2.3