Does lcov generate intermediate .gcov files?

682 views Asked by At

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.

1

There are 1 answers

0
lazi74 On BEST ANSWER

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.