forked from OSchip/llvm-project
19 lines
320 B
Bash
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
|