Before this, the test code and data from the portable source was used,
but we didn't want to add all the rtest reference files to the
portable source so this is a better solution. It also removes the need
to rebuild the portable soruce when testing local changes to the
tests during development.
fi
GV_VERSION=$( cat VERSION )
COLLECTION=$( cat COLLECTION )
-tar xfz graphviz-${GV_VERSION}.tar.gz
DIR=Packages/${COLLECTION}/${ID}/${VERSION_ID}
ARCH=$( uname -m )
if [ "${ID_LIKE}" = "debian" ]; then
${DIR}/os/${ARCH}/graphviz-plugins-gd-${GV_VERSION}*.rpm \
${DIR}/os/${ARCH}/graphviz-nox-${GV_VERSION}*.rpm
fi
-cd graphviz-${GV_VERSION}
if command -v python3; then
python=python3
else