Add lcov --initial

Enterprise / PostgreSQL - Peter Eisentraut [] - 29 September 2017 08:54 EDT

By just running lcov on the produced .gcda data files, we don't account for source files that are not touched by tests at all. To fix that, run lcov --initial to create a base line info file with all zero counters, and merge that with the actual counters when creating the final report.

4bb5a25 Add lcov --initial
.gitignore | 2 +-
src/ | 25 +++++++++++++++++++------
2 files changed, 20 insertions(+), 7 deletions(-)


  • Share