Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coverage reporting broken for newer versions of gcc(gcov) #179

Open
hendrikmuhs opened this issue Nov 6, 2020 · 1 comment
Open

Coverage reporting broken for newer versions of gcc(gcov) #179

hendrikmuhs opened this issue Nov 6, 2020 · 1 comment

Comments

@hendrikmuhs
Copy link
Contributor

After bumping the ubuntu image to 20.04 (to fix rust builds) the coverage report broke and e.g. reported wrong line counts and as a result of that wrong coverage. The image for creating coverage reports has been set back to 16.04.

The problem turned out to be a problem with the extended format of gcov introduced in gcc 8, it reports coverage for instances of templates. The parser from cpp-coveralls produces wrong results as result of that, I created an upstream fix: eddyxu/cpp-coveralls#157.

@narekgharibyan
Copy link
Member

Hah, great find @hendrikmuhs!

Hope they will accept the PR soon, as the repo didn't seem to be actively maintained.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants