Page MenuHomePhabricator

lcov: filter depends from coverage report
ClosedPublic

Authored by Fabien on Feb 17 2020, 16:59.

Details

Summary
If you build the binaries with the depends folder and then generate
coverage reports with make cov, depends will be included in the coverage
reports. Coverage of the dependencies are not that interesting and
should be filtered.

Backport of core PR17647.

Depends on D5301.

Test Plan
../configure --prefix=$PWD/../depends/x86_64-linux-gnu --enable-lcov
make
make cov

Check there is no depends/ subdir under total.coverage.

Diff Detail

Repository
rABC Bitcoin ABC
Branch
PR17647
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 9522
Build 16956: Default Diff Build & Tests
Build 16955: arc lint + arc unit