summaryrefslogtreecommitdiff
path: root/src/test.sh
diff options
context:
space:
mode:
authorAlex AUVOLAT <alex.auvolat@ens.fr>2013-12-06 19:53:07 +0100
committerAlex AUVOLAT <alex.auvolat@ens.fr>2013-12-06 19:53:07 +0100
commit185a8ea39b1dbd795aa54b7b9c82e393a9185765 (patch)
tree8dfaece32823b8ff65c2a6acadd68c23ad6453c5 /src/test.sh
parent41149667006a5606cf142a6e73cb6748b1212045 (diff)
downloadLPC-Projet-185a8ea39b1dbd795aa54b7b9c82e393a9185765.tar.gz
LPC-Projet-185a8ea39b1dbd795aa54b7b9c82e393a9185765.zip
Corrected many bugs, improved error reporting.
Diffstat (limited to 'src/test.sh')
-rwxr-xr-xsrc/test.sh11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/test.sh b/src/test.sh
index 34a6997..525be77 100755
--- a/src/test.sh
+++ b/src/test.sh
@@ -36,7 +36,7 @@ for a in ../tests/exec/*.cpp; do
done;
echo "---"
-echo "Testing TYPING/GOOD for typing"
+echo "Testing TYPING/"
for a in ../tests/typing/good/*.cpp; do
if ./main.byte $a;
then echo "OK $a";
@@ -50,3 +50,12 @@ for a in ../tests/typing/bad/*.cpp; do
else echo "OK $a";
fi;
done;
+
+echo "---"
+echo "Testing EXEC/ only against typing"
+for a in ../tests/exec/*.cpp; do
+ if ./main.byte --type-only $a;
+ then echo "OK $a";
+ else echo "FAIL $a";
+ fi;
+done;