Replies: 1 comment
-
I don't think I understand what you are looking for - though it sounds as if you want to use lcov as a driver - to run gcov for you. More generally: if your actual final application worked perfectly: what did it do? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've been using bazel coverage to generate a combined coverage report
.dat
file, and thengenhtml
to produce the viewable report. However, I'd like to have a parsed output of the lines that were hit for each test target, e.g. in JSON like gcov's functionality. My intent is to produce a dataset of mappings between test targets and a structured (machine-readable) view of the lines that were hit. Is this possible?According to this,
lcov
automatically erases the intermediate.gcov
files, sogcov -j
isn't an option. The most information I've been able to get is fromlcov -l
; however, this doesn't provide the exact list of lines that were hit.Beta Was this translation helpful? Give feedback.
All reactions