You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I understand it correctly, right now this package isn't compatible with Windows because there's no windows version of LCOV. And trying to run the genhtml Perl script runs into errors because of Windows paths.
Locally, I've gotten around this by installing LCOV in WSL. Then, it's two lines of code:
First, I replace the slashes in lcov.info: run(`bash -c "tr '\\\\' '/' < coverage/lcov.info > coverage/lcov.info.tmp && mv coverage/lcov.info.tmp coverage/lcov.info"`)
It's very much a hack, but if people think it's useful, maybe it's worth a PR? Or is there a much simpler solution I'm missing? I didn't want to change genhtml's Perl code...
Sorry for the late response. I have essentially no ability to test on windows, I got the impression that @tpapp didn't either, so if you're a windows user and want this working you're going to be pretty much left to your own devices. In particular, I really don't know how appropriate your suggestion is, but I don't think I'd have any objections to it if I were a windows user (who probably needs WSL for a lot anyway).
As far as I'm concerned, any PR that claims to fix windows and does not break linux would be welcome! Of course, a PR that also includes successful windows tests in appveyor or travis would be really great.
Activity
ExpandingMan commentedon Oct 21, 2020
Sorry for the late response. I have essentially no ability to test on windows, I got the impression that @tpapp didn't either, so if you're a windows user and want this working you're going to be pretty much left to your own devices. In particular, I really don't know how appropriate your suggestion is, but I don't think I'd have any objections to it if I were a windows user (who probably needs WSL for a lot anyway).
As far as I'm concerned, any PR that claims to fix windows and does not break linux would be welcome! Of course, a PR that also includes successful windows tests in appveyor or travis would be really great.
tpapp commentedon Oct 22, 2020
Yes, tests for Windows and/or WSL would be nice if anyone adds functionality for those.
bramtayl commentedon Aug 16, 2022
On windows, I'm getting:
Probably just a matter of changing the permissions on the file but
BambOoxX commentedon Jul 9, 2023
Any chance #42 works to solve this ? I developed that on a Windows machine...
BambOoxX commentedon Jul 15, 2026
This should be closed shouldn't it ? It works fine on my windows since #42.
tpapp commentedon Jul 15, 2026
Thanks for the ping, closing. If anyone has problems please comment and I will reopen.