Gilles Peskine | 3d4ea54 | 2022-11-30 17:35:44 +0100 | [diff] [blame^] | 1 | #!/bin/sh |
| 2 | |
| 3 | rm -rf Coverage |
| 4 | lcov --capture --initial --directory library -o files.info |
| 5 | lcov --rc lcov_branch_coverage=1 --capture --directory library -o tests.info |
| 6 | lcov --rc lcov_branch_coverage=1 --add-tracefile files.info --add-tracefile tests.info -o all.info |
| 7 | lcov --rc lcov_branch_coverage=1 --remove all.info -o final.info '*.h' |
| 8 | gendesc tests/Descriptions.txt -o descriptions |
| 9 | genhtml --title "mbed TLS" --description-file descriptions --keep-descriptions --legend --branch-coverage -o Coverage final.info |
| 10 | rm -f files.info tests.info all.info final.info descriptions |