mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-25 23:05:44 +01:00
lcov cosmetics
This commit is contained in:
parent
8520dac292
commit
03893df747
3
.gitignore
vendored
3
.gitignore
vendored
@ -4,3 +4,6 @@ CTestTestfile.cmake
|
|||||||
cmake_install.cmake
|
cmake_install.cmake
|
||||||
Testing
|
Testing
|
||||||
Coverage
|
Coverage
|
||||||
|
*.gcno
|
||||||
|
*.gcda
|
||||||
|
library/polarssl.info
|
||||||
|
@ -77,12 +77,13 @@ ADD_CUSTOM_TARGET(test-ref-config
|
|||||||
)
|
)
|
||||||
|
|
||||||
ADD_CUSTOM_TARGET(lcov
|
ADD_CUSTOM_TARGET(lcov
|
||||||
COMMAND geninfo *.gcda
|
COMMAND lcov --capture --directory . -o polarssl.info
|
||||||
COMMAND genhtml -o ../../../Coverage *.info
|
COMMAND genhtml --title PolarSSL --legend --no-branch-coverage -o ../../../Coverage polarssl.info
|
||||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/library/CMakeFiles/polarssl.dir
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/library/CMakeFiles/polarssl.dir
|
||||||
)
|
)
|
||||||
|
|
||||||
ADD_CUSTOM_TARGET(memcheck
|
ADD_CUSTOM_TARGET(memcheck
|
||||||
|
COMMAND rm -rf Coverage
|
||||||
COMMAND ctest -O memcheck.log -D ExperimentalMemCheck
|
COMMAND ctest -O memcheck.log -D ExperimentalMemCheck
|
||||||
COMMAND tail -n1 memcheck.log | grep 'Memory checking results:' > /dev/null
|
COMMAND tail -n1 memcheck.log | grep 'Memory checking results:' > /dev/null
|
||||||
COMMAND rm -f memcheck.log
|
COMMAND rm -f memcheck.log
|
||||||
|
5
Makefile
5
Makefile
@ -58,8 +58,9 @@ test-ref-configs:
|
|||||||
|
|
||||||
lcov:
|
lcov:
|
||||||
rm -rf Coverage
|
rm -rf Coverage
|
||||||
( cd library && geninfo *.gcda )
|
( cd library && lcov --capture --directory . -o polarssl.info )
|
||||||
( cd library && genhtml -o ../Coverage *.info )
|
( cd library && genhtml --title PolarSSL --legend --no-branch-coverage \
|
||||||
|
-o ../Coverage polarssl.info )
|
||||||
|
|
||||||
apidoc:
|
apidoc:
|
||||||
mkdir -p apidoc
|
mkdir -p apidoc
|
||||||
|
Loading…
Reference in New Issue
Block a user