okkez / coveralls-lcov

lcov support for coveralls.io
MIT License
26 stars 11 forks source link

fix linecount when record occurs multiple times #10

Closed mrgreywater closed 6 years ago

mrgreywater commented 7 years ago

I tried to get lcov-coveralls working with earcut.hpp, but lcov gave me an info file which contains the same file-record multiple times for different compilation units. genhtml works fine with it, but when running lcov-coveralls with that file, it incorrectly computes zero coverage.

example info file (line coverage only): https://gist.github.com/mrgreywater/aef66982363298ae2efa9ae161cae4d7

The same might be necessary for branches. (info file with branches and functions: https://gist.github.com/mrgreywater/1622824601464a740c0b5df2b75faaca)

okkez commented 6 years ago

Thanks! Released 1.5.1