francis | 1 Jul 2012 16:07
Picon

C-extension coverage

Hi all,

I would like to have line and branch coverage of a Python
C-extension by using gcc-coverage (gcov). AFAIN to be able to
use gcov for that, the  extension module has to be compiled
statically: means in that case the  interpreter, the tests
(written in python with unittest) and the C-extension itself.

I would like to ask if that can be achieved with cython or if
somebody have some experience with that.

Thanks in advance!

Francis


Gmane