diff options
author | Mathieu Lirzin <mthl@gnu.org> | 2018-03-25 07:41:55 +0200 |
---|---|---|
committer | Mathieu Lirzin <mthl@gnu.org> | 2018-03-25 07:44:01 +0200 |
commit | 9ce38228e86f292aa612ae5c7737dfceaedceda9 (patch) | |
tree | 2e87371491973541300731e5e20edfff84df7bde | |
parent | 5023a8c7ca42121c3316a8e77045ff01a390ca27 (diff) | |
download | mcron-9ce38228e86f292aa612ae5c7737dfceaedceda9.tar.gz mcron-9ce38228e86f292aa612ae5c7737dfceaedceda9.tar.bz2 mcron-9ce38228e86f292aa612ae5c7737dfceaedceda9.zip |
maint: Document how to get code coverage reports
* HACKING <Code coverage>: New section.
-rw-r--r-- | HACKING | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -58,6 +58,14 @@ follows. repositories by running "cd build-aux; ./gnu-fetch". In case any file in the Mcron repository has been updated, commit and re-run the testsuite. +* Code coverage + + Assuming 'lcov' is installed, it is possible to check the actual code + coverage achieved by the test suite by running the following commands: + + $ make check SCM_LOG_DRIVER_FLAGS="--coverage=yes" + $ genhtml tests/*.info --output-directory out + ----- Copyright © 2002-2017 Free Software Foundation, Inc. |