Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
BC
public
external
mbedtls
Commits
03893df7
Commit
03893df7
authored
Feb 21, 2014
by
Manuel Pégourié-Gonnard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lcov cosmetics
parent
8520dac2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
.gitignore
.gitignore
+3
-0
CMakeLists.txt
CMakeLists.txt
+3
-2
Makefile
Makefile
+3
-2
No files found.
.gitignore
View file @
03893df7
...
...
@@ -4,3 +4,6 @@ CTestTestfile.cmake
cmake_install.cmake
Testing
Coverage
*.gcno
*.gcda
library/polarssl.info
CMakeLists.txt
View file @
03893df7
...
...
@@ -77,12 +77,13 @@ ADD_CUSTOM_TARGET(test-ref-config
)
ADD_CUSTOM_TARGET
(
lcov
COMMAND
geninfo *.gcda
COMMAND genhtml -o ../../../Coverage
*
.info
COMMAND
lcov --capture --directory . -o polarssl.info
COMMAND genhtml
--title PolarSSL --legend --no-branch-coverage
-o ../../../Coverage
polarssl
.info
WORKING_DIRECTORY
${
CMAKE_CURRENT_SOURCE_DIR
}
/library/CMakeFiles/polarssl.dir
)
ADD_CUSTOM_TARGET
(
memcheck
COMMAND rm -rf Coverage
COMMAND ctest -O memcheck.log -D ExperimentalMemCheck
COMMAND tail -n1 memcheck.log | grep 'Memory checking results:' > /dev/null
COMMAND rm -f memcheck.log
...
...
Makefile
View file @
03893df7
...
...
@@ -58,8 +58,9 @@ test-ref-configs:
lcov
:
rm
-rf
Coverage
(
cd
library
&&
geninfo
*
.gcda
)
(
cd
library
&&
genhtml
-o
../Coverage
*
.info
)
(
cd
library
&&
lcov
--capture
--directory
.
-o
polarssl.info
)
(
cd
library
&&
genhtml
--title
PolarSSL
--legend
--no-branch-coverage
\
-o
../Coverage polarssl.info
)
apidoc
:
mkdir
-p
apidoc
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment