0

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.

BeraCim
  • 2,317
  • 8
  • 49
  • 78

1 Answers1

3

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

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

Ether
  • 53,118
  • 13
  • 86
  • 159
  • @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 Dec 17 '09 at 22:45
  • @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 Dec 18 '09 at 01:14
  • @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 Dec 18 '09 at 01:47
  • Thanks for your help. I might start another question next week. – BeraCim Dec 18 '09 at 04:23