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 reports fail to generate with LCOV 2.x #100

Open
nicholasphair opened this issue Dec 2, 2023 · 0 comments
Open

Coverage reports fail to generate with LCOV 2.x #100

nicholasphair opened this issue Dec 2, 2023 · 0 comments

Comments

@nicholasphair
Copy link
Collaborator

LCOV version 2.0 was released earlier this year. It is now the default version distributed by homebrew.

It seems tipc is incompatible with version 2.x. bin/gencov.sh leads to errors.

$ ./bin/gencov.sh
...
Processing /opt/devel/repos/sipc/build/src/semantic/weeding/CMakeFiles/weeding.dir/CheckAssignable.cpp.gcda
Processing /opt/devel/repos/sipc/build/src/error/CMakeFiles/error.dir/Error.cpp.gcda
Excluded data for 145 files due to include/exclude options
geninfo: ERROR: "/opt/devel/repos/sipc/src/semantic/types/solver/Substituter.h":7:  function _ZN11SubstituterD1Ev found on line but no corresponding 'line' coverage data point.  Cannot derive function end line.
...

Downgrading to version 1.x fixes the error.

Portal currently provides 1.14.

$ lcov -version
lcov: LCOV version 1.14
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

1 participant