From: Magnus Jacobsson Date: Sun, 19 Apr 2020 18:54:54 +0000 (+0200) Subject: Replace direct test script execution with pytest X-Git-Tag: 2.44.1~76^2~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=792272bdeec3daf9d6063495824a039496640166;p=graphviz Replace direct test script execution with pytest --- diff --git a/ci/test.sh b/ci/test.sh index 613b146e5..8a8c1e0f0 100755 --- a/ci/test.sh +++ b/ci/test.sh @@ -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