mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-21 21:36:21 +01:00
Enable branch coverage in basic_build_test.sh
Enable branch coverage output in basic_build_test.sh. This includes enabling branch coverage output to the lcov make target, which is disabled by default. Signed-off-by: Dan Handley <dan.handley@arm.com>
This commit is contained in:
parent
49d3dd0afc
commit
8cb1981acd
2 changed files with 14 additions and 9 deletions
8
Makefile
8
Makefile
|
|
@ -106,11 +106,11 @@ covtest:
|
|||
lcov:
|
||||
rm -rf Coverage
|
||||
lcov --capture --initial --directory library -o files.info
|
||||
lcov --capture --directory library -o tests.info
|
||||
lcov --add-tracefile files.info --add-tracefile tests.info -o all.info
|
||||
lcov --remove all.info -o final.info '*.h'
|
||||
lcov --rc lcov_branch_coverage=1 --capture --directory library -o tests.info
|
||||
lcov --rc lcov_branch_coverage=1 --add-tracefile files.info --add-tracefile tests.info -o all.info
|
||||
lcov --rc lcov_branch_coverage=1 --remove all.info -o final.info '*.h'
|
||||
gendesc tests/Descriptions.txt -o descriptions
|
||||
genhtml --title "mbed TLS" --description-file descriptions --keep-descriptions --legend --no-branch-coverage -o Coverage final.info
|
||||
genhtml --title "mbed TLS" --description-file descriptions --keep-descriptions --legend --branch-coverage -o Coverage final.info
|
||||
rm -f files.info tests.info all.info final.info descriptions
|
||||
|
||||
apidoc:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue