Skip to content

Commit a5a705b

Browse files
committed
lcov: filter depends from coverage report
1 parent 19698ac commit a5a705b

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

Makefile.am

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ $(OSX_APP)/Contents/PkgInfo:
9999

100100
$(OSX_APP)/Contents/Resources/empty.lproj:
101101
$(MKDIR_P) $(@D)
102-
@touch $@
102+
@touch $@
103103

104104
$(OSX_APP)/Contents/Info.plist: $(OSX_PLIST)
105105
$(MKDIR_P) $(@D)
@@ -189,7 +189,15 @@ $(BITCOIN_WALLET_BIN): FORCE
189189
$(MAKE) -C src $(@F)
190190

191191
if USE_LCOV
192-
LCOV_FILTER_PATTERN=-p "/usr/include/" -p "/usr/lib/" -p "src/leveldb/" -p "src/bench/" -p "src/univalue" -p "src/crypto/ctaes" -p "src/secp256k1"
192+
LCOV_FILTER_PATTERN = \
193+
-p "/usr/include/" \
194+
-p "/usr/lib/" \
195+
-p "src/leveldb/" \
196+
-p "src/bench/" \
197+
-p "src/univalue" \
198+
-p "src/crypto/ctaes" \
199+
-p "src/secp256k1" \
200+
-p "depends"
193201

194202
baseline.info:
195203
$(LCOV) -c -i -d $(abs_builddir)/src -o $@
@@ -321,4 +329,3 @@ clean-local: clean-docs
321329
rm -rf coverage_percent.txt test_bitcoin.coverage/ total.coverage/ test/tmp/ cache/ $(OSX_APP)
322330
rm -rf test/functional/__pycache__ test/functional/test_framework/__pycache__ test/cache share/rpcauth/__pycache__
323331
rm -rf osx_volname dist/ dpi36.background.tiff dpi72.background.tiff
324-

0 commit comments

Comments
 (0)