Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lcov: filter /usr/lib/ from coverage reports #14281

Merged
merged 1 commit into from Sep 25, 2018

Conversation

Projects
None yet
5 participants
@MarcoFalke
Copy link
Member

commented Sep 20, 2018

This folder was included for me on ubuntu trusty and bionic when creating coverage reports.

Can be tested by passing --enable-lcov +optional --enable-lcov-branch-coverage to ./configure

Then make -j 4 && make cov, which will generate the report in html.

See https://github.com/bitcoin/bitcoin/blob/master/doc/developer-notes.md#compiling-for-test-coverage

@laanwj

This comment has been minimized.

Copy link
Member

commented Sep 23, 2018

utACK fa6b30c

@ken2812221

This comment has been minimized.

Copy link
Member

commented Sep 25, 2018

utACK fa6b30c

1 similar comment
@fanquake

This comment has been minimized.

Copy link
Member

commented Sep 25, 2018

utACK fa6b30c

@achow101

This comment has been minimized.

Copy link
Member

commented Sep 25, 2018

utACK fa6b30c

@MarcoFalke MarcoFalke merged commit fa6b30c into bitcoin:master Sep 25, 2018

2 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

MarcoFalke added a commit that referenced this pull request Sep 25, 2018

Merge #14281: lcov: filter /usr/lib/ from coverage reports
fa6b30c lcov: filter /usr/lib/ from coverage reports (MarcoFalke)

Pull request description:

  This folder was included for me on ubuntu trusty and bionic when creating coverage reports.

  Can be tested by passing `--enable-lcov` +optional `--enable-lcov-branch-coverage` to `./configure`

  Then `make -j 4 && make cov`, which will generate the report in html.

  See https://github.com/bitcoin/bitcoin/blob/master/doc/developer-notes.md#compiling-for-test-coverage

Tree-SHA512: 722deda8bca0d6d63e10dd55848ab72318d5cdbd56ab7ea19a1d1ca7285989bd3f0ccc72c3001aad326e1ce5b008e0a183bb5f05f2225d80ec68377c9434293a

@MarcoFalke MarcoFalke deleted the MarcoFalke:Mf1809-buildLcovNoLib branch Sep 25, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.