Skip to content

Commit 9bdde3c

Browse files
committed
build: add /usr/local/ to LCOV_FILTER_PATTERN for macOS builds
With this commit, the files in /usr/local/ will not be included in `make cov` or `make cov_fuzz` coverage reports. This behavior could be observed when generating the reports on macOS with brew-installed clang.
1 parent c157a50 commit 9bdde3c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile.am

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ $(BITCOIN_WALLET_BIN): FORCE
181181

182182
if USE_LCOV
183183
LCOV_FILTER_PATTERN = \
184+
-p "/usr/local/" \
184185
-p "/usr/include/" \
185186
-p "/usr/lib/" \
186187
-p "/usr/lib64/" \

0 commit comments

Comments
 (0)