How to enable branch coverage?
carun opened this issue · 2 comments
carun commented
Are there variables exposed to generate branch coverage as it appears to be disabled by default?
carun commented
It looks like the content of ~/.lcovrc
is being ignored.
$ cat ~/.lcovrc
lcov_branch_coverage = 1
genhtml_legend = 1
geninfo_external = 0
which probably implies that the branch coverage is not generated by gcov
. How do we get this to work?
carun commented
Apparently it is the --baseline-file
option of genhtml
that prevents branch coverage from being rendered in the HTML report.