test/coverage: provide lcovrc

This commit is contained in:
Matthias Ringwald 2020-09-23 17:11:31 +02:00
parent 7bbbec6baf
commit d6f5473f06
2 changed files with 8 additions and 5 deletions

View File

@ -120,8 +120,8 @@ coverage: test-coverage test-coverage-ble
./coverage_subset_bat.py coverage-pts.info coverage-pts-bat.info
# generate html output
genhtml coverage-unit.info --branch-coverage --demangle-cpp --output-directory coverage-unit
genhtml coverage-unit-bat.info --branch-coverage --demangle-cpp --output-directory coverage-unit-bat
genhtml coverage-bat.info --branch-coverage --demangle-cpp --output-directory coverage-bat
genhtml coverage.info --branch-coverage --demangle-cpp --output-directory coverage
genhtml coverage-pts-bat.info --branch-coverage --demangle-cpp --output-directory coverage-pts-bat
genhtml coverage-unit.info --branch-coverage --demangle-cpp --config-file lcovrc --output-directory coverage-unit
genhtml coverage-unit-bat.info --branch-coverage --demangle-cpp --config-file lcovrc --output-directory coverage-unit-bat
genhtml coverage-bat.info --branch-coverage --demangle-cpp --config-file lcovrc --output-directory coverage-bat
genhtml coverage.info --branch-coverage --demangle-cpp --config-file lcovrc --output-directory coverage
genhtml coverage-pts-bat.info --branch-coverage --demangle-cpp --config-file lcovrc --output-directory coverage-pts-bat

3
test/lcovrc Normal file
View File

@ -0,0 +1,3 @@
# Coverage rate limits
genhtml_med_limit = 50
genhtml_hi_limit = 80