use test scripts for performing tests
[barvinok.git] / check_euler.sh.in
blob9f6260127b6b16508994005b8f8924e7be4298ad
1 #!/bin/sh
3 EXEEXT="@EXEEXT@"
4 top_srcdir="@top_srcdir@"
6 for i in "$top_srcdir"/tests/euler/*; do
7 if test -f $i; then
8 for method in 'euler' 'laurent_old' 'laurent'; do
9 opt="--summation=$method";
10 echo $i $opt;
11 ./barvinok_summate$EXEEXT -T $opt < $i || exit;
12 done
14 done
15 for t in dull EML_p EML-product EML line square square_p square_p2 \
16 square_p3 triangle triangle2 triangle_p quasi; do
17 i="$top_srcdir"/tests/euler/$t.pwqp;
18 if test -f $i; then
19 opt="--summation=box";
20 echo $i $opt;
21 ./barvinok_summate$EXEEXT -T $opt < $i || exit;
23 done
24 for t in dull dull_p EML line square square_p square_p2 \
25 square_p3 triangle triangle2 triangle_p; do
26 i="$top_srcdir"/tests/euler/$t.pwqp;
27 if test -f $i; then
28 opt="--summation=bernoulli";
29 echo $i $opt;
30 ./barvinok_summate$EXEEXT -T $opt < $i || exit;
32 done