File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 168168
169169if [ ! " $skipgcovroption " = " yes" ]; then
170170
171- GCOVRFILTER=" .*/$REPONAME /.*"
171+ GCOVRFILTER1=" */boost/$SELF /*"
172+ GCOVRFILTER2=" */$SELF /src/*"
172173 if [ -d " gcovr" ]; then
173174 rm -r gcovr
174175 fi
@@ -185,7 +186,7 @@ if [ ! "$skipgcovroption" = "yes" ]; then
185186 outputlocation=" $BOOST_CI_SRC_FOLDER /gcovr"
186187
187188 # First pass, output json
188- gcovr " ${GCOVR_EXTRA_OPTIONS[@]} " --merge-mode-functions separate --sort uncovered-percent --html-title " $REPONAME " --merge-lines --exclude-unreachable-branches --exclude-throw-branches --exclude ' .*/test/.*' --exclude ' .*/extra/.*' --exclude ' .*/example/.*' --exclude ' .*/examples/.*' --filter " $GCOVRFILTER " --html --output " ${outputlocation} /index.html" --json-summary-pretty --json-summary " ${outputlocation} /summary.json" --json " ${outputlocation} /coverage-raw.json"
189+ gcovr " ${GCOVR_EXTRA_OPTIONS[@]} " --merge-mode-functions separate --sort uncovered-percent --html-title " $REPONAME " --merge-lines --exclude-unreachable-branches --exclude-throw-branches --exclude ' .*/test/.*' --exclude ' .*/extra/.*' --exclude ' .*/example/.*' --exclude ' .*/examples/.*' --filter " $GCOVRFILTER1 " --filter " $GCOVRFILTER2 " --html --output " ${outputlocation} /index.html" --json-summary-pretty --json-summary " ${outputlocation} /summary.json" --json " ${outputlocation} /coverage-raw.json"
189190
190191 # Fix paths
191192 python3 " ci-automation/scripts/fix_paths.py" \
You can’t perform that action at this time.
0 commit comments