On Thu, Mar 11, 2010 at 10:11:19AM -0500, Heiko via RT wrote:
>
> rechecked with my latest diff (#undef ...) against 3.10_51:
>
> only one test out of 2598 tests failed, good work :-)
>
> t/50-errno....NOK 4# Failed test '$! should not be altered by
> assigning fids to previously unprofiled modules (No such file or
> directory)'
> # at t/50-errno.t line 31.
> # got: '2'
> # expected: '3'
I can't reproduce this. The NYTProf.xs code has logic to save and
restore errno around the entry points to/from perl. I tried adding
code in FileHandle.xs to explicitly set errno in all the i/o functions
but still couldn't get test failures (unless I also disabled the errno
save/restore logic). I tried with and without zlib. r1166.
Is it reliably repeatable for you?
To help me narrow down the cause please try the following changes:
- edit t/50-errno.t to delete everything after line 31.
- change the test count from 8 to 4
- rerun to check it fails the same way
- rerun with each of the following changes to $ENV{NYTPROF} (line 6):
"start=init:file=$nytprof_out:blocks=0:stmts=0"
"start=init:file=$nytprof_out:blocks=0:subs=0"
"start=init:file=$nytprof_out:blocks=0:stmts=0:subs=0"
- also send me (off-list) the log from running whichever is the last of
those which fails, but with ":trace=90" appended to it.
Thanks!
Tim.
--
You've received this message because you are subscribed to
the Devel::NYTProf Development User group.
Group hosted at: http://groups.google.com/group/develnytprof-dev
Project hosted at: http://perl-devel-nytprof.googlecode.com
CPAN distribution: http://search.cpan.org/dist/Devel-NYTProf
To post, email: [email protected]
To unsubscribe, email: [email protected]