Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
[coverage] Remove subtrees and benchmarks from coverage report #10565
+71
−29
Conversation
fanquake
added the
Docs and Output
label
Jun 9, 2017
|
Perhaps remove all the subtrees... including src/crypto/ctaes and src/secp256k1? |
achow101
changed the title from
[coverage] Remove leveldb, univalue, and benchmarks from coverage report to [coverage] Remove subtrees and benchmarks from coverage report
Jun 9, 2017
|
Removed ctaes and secp256k1 too. |
| + for p in pattern: | ||
| + if line.startswith("SF:") and p in line: | ||
| + in_remove = True | ||
| + if not in_remove: |
sipa
Jun 9, 2017
Owner
This line should probably not be inside the for p in pattern: loop, as it may result in multiple writes of the same input line.
|
Concept ACK |
| @@ -171,44 +171,32 @@ baseline.info: | ||
| $(LCOV) -c -i -d $(abs_builddir)/src -o $@ | ||
| baseline_filtered.info: baseline.info | ||
| - $(abs_builddir)/contrib/filter-lcov.py "/usr/include/" $< $@ | ||
| + $(abs_builddir)/contrib/filter-lcov.py -p "/usr/include/" -p "src/leveldb/" -p "src/bench/" -p "src/univalue" -p "src/crypto/ctaes" -p "src/secp256k1" $< $@ |
sipa
Jun 12, 2017
Owner
Perhaps abstract out the list of things to filter into a variable, as it's used more than once?
|
Tested ACK d5711f4 |
achow101
referenced
this pull request
Jun 20, 2017
Closed
[Tests] Include branch coverage info in coverage test #10511
laanwj
merged commit d5711f4
into bitcoin:master
Jun 22, 2017
1 check passed
continuous-integration/travis-ci/pr
The Travis CI build passed
Details
laanwj
added a commit
that referenced
this pull request
Jun 22, 2017
|
|
laanwj |
8c2098a
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
achow101 commentedJun 9, 2017
Removes stats about leveldb, univalue, and benchmark coverage from the coverage reports. Since we don't test these three items specifically and thus don't care about test coverage for these items.
This builds on top of #10511 to use the faster
lcov -rreplacement.