lcov icon indicating copy to clipboard operation
lcov copied to clipboard

geninfo.perl genhtml.perl No argument specified

Open pennam opened this issue 8 years ago • 2 comments

When i try to run geninfo.perl --help or genhtml.perl --help i'm getting the following output:

d:\genhtml.perl --help Found gcov version: 4.8.1 genhtml.perl: No filename specified Usage genhtml.perl --help to get usage informations

similar output from geninfo

d:\geninfo.perl --help Found gcov version: 4.8.1 geninfo.perl: No directory specified Usage geninfo.perl --help to get usage informations

I'm using windows 7 gcov from mingw4.8.1 and strawberry perl 5.24.0

Any suggestion to fix it?

pennam avatar Jul 13 '16 09:07 pennam

Hi pennam, geninfo.perl: No directory specified specifies that no args passed

geninfo.perl and genhtml.perl is internal scripts, please take a look at lcov.bat for usage.

d:\project> d:\lcov\lcov.bat
Creating gcov\lcov.info ...
Capturing coverage data from .
d:\lcov/geninfo.perl . --output-filename gcov/lcov.info --base-directory .Found gcov version: 4.4.2
Scanning . for .gcda files ...

valbok avatar Jul 13 '16 09:07 valbok

Hi valbok, i've fixed this issue following this link http://stackoverflow.com/a/7410375. Option 2 worked for me. Now i will go on with the next issue. Thanks for your help

pennam avatar Jul 13 '16 09:07 pennam