buildtools/gcc/isl/flow_test.sh.in
Fredrik Holmqvist e7f96e19a4 Upgrade isl to version 0.19
gcc currently requires 0.15 or later for graphite
2018-07-04 20:20:56 +02:00

19 lines
320 B
Bash

#!/bin/sh
EXEEXT=@EXEEXT@
srcdir=@srcdir@
failed=0
for i in $srcdir/test_inputs/flow/*.ai; do
echo $i;
base=`basename $i .ai`
test=test-$base.flow
dir=`dirname $i`
ref=$dir/$base.flow
(./isl_flow$EXEEXT < $i > $test &&
./isl_flow_cmp$EXEEXT $ref $test && rm $test) || failed=1
done
test $failed -eq 0 || exit