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

This commit is contained in:
Alexandre Duret-Lutz 2008-06-12 17:23:22 +02:00
parent b28d7ba804
commit 862302590c
3 changed files with 10 additions and 5 deletions

View file

@ -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