From 9bdde3c802e1512cbcd8ae8f7db72b6fe13ea829 Mon Sep 17 00:00:00 2001 From: eugene Date: Wed, 2 Sep 2020 14:59:13 -0400 Subject: [PATCH] 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. --- Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.am b/Makefile.am index 1d6358b1d51..8cdd3ff647b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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/" \