lcov
lcov copied to clipboard
'pwd'; # Current working directory is not working for windows
Hi,
I am using windows LCOV package and there in lcov.perl and geninfo.perl scripts , our $cwd = 'pwd'; # Current working directory is used.
When executed on windows cmd prompt, it giving error - pwd is not recognized as internal or external command. Tried to use $cwd=getcwd. Once i use it, lcov.info is not getting generated, however, gcda files exists.
Please help us in solving this issue.
Hi, could you please provide console output? Also if you do not have pwd, you could type manually path to dir or use http://stackoverflow.com/questions/921741/windows-equivalent-to-unix-pwd
Had the same issue fixed with your suggested link.
http://stackoverflow.com/a/921762
I had same problem. Changing:
our $cwd = `pwd`; # Current working directory
to:
our $cwd = `cd`; # Current working directory
Solved all problems. Only HTML output is bugged, but I only needed .info anyway.