Skip to content

Commit 4699f8d

Browse files
Peter Oberparleiteroberpar
authored andcommitted
README: improve usage hint
1 parent 36e0539 commit 4699f8d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,14 @@ Assuming the compile directory is called "appdir", do the following:
109109

110110
lcov --directory appdir --zerocounters
111111

112-
b) Capturing the current coverage state to a file (works only after the
113-
application has been started and stopped at least once)
112+
b) Capturing the current coverage state to a file
114113

115114
lcov --directory appdir --capture --output-file app.info
116115

116+
Note that this step only works after the application has
117+
been started and stopped at least once. Otherwise lcov will
118+
abort with an error mentioning that there are no data/.gcda files.
119+
117120
c) Getting HTML output
118121

119122
genhtml app.info

0 commit comments

Comments
 (0)