test: add coverage-freertos-ble target

This commit is contained in:
Matthias Ringwald 2019-09-23 16:15:22 +02:00
parent 2ebe1e78b8
commit 07d7e39291
2 changed files with 4 additions and 1 deletions

View File

@ -70,3 +70,6 @@ coverage:
lcov --capture --rc lcov_branch_coverage=1 --directory . --exclude "/Applications/*" --exclude "/Library/*" --exclude "/usr/*" --exclude "*/3rd-party/tinydir/*" --exclude "*/platform/posix/*" --exclude "*/test/*" --output-file coverage.info
# generate html output
genhtml coverage.info --branch-coverage --output-directory coverage-html
coverage-freertos-ble:
./coverage_filter.py src/mesh src/classic

View File

@ -33,7 +33,7 @@ def list_category_table():
filter = sys.argv[1:]
print("Parsing HTML Coverage Report")
print("\nParsing HTML Coverage Report")
tree = html.parse(coverage_html_path)
files = tree.xpath("//td[@class='coverFile']")