Reputation: 632
I use lcov with an Objective-C project and the XcodeCoverage scripts and I get a nice html report on my code coverage.
However I would like to "keep" the intermediate .gcov
files (if any) to feed them to another tool.
Something similar to the --keep
option of gcovr. Does lcov provides such an option ? Is it generating any intermediate .gcov
files at all ?
I'm sure it's something obvious that I missed in the docs. Thanks.
Upvotes: 4
Views: 743
Reputation: 632
Yes, lcov generates .gcov
files but they are deleted once they have been processed. There is no "keep" option.
I found in the code of version lcov-1.10 the following behavior:
lcov calls geninfo which removes the .gcov
files after processing.
Upvotes: 5