-
Notifications
You must be signed in to change notification settings - Fork 236
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
perl2lcov: unexpected data type 'time' #297
Comments
Hmm. Likely won't tell us anything, but you can also run as $ LCOV_SHOW_LOCATION=1 per2lcov ... Which should show the offending line number. |
The offending line is Line 199 in 3abff7c
The contents of lcov was built via git pull, using master at time of writing.
|
Thanks. Meantime: the easiest workaround is to turn that 'die' into a warning or ignorable_error. |
Use ignorable_error rather than die if something unexpected happens. Signed-off-by: Henry Cox <henry.cox@medaitek.com>
Attempting to clean up the issue list. I think that this bug is fixed in the above commit. |
An even easier workaround may be to edit your Not sure if it is easier to modify your regress environment or the perl code - but more options are likely better than fewer. |
Closing this issue now. I believe it was fixed in the above commit (SHA e10f1f0) |
When attempting to run
perl2lcov
I receive the errorunexpected data type 'time'
. I've encountered this on several configurations, and have created a Dockerfile to recreate an environment where the issue occurs for me:Using the above, I create code coverage on the following hello world example project: https://replit.com/@m-dango/Perl-DevelCover-Hello-World#t/hello-world.t
I am currently able to temporarily work around the issue by adding a
next if ... eq 'time'
in the relevant loop in the script.The text was updated successfully, but these errors were encountered: