On 6/30/06, Travis Oliphant <[EMAIL PROTECTED]> wrote:

> This is great.   How did you generate [the coverage statistic]?
>

It was really a hack.  I've configured python using

$ ./configure --enable-debug CC="gcc  -fprofile-arcs -ftest-coverage"
CXX="c++ gcc  -fprofile-arcs -ftest-coverage"

(I hate distutils!)

Then I installed numpy and ran numpy.test(). Some linalg related tests
failed which should be fixed by figuring out how to pass
-fprofile-arcs -ftest-coverage options to the fortran compiler.

The only non-obvious step in using gcov was that I had to tell it
where to find object files:

$ gcov -o build/temp.linux-x86_64-2.4/numpy/core/src numpy/core/src/*.c

> ...
> What happens if you run the scipy test suite?

I don't know because I don't use scipy. Sorry.

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion

Reply via email to