privately expose isl_qpolynomial_fold_scale
[isl.git] / schedule_test.sh.in
blobafba802238496800706c47b80a92d378fac333ee
1 #!/bin/sh
3 EXEEXT=@EXEEXT@
4 GREP=@GREP@
5 SED=@SED@
6 srcdir=@srcdir@
8 failed=0
10 for i in $srcdir/test_inputs/schedule/*.sc; do
11 echo $i;
12 base=`basename $i .sc`
13 test=test-$base.st
14 dir=`dirname $i`
15 ref=$dir/$base.st
16 options=`$GREP 'OPTIONS:' $i | $SED 's/.*://'`
17 (./isl_schedule$EXEEXT $options < $i > $test &&
18 ./isl_schedule_cmp$EXEEXT $ref $test && rm $test) || failed=1
19 done
21 test $failed -eq 0 || exit