If some change to isl changes the code generation output, we usually
want to see all such changes together.
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
EXEEXT=@EXEEXT@
srcdir=@srcdir@
+failed=0
+
for i in $srcdir/test_inputs/codegen/*.in \
$srcdir/test_inputs/codegen/cloog/*.in \
$srcdir/test_inputs/codegen/omega/*.in \
test=test-`basename $i .in`.c
ref=${i%.in}.c
(./isl_codegen$EXEEXT < $i > $test &&
- diff -uw $ref $test && rm $test) || exit
+ diff -uw $ref $test && rm $test) || failed=1
done
+
+test $failed -eq 0 || exit