From: Augustin Degomme <26892-adegomme@users.noreply.framagit.org> Date: Wed, 10 Aug 2022 20:56:52 +0000 (+0000) Subject: [ci-skip] try to help gcovr find files (it needs to be run in the same dir as gcc) X-Git-Tag: v3.32~59 X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/c14151ed9615b91eac7c82f551b8a5b5e27dea1e [ci-skip] try to help gcovr find files (it needs to be run in the same dir as gcc) --- diff --git a/tools/jenkins/Coverage.sh b/tools/jenkins/Coverage.sh index 91c891575d..0fcfc59f00 100755 --- a/tools/jenkins/Coverage.sh +++ b/tools/jenkins/Coverage.sh @@ -108,9 +108,10 @@ if [ -f Testing/TAG ] ; then /usr/bin/python3-coverage combine /usr/bin/python3-coverage xml -i -o ./python_coverage.xml - cd "$WORKSPACE" #convert all gcov reports to xml cobertura reports - gcovr -r . --xml-pretty -e teshsuite -e build/MBI -e examples/smpi/NAS -e examples/smpi/mc -u -o "$BUILDFOLDER"/xml_coverage.xml + gcovr -r . --xml-pretty -e "$WORKSPACE"/teshsuite -e MBI -e "$WORKSPACE"/examples/smpi/NAS -e "$WORKSPACE"/examples/smpi/mc -u -o xml_coverage.xml + + cd "$WORKSPACE" xsltproc "$WORKSPACE"/tools/jenkins/ctest2junit.xsl build/Testing/"$( head -n 1 < build/Testing/TAG )"/Test.xml > CTestResults_memcheck.xml #generate sloccount report