Commit 86230259 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

Prefix bytecode filenames with $srcdir so the tests work in VPATH builds.

parent b28d7ba8
2008-06-12 Alexandre Duret-Lutz <adl@lrde.epita.fr>
* iface/nips/nipstest/dotty.test,
iface/nips/nipstest/emptiness.test: Prefix bytecode filenames
with $srcdir so the tests work in VPATH builds.
2008-06-12 Alexandre Duret-Lutz <adl@lrde.epita.fr>
* wrap/python/spot.i: Adjust includes after the previous patch.
......
......@@ -4,10 +4,9 @@
set -e
BYTECODE="never.pr.b regbit.b"
for bytecode in $BYTECODE; do
run 0 ${top_builddir}/dottynips ${bytecode} > dotty || exit 1
${DOT} -Tps dotty > /dev/null || exit 1
run 0 "$top_builddir/dottynips" "$srcdir/$bytecode" > dotty || exit 1
"$DOT" -Tps dotty > /dev/null || exit 1
rm -f dotty
done
......@@ -10,7 +10,7 @@ ALGO="Cou99 CVWY90 GV04 SE05 Tau03 Tau03"
BYTECODE="dinner.pr.nips.b never.pr.b"
for algo in $ALGO; do
for bytecode in $BYTECODE; do
run 0 ${top_builddir}/empt_check -c -e${algo} ${bytecode} |
run 0 "$top_builddir/empt_check" -c -e$algo "$srcdir/$bytecode" |
grep '^non empty$' > /dev/null || exit 1
done
done
......@@ -19,7 +19,7 @@ done
BYTECODE="peterson.pm.b"
for algo in $ALGO; do
for bytecode in $BYTECODE; do
run 0 ${top_builddir}/empt_check -c -e${algo} ${bytecode} |
run 0 "$top_builddir/empt_check" -c -e$algo "$srcdir/$bytecode" |
grep '^empty$' > /dev/null || exit 1
done
done
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment