mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-25 20:05:43 +01:00
Add a 'testcov' target
This commit is contained in:
parent
03893df747
commit
61137df560
@ -76,6 +76,13 @@ ADD_CUSTOM_TARGET(test-ref-config
|
|||||||
COMMAND tests/scripts/test-ref-configs.pl
|
COMMAND tests/scripts/test-ref-configs.pl
|
||||||
)
|
)
|
||||||
|
|
||||||
|
ADD_CUSTOM_TARGET(covtest
|
||||||
|
COMMAND make test
|
||||||
|
COMMAND programs/test/selftest
|
||||||
|
COMMAND cd tests && ./compat.sh
|
||||||
|
COMMAND cd tests && ./ssl-opt.sh
|
||||||
|
)
|
||||||
|
|
||||||
ADD_CUSTOM_TARGET(lcov
|
ADD_CUSTOM_TARGET(lcov
|
||||||
COMMAND lcov --capture --directory . -o polarssl.info
|
COMMAND lcov --capture --directory . -o polarssl.info
|
||||||
COMMAND genhtml --title PolarSSL --legend --no-branch-coverage -o ../../../Coverage polarssl.info
|
COMMAND genhtml --title PolarSSL --legend --no-branch-coverage -o ../../../Coverage polarssl.info
|
||||||
|
6
Makefile
6
Makefile
@ -56,6 +56,12 @@ check: lib
|
|||||||
test-ref-configs:
|
test-ref-configs:
|
||||||
tests/scripts/test-ref-configs.pl
|
tests/scripts/test-ref-configs.pl
|
||||||
|
|
||||||
|
testcov:
|
||||||
|
make check
|
||||||
|
programs/test/selftest
|
||||||
|
( cd tests && ./compat.sh )
|
||||||
|
( cd tests && ./ssl-opt.sh )
|
||||||
|
|
||||||
lcov:
|
lcov:
|
||||||
rm -rf Coverage
|
rm -rf Coverage
|
||||||
( cd library && lcov --capture --directory . -o polarssl.info )
|
( cd library && lcov --capture --directory . -o polarssl.info )
|
||||||
|
Loading…
Reference in New Issue
Block a user