On Thu Dec 29 23:27:21 2011, schwern@pobox.com wrote:
Show quoted text> On 2011.12.29 9:51 AM, Father Chrysostomos via RT wrote:
> > I get test failures with MSCHWERN/Test-Simple-1.005000_002.tar.gz on
> 5.8.8 and 5.10.0. (I
> > was just trying to see whether #73542 affects 5.8.8, when I found
> this problem.) The tests
> > are using shared_clone from threads::shared, but that was not added
> until version 1.21.
>
> TB2 checks that threads::shared->can("shared_clone") and if it can't
> it makes
> its own. See TB2::threads::shared::on. Either that's broken or your
> analysis
> is incorrect.
>
> What leads you to believe TB2 is using threads::shared::shared_clone
> when it
> doesn't exist? What's the error?
$ perl5.8.8 Makefile.PL
Looks good
Writing Makefile for Test::Simple
$ make
...
$ perl5.8.8 -Mblib t/Streamer/threads.t
# clone a streamer
Undefined subroutine &main::shared_clone called at t/Streamer/threads.t line 21.
$ perl5.8.8 -Mblib t/Streamer/ThreadSafeFilehandleAccessor.t
# construction and accessors
ok 1
ok 2
ok 3 - works with scalar ref filehandles
# with threads
Undefined subroutine &main::shared_clone called at
t/Streamer/ThreadSafeFilehandleAccessor.t line 52.