Re: [Numpy-discussion] Numpy code coverage

2008-01-03 Thread Robert Kern
Stefan van der Walt wrote:
 Hi all,
 
 I read about Titus Brown's Figleaf code coverage tool [1] on the
 Planet SciPy aggregator [2].  The results of running figleaf on the
 numpy test-suite [3] covers Python code only.
 
 What the best way of discovering the C and C++ code coverage as well?

I've never encountered any documents about checking C code coverage of Python
extension modules. It is possible that the standard tools for C code coverage
(e.g. gcov) would work fine with some finagling.

If you try this, I would love to hear what you did.

-- 
Robert Kern

I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth.
  -- Umberto Eco
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion


[Numpy-discussion] Numpy code coverage

2008-01-02 Thread Stefan van der Walt
Hi all,

I read about Titus Brown's Figleaf code coverage tool [1] on the
Planet SciPy aggregator [2].  The results of running figleaf on the
numpy test-suite [3] covers Python code only.

What the best way of discovering the C and C++ code coverage as well?

Regards
Stéfan

[1] http://darcs.idyll.org/~t/projects/figleaf/README.html
[2] http://planet.scipy.org
[3] http://mentat.za.net/refer/numpy_figleaf/
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion