isl_morph_print_internal: avoid use of isl_basic_set_print
[isl.git] / codegen_test.sh.in
blob36a1815b7627f0b465f3142a42cf0324f3b1d47c
1 #!/bin/sh
3 EXEEXT=@EXEEXT@
4 srcdir=@srcdir@
6 failed=0
8 for i in $srcdir/test_inputs/codegen/*.in \
9 $srcdir/test_inputs/codegen/cloog/*.in \
10 $srcdir/test_inputs/codegen/omega/*.in \
11 $srcdir/test_inputs/codegen/pldi2012/*.in; do
12 echo $i;
13 base=`basename $i .in`
14 test=test-$base.c
15 dir=`dirname $i`
16 ref=$dir/$base.c
17 (./isl_codegen$EXEEXT < $i > $test &&
18 diff -uw $ref $test && rm $test) || failed=1
19 done
21 test $failed -eq 0 || exit