views:

216

answers:

1

Hi all:

I was wondering what else is actually needed in order to run lcov in windows command line? Every time when I run perl lcov, I always get a reminder or errors similar to the following:

geninfo: ERROR: need tool gcov!

I looked into my bin directory, and couldn't find a gcov.exe.

I normally do perl genhtml filename to get a html test coverage report of my javascript. I was trying to see if I can do perl lcov as I might want to combine several lcov files into one (and get the total test coverage).

Thanks.

+2  A: 

It sure does look like you need gcov, doesn't it!

(For cygwin, it looks to be part of the gcc4-core package.)

Ether
@Ether: I'm running cygwin in windows, but I cannot find the gcov.exe in the cygwin directory. Do you know which package is gcov under in cygwin so I can download it? Thanks.
BeraCim
@Ether: thanks for the link. I have downloaded and installed the gcov-4.exe. Now I got a new error when doing perl lcov -c: ERROR: need insmod tool (/sbin/insmod) to access kernel coverage data! I'm trying to run perl lcov under windows. Why does it require so many things and sounded like I need to run it in linux?
BeraCim
@BeraCim: I'm afraid you're at the limit of my knowledge of cygwin; I haven't used it in a while. It sounds like you have enough material for another SO question though :)
Ether
Thanks for your help. I might start another question next week.
BeraCim