mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-02 07:20:16 +00:00
test/coverage: combine unit + pts coverage
This commit is contained in:
parent
7faa11e2dd
commit
3e3563aee9
@ -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
|
lcov --capture --rc lcov_branch_coverage=1 --directory . --exclude "/Applications/*" --exclude "/Library/*" --exclude "/usr/*" --exclude "*/test/*" --output-file coverage-unit.info
|
||||||
|
|
||||||
coverage: test-coverage
|
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
|
# combine unit and pts
|
||||||
# lcov --rc lcov_branch_coverage=1 -a coverage-pts.info -a coverage-unit.info --output-file coverage.info
|
lcov --rc lcov_branch_coverage=1 -a coverage-pts.info -a coverage-unit.info --output-file coverage.info
|
||||||
cp coverage-unit.info coverage.info
|
|
||||||
|
|
||||||
# create bat subset
|
# create bat subset
|
||||||
./coverage_subset_bat.py coverage.info coverage-bat.info
|
./coverage_subset_bat.py coverage.info coverage-bat.info
|
||||||
|
Loading…
x
Reference in New Issue
Block a user