[Numpy-discussion] C code coverage tool
Tue Oct 27 04:11:29 CDT 2009
Mon, 26 Oct 2009 14:26:20 -0400, Michael Droettboom wrote:
> I know David Cournapeau has done some work on using gcov for coverage
> with Numpy.
> Unaware of this, (doh! -- I should have Googled first), I wrote a small
> C code-coverage tool built on top of valgrind's callgrind tool, so it
> basically only works on x86/AMD64 unixy platforms, but unlike gcov it
> doesn't require any recompilation headaches (though compiling
> unoptimized helps).
Where's the code?
> Is this something we want to add to the SVN tree, maybe under tools?
Yes. Also, maybe you want to send it to the Valgrind guys, too. If they
don't yet have a code coverage functionality yet, it could be nice to
More information about the NumPy-Discussion