[Python-Dev] C code coverage report with lcov

Christian Heimes christian at python.org
Wed Jul 31 02:20:52 CEST 2013


Am 29.07.2013 19:15, schrieb Christian Heimes:
> Hi,
> 
> I have done some experiments with GCC's gcov and lcov to get the C code
> coverage of our unit test suite. You may find today's report at
> 
>   http://tiran.bitbucket.org/python-lcov/
> 
> I'm working on a patch for our Makefile to include all steps in one
> simple make tag. http://bugs.python.org/issue18481

Have fun with

   make coverage-report

as documented in the devguide


http://docs.python.org/devguide/coverage.html#measuring-coverage-of-c-code-with-gcov-and-lcov

Christian




More information about the Python-Dev mailing list