mirror of
https://review.haiku-os.org/buildtools
synced 2024-11-23 07:18:49 +01:00
e7f96e19a4
gcc currently requires 0.15 or later for graphite
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
|