From: Magnus Jacobsson Date: Mon, 1 Jun 2020 04:52:53 +0000 (+0200) Subject: Use test code and data from git repo in CI X-Git-Tag: 2.44.1~19^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8b51a82287fe23a282e2933ffe321c200ddf797e;p=graphviz Use test code and data from git repo in CI 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. --- diff --git a/ci/test.sh b/ci/test.sh index 44042209b..14b6cdc1a 100755 --- a/ci/test.sh +++ b/ci/test.sh @@ -12,7 +12,6 @@ else 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 @@ -29,7 +28,6 @@ else ${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