privately export pet_expr_access_get_dependent_access
[pet.git] / pet_test.sh.in
blob4d93ca396db2e2eeeb9d9cd8b2126ef747cf9ae5
1 #!/bin/sh
3 EXEEXT=@EXEEXT@
4 srcdir=@srcdir@
6 for i in $srcdir/tests/*.c; do
7 echo $i;
8 (./pet$EXEEXT $i > test.scop &&
9 ./pet_scop_cmp$EXEEXT test.scop ${i%.c}.scop) || exit
10 done
12 for i in $srcdir/tests/autodetect/*.c; do
13 echo $i;
14 (./pet$EXEEXT --autodetect $i > test.scop &&
15 ./pet_scop_cmp$EXEEXT test.scop ${i%.c}.scop) || exit
16 done
18 for i in $srcdir/tests/encapsulate/*.c; do
19 echo $i;
20 (./pet$EXEEXT --encapsulate-dynamic-control $i > test.scop &&
21 ./pet_scop_cmp$EXEEXT test.scop ${i%.c}.scop) || exit
22 done