test/coverage: combine unit + pts coverage

This commit is contained in:
Matthias Ringwald 2020-08-29 22:36:45 +02:00
parent 7faa11e2dd
commit 3e3563aee9

View File

@ -71,12 +71,11 @@ test-coverage:
lcov --capture --rc lcov_branch_coverage=1 --directory . --exclude "/Applications/*" --exclude "/Library/*" --exclude "/usr/*" --exclude "*/test/*" --output-file coverage-unit.info
coverage: test-coverage
# download pts coverage
curl -O http://bluekitchen-gmbh.com/btstack/develop/coverage-pts.info
# TODO: download pts coverage
# ...
# combine unit and pts
# lcov --rc lcov_branch_coverage=1 -a coverage-pts.info -a coverage-unit.info --output-file coverage.info
cp coverage-unit.info coverage.info
lcov --rc lcov_branch_coverage=1 -a coverage-pts.info -a coverage-unit.info --output-file coverage.info
# create bat subset
./coverage_subset_bat.py coverage.info coverage-bat.info