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.
This commit is contained in:
eugene 2020-09-02 14:59:13 -04:00
parent c157a50694
commit 9bdde3c802
1 changed files with 1 additions and 0 deletions

View File

@ -181,6 +181,7 @@ $(BITCOIN_WALLET_BIN): FORCE
if USE_LCOV
LCOV_FILTER_PATTERN = \
-p "/usr/local/" \
-p "/usr/include/" \
-p "/usr/lib/" \
-p "/usr/lib64/" \