isl_scheduler.c: rename node_update_vmap to isl_sched_node_update_vmap
[isl.git] / schedule_test.sh.in
blob16ae02019f4e86137887d14b9acbcb1e003748a1
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 for o in --schedule-whole-component --no-schedule-whole-component; do
18 ./isl_schedule$EXEEXT $o $options < $i > $test &&
19 ./isl_schedule_cmp$EXEEXT $ref $test && rm $test
20 if [ $? -ne 0 ]; then
21 echo $o $options
22 failed=1
24 done
25 done
27 test $failed -eq 0 || exit