Swtich to gcovr
For Coverage
#1257
LeStarch
announced in
Call for Comments
Replies: 2 comments 2 replies
-
@kevin-f-ortega thoughts here? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Action: does this render ok in links browser. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Coverage is inherently broken due to limitations of the
gcov
executable. It can only be run on one directory of.o/.gcno
objects at a time, and modules (e.g.Os
) are permitted to span multiple directories. See: #1248As stated in that issue there are two fixes:
The recommendation here is to switch to
gcovr
and use that to perform this work.gcovr
runsgcov
summarizes results and can even produce better formatted output (HTML)gcovr
fixes the issue without need to massively change our build systemRamifications of this means we would be switching format for the coverage output:
Source-annotated "missing lines" would require extended output (e.g. HTML).
Beta Was this translation helpful? Give feedback.
All reactions