]> granicus.if.org Git - graphviz/commitdiff
Use test code and data from git repo in CI
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Mon, 1 Jun 2020 04:52:53 +0000 (06:52 +0200)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Tue, 2 Jun 2020 21:56:53 +0000 (23:56 +0200)
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.

ci/test.sh

index 44042209b133283189153a81f8b58f60ff49fc1a..14b6cdc1ab4eace59c63271e62713e208f28bb7f 100755 (executable)
@@ -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