New submission from Daniel Diniz <[EMAIL PROTECTED]>: The attached script reports C functions not flexed by unittests. It needs a 'coverage' build and a run of the tests. Coverage data is then passed to gcov and those functions with zero calls written to a text file, grouped by source file.
It's also pretty ugly. Reviews/suggestions are most welcome :) I'm finishing a related script that patches the source with 'printf's, so any false positives are easy to spot and it's clear when some action or test exercises a previously untested C function. It already works, but is much uglier then this one ;) ---------- components: Tests files: ccoverage.py messages: 73073 nosy: ajaksu2 severity: normal status: open title: Script: find untested C functions type: feature request versions: Python 2.6, Python 3.0 Added file: http://bugs.python.org/file11469/ccoverage.py _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3844> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com