buildtools/gcc/isl/flow_test.sh.in
Niels Sascha Reedijk 92b3138b83 Import GCC 13.1.0 and dependencies
Updated dependencies:
 * GMP 6.2.1
 * ISL 0.24
 * MPL 1.2.1
 * MPFR 4.1.0

The dependencies were pulled in by running the ./contrib/download_prerequisites script and then
manually removing the symbolic links and archives, and renaming the directories (i.e mv isl-0.24 to isl)
2023-06-18 01:43:18 +01: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