Skip to content

Commit 219892a

Browse files
committed
Enable gcovr --exclude-unreachable-branches and --exclude-throw-branches flags
1 parent 02dab7f commit 219892a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build/Makefile.gcov

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ gcovr-html:
5656
@echo "Generating gcovr HTML"
5757
@rm -rf gcovr_html/
5858
@mkdir gcovr_html
59-
gcovr -sr . -o gcovr_html/index.html --html --html-details \
59+
gcovr -sr . -o gcovr_html/index.html --html --html-details --exclude-unreachable-branches --exclude-throw-branches \
6060
$(foreach pattern, $(GCOVR_EXCLUDE_LINES_BY_PATTERNS), --exclude-lines-by-pattern $(pattern)) \
6161
$(foreach lib, $(GCOVR_EXCLUDES), -e $(lib))
6262

0 commit comments

Comments
 (0)