#1544: t/profiling/profiling.t fails on darwin
----------------------+-----------------------------------------------------
Reporter: dukeleto | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: testing | Version: 2.2.0
Severity: high | Keywords:
Lang: | Patch:
Platform: darwin |
----------------------+-----------------------------------------------------
Comment(by jkeenan):
I am unable to reproduce this bug on Darwin/PPC, Mac OS X 10.4.11.
{{{
$ perl -MFile::Spec -e 'print File::Spec->tmpdir(), "\n";'
/tmp
$ grep -ni tempdir lib/Parrot/Config/Generated.pm config_lib.pasm
lib/Parrot/Config/Generated.pm:350: 'tempdir' => '/tmp',
config_lib.pasm:257: set P0["tempdir"], "/tmp"
$ prove -v t/profiling/profiling.t
1..12
ok 1 # profile creation didn't explode
ok 2 # profile has a version number
ok 3 # profile contains a CLI string
ok 4 # profile has a say op
ok 5 # profile has canonical timing information
ok 6 # matcher didn't find non-existent opcode
ok 7 # profile shows 'say' inside main sub
ok 8 # profile properly reflects normal control flow (simple)
ok 9 # profile properly reflects normal control flow (slightly less
simple)
ok 10 # profile properly reflects tailcall control flow
ok 11 # profile shows say on the correct line
ok 12 # profile shows 'say' inside nqp sub
ok
All tests successful.
Files=1, Tests=12, 13 wallclock secs
( 0.10 usr 0.04 sys + 8.84 cusr 0.99 csys = 9.97 CPU)
Result: PASS
}}}
I am inclined to suspect that either (a) something has changed about more
recent versions of Darwin re Perl 5; or (b) something is peculiar about
these particular boxes.
Given how many of our developers have worked on Darwin over the years, I
think we would have encountered this bug long before now. So I'm
skeptical as to whether it constitutes a real bug.
Thank you very much.
kid51
P.S.: We could really benefit from Smolder reports on Darwin/i386. We
used to have a lot of those, but lately the only Darwin Smolder reports
have been from my 6-year-old iBook.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1544#comment:3>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets