maint: Document how to get code coverage reports
* HACKING <Code coverage>: New section.
This commit is contained in:
parent
5023a8c7ca
commit
9ce38228e8
1 changed files with 8 additions and 0 deletions
8
HACKING
8
HACKING
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue