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
Lint
Lint Not Applicable
Unit
Tests Not Applicable