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?
to your account
I ran into an error where not-existing filename where generated due to common prefix. Indeed this function will return an invalid directory in this case
it will result in directory /cygdrive/my due to the fact that commonprefix return the prefix string instead of the prefix path
I think the proper function to use here is
A similar issue caused #52
The text was updated successfully, but these errors were encountered:
Thank you for finding that! Historically, the problem is that gcovr still supports Python 2.7 which doesn't have a commonpath() function in the standard library, we therefore have a custom implementation in the gcovr.util module.
I'll fix this right away!
Sorry, something went wrong.
Successfully merging a pull request may close this issue.