I'm trying to generate a HTML file of results of a C program using Gcovr.
I've installed gcov (via MinGW), Python, easy_stall and gcovr.
Added the C:\MinGW\bin
, C:\Python33
and C:\Python\Scripts
to the Windows PATH.
Now the problems I'm having (in Windows commandline):
1. gcovr command
gcovr cannot be found/executed from any directory until executed from c:\Python33\Scripts
with the python gcovr
command.
Temp fix, rename gcovr
to gcovr.py
? But this doesn't sound as the right solution.
2. Executing gcovr
No results when I call:
c:\Python33\Scripts>python gcovr -r "d:\somepath\Debug"
------------------------------------------------------------------------------
File Lines Exec Cover Missing
------------------------------------------------------------------------------
------------------------------------------------------------------------------
TOTAL 0 0 --%
------------------------------------------------------------------------------
But gcov gives proper results.
D:\somepath\Debug>gcov some_file.gcda
File '../some_file.c'
Lines executed:21.43% of 14
Creating 'some_file.c.gcov'
What do I need to do to get proper results?