-
Notifications
You must be signed in to change notification settings - Fork 74
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
Runtime error in parse_gcov_file
: 27-block 0
is in the gcov file, but appears to be unexpected by the parser
#116
Comments
The above gcov file contains lots of information that our tooling doesn't understand. I am now coming across this same error on my machine as well, only happened so far for C++ projects which seem to insert extra artifacts into the gcov file. When working on #111 (comment) I was seeing gcov files like
which would then cause our parser to complain about the lines of the form
these appear to be function names, I think gcov is including information on a per-function level that our parser does not understand. I can see these style of names in the manpage for gcov. |
I had the same problem using gtest, the gcov files contained odd lines :
_ZN21NPMatrixTest_Dim_Test8TestBodyEv: The method On my case, I fixed this issue by verifying if the size of You can at check my fork updated with the fix : https://github.com/samiBendou/cpp-coveralls |
fix eddyxu#116 and add a catch-all
See #140. |
gcov version:
Error:
Relevant part of the coverage file:
The text was updated successfully, but these errors were encountered: