mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-23 19:20:51 +00:00
test/auto-pts: collect coverage for auto-pts run
This commit is contained in:
parent
b1a1a9bd36
commit
7faa11e2dd
6
test/.gitignore
vendored
6
test/.gitignore
vendored
@ -1,4 +1,8 @@
|
||||
*.gcda
|
||||
*.gcno
|
||||
coverage.info
|
||||
coverage*.info
|
||||
coverage
|
||||
coverage-html
|
||||
coverage-bat
|
||||
coverage-unit
|
||||
coverage-pts
|
9
test/auto-pts/coverage.sh
Executable file
9
test/auto-pts/coverage.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
# collect traces from auto-pts run
|
||||
lcov --capture --rc lcov_branch_coverage=1 --directory . --exclude "/Applications/*" --exclude "/Library/*" --exclude "/usr/*" --exclude "*/test/*" --output-file coverage-pts.info
|
||||
|
||||
# optional: download unit tests, merge and filter results like in ../Makefile
|
||||
|
||||
# generate html output
|
||||
genhtml coverage-pts.info --branch-coverage --output-directory coverage-pts
|
Loading…
x
Reference in New Issue
Block a user