Re: gcov/xs trickery.

2002-02-09 Thread Paul Johnson
On Fri, Feb 08, 2002 at 04:29:33PM +, Richard Clamp wrote: > Last night at the London.pm meeting I mentioned to Nick Clark that I > was puzzling over the problem of ensuring suitable test coverage for > ..xs modules, to which he kindly put me out of my misery and pointed me > at gcov. > > Thi

Re: gcov/xs trickery.

2002-02-09 Thread Richard Clamp
On Sat, Feb 09, 2002 at 05:25:27PM +0100, Paul Johnson wrote: > I suspect that adding -O0 to the flags would be useful, otherwise the > optimiser can remove some of the contructs you are trying to test. Good call. > > Then C and poke around at the generated Foo.xs.gcov > > results. > > I have b