]> granicus.if.org Git - graphviz/commitdiff
Replace direct test script execution with pytest
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sun, 19 Apr 2020 18:54:54 +0000 (20:54 +0200)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Wed, 22 Apr 2020 04:33:41 +0000 (06:33 +0200)
ci/test.sh

index 613b146e572a38685519fee98cb1337098204dda..8a8c1e0f0443db1f069c2db8b4b79bc3b625e822 100755 (executable)
@@ -25,5 +25,8 @@ else
         ${DIR}/os/${ARCH}/graphviz-nox-${GV_VERSION}*.rpm
 fi
 cd graphviz-${GV_VERSION}
-tests/regression_tests/installation/check_installation.sh
-tests/regression_tests/shapes/shapes.sh
+if command -v python3; then
+    python3 -m pytest --junitxml=report.xml tests
+else
+    python2 -m pytest --junitxml=report.xml tests
+fi