Skip to content

Commit 57589c2

Browse files
committed
Add '--ignore-errors unused' flag
Note: "(use "lcov --ignore-errors unused ..." to bypass this error)"
1 parent 5e994cc commit 57589c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coverage.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ coverage-initial: clean-coverage
1414
.PHONY: coverage-capture
1515
coverage-capture:
1616
@$(LCOV) --no-checksum -d . -c --compat-libtool -o $(LCOV_REPORT)
17-
@$(LCOV) -r $(LCOV_REPORT) "/usr*" -r $(LCOV_REPORT) "${HOME}/.phpenv/*" --compat-libtool -o $(LCOV_REPORT)
17+
@$(LCOV) --ignore-errors unused -r $(LCOV_REPORT) "/usr*" -r $(LCOV_REPORT) "${HOME}/.phpenv/*" --compat-libtool -o $(LCOV_REPORT)
1818

1919
.PHONY: coverage-html
2020
coverage-html: coverage-capture

0 commit comments

Comments
 (0)