I use a test tool called KLEE, which creates a lot of tests for my C99 code. Subsequently, I run the tests and check the line coverage with gcov. Gcov seems to update coverage data at the end of execution on success.
However, some tests fail (they claim statements that are not true), which leads to the interruption of the program and gcov, not counting the lines included in this run.
Is there a way that gcov clears information from any output (not just successful)?
Henning
source share