Running ubuntu 22.04.3 LTS with the following tools:
lcov: LCOV version 1.14
gcov (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
gcovr 5.0
I ran into an issue where my lcov report would show "branches: no data found".
I found some others who ran into the same issue and adding "--rc lcov_branch_coverage=1" to the targets LCOV_CAPTURE_CMD, LCOV_BASELINE_COUNT_CMD, LCOV_FILTER_CMD and LCOV_GEN_HTML_CMD fixed my issue.
Hi,
First, thanks so much for sharing this.
Running ubuntu 22.04.3 LTS with the following tools: lcov: LCOV version 1.14 gcov (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 gcovr 5.0
I ran into an issue where my lcov report would show "branches: no data found".
I found some others who ran into the same issue and adding "--rc lcov_branch_coverage=1" to the targets LCOV_CAPTURE_CMD, LCOV_BASELINE_COUNT_CMD, LCOV_FILTER_CMD and LCOV_GEN_HTML_CMD fixed my issue.
Hope this can help, Best regards, JC