isl_val_is_pos: use isl_bool_ok
[isl.git] / flow_test.sh.in
blobfa9177c0ba6a896ee30e84873db3be7f514e1fc6
1 #!/bin/sh
3 EXEEXT=@EXEEXT@
4 srcdir=@srcdir@
6 failed=0
8 for i in $srcdir/test_inputs/flow/*.ai; do
9 echo $i;
10 base=`basename $i .ai`
11 test=test-$base.flow
12 dir=`dirname $i`
13 ref=$dir/$base.flow
14 (./isl_flow$EXEEXT < $i > $test &&
15 ./isl_flow_cmp$EXEEXT $ref $test && rm $test) || failed=1
16 done
18 test $failed -eq 0 || exit