From: Arnaud Giersch Date: Tue, 7 Nov 2023 15:03:32 +0000 (+0100) Subject: Try to help gcovr with option --gcov-ignore-errors. X-Git-Tag: v3.35~87^2~7 X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/e972efc343c52123bdcbd195fd881ebf42379903 Try to help gcovr with option --gcov-ignore-errors. [ci-skip] --- diff --git a/tools/jenkins/Coverage.sh b/tools/jenkins/Coverage.sh index 8558631d89..0e374b0976 100755 --- a/tools/jenkins/Coverage.sh +++ b/tools/jenkins/Coverage.sh @@ -87,7 +87,7 @@ if [ -f Testing/TAG ] ; then /usr/bin/python3-coverage xml -i -o ./python_coverage.xml #convert all gcov reports to xml cobertura reports - gcovr -r "$WORKSPACE" --xml-pretty -e "$WORKSPACE"/teshsuite -e MBI -e "$WORKSPACE"/examples/smpi/NAS -e "$WORKSPACE"/examples/smpi/mc -u -o xml_coverage.xml --gcov-ignore-parse-errors + gcovr -r "$WORKSPACE" --xml-pretty -e "$WORKSPACE"/teshsuite -e MBI -e "$WORKSPACE"/examples/smpi/NAS -e "$WORKSPACE"/examples/smpi/mc -u -o xml_coverage.xml --gcov-ignore-parse-errors all --gcov-ignore-errors all cd "$WORKSPACE" xsltproc "$WORKSPACE"/tools/jenkins/ctest2junit.xsl build/Testing/"$( head -n 1 < build/Testing/TAG )"/Test.xml > CTestResults_memcheck.xml