From fab2d788ae046b45b4c78a8aba700bcfab1f8481 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Fri, 7 Feb 2020 10:06:40 -0800 Subject: [PATCH] doc: add a note about required lcov version Add a note about min. version of lcov required with intermediate text format support. Signed-off-by: Anas Nashif --- doc/guides/coverage.rst | 7 +++++++ 1 file changed, 7 insertions(+) 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 ****************************