mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-21 21:36:21 +01:00
Add test descriptions for lcov
This commit is contained in:
parent
61137df560
commit
720375e7ea
3 changed files with 33 additions and 7 deletions
12
Makefile
12
Makefile
|
|
@ -56,17 +56,23 @@ check: lib
|
|||
test-ref-configs:
|
||||
tests/scripts/test-ref-configs.pl
|
||||
|
||||
# note: for coverage testing, build with:
|
||||
# CFLAGS='--coverage' make OFLAGS='-g3 -O0'
|
||||
testcov:
|
||||
make check
|
||||
# add programs/test/selftest even though the selftest functions are
|
||||
# called from the testsuites since it runs them in verbose mode,
|
||||
# avoiding spurious "uncovered" printf lines
|
||||
programs/test/selftest
|
||||
( cd tests && ./compat.sh )
|
||||
( cd tests && ./ssl-opt.sh )
|
||||
|
||||
lcov:
|
||||
rm -rf Coverage
|
||||
( cd library && lcov --capture --directory . -o polarssl.info )
|
||||
( cd library && genhtml --title PolarSSL --legend --no-branch-coverage \
|
||||
-o ../Coverage polarssl.info )
|
||||
lcov --capture --directory library -o polarssl.info
|
||||
gendesc tests/Descriptions.txt -o descriptions
|
||||
genhtml --title PolarSSL --description-file descriptions --keep-descriptions --legend --no-branch-coverage -o Coverage polarssl.info
|
||||
rm -f polarssl.info descriptions
|
||||
|
||||
apidoc:
|
||||
mkdir -p apidoc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue