Prefix bytecode filenames with $srcdir so the tests work in VPATH builds.
This commit is contained in:
parent
b28d7ba804
commit
862302590c
3 changed files with 10 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue