diff --git a/doc/guides/coverage.rst b/doc/guides/coverage.rst index 5bef57a919e..f786a461fc9 100644 --- a/doc/guides/coverage.rst +++ b/doc/guides/coverage.rst @@ -122,6 +122,13 @@ You may postprocess these with your preferred tools. For example: lcov --capture --directory ./ --output-file lcov.info -q --rc lcov_branch_coverage=1 genhtml lcov.info --output-directory lcov_html -q --ignore-errors source --branch-coverage --highlight --legend +.. note:: + + You need a recent version of lcov (at least 1.14) with support for + intermediate text format. Such packages exist in recent Linux distributions. + + Alternatively, you can use gcovr (at least version 4.2). + Sanitycheck coverage reports ****************************