From e972efc343c52123bdcbd195fd881ebf42379903 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Tue, 7 Nov 2023 16:03:32 +0100 Subject: [PATCH] Try to help gcovr with option --gcov-ignore-errors. [ci-skip] --- tools/jenkins/Coverage.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1