Skip to content

Commit fab2d78

Browse files
committed
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 <[email protected]>
1 parent a9f2fcb commit fab2d78

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/guides/coverage.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,13 @@ You may postprocess these with your preferred tools. For example:
122122
lcov --capture --directory ./ --output-file lcov.info -q --rc lcov_branch_coverage=1
123123
genhtml lcov.info --output-directory lcov_html -q --ignore-errors source --branch-coverage --highlight --legend
124124
125+
.. note::
126+
127+
You need a recent version of lcov (at least 1.14) with support for
128+
intermediate text format. Such packages exist in recent Linux distributions.
129+
130+
Alternatively, you can use gcovr (at least version 4.2).
131+
125132
Sanitycheck coverage reports
126133
****************************
127134

0 commit comments

Comments
 (0)