CC: | ANDK [...] cpan.org |
Subject: | Tests fail with perl 5.23.8 |
With perl 5.23.8 I observe the following test fails (linux + freebsd):
PERL_DL_NONLAZY=1 "/usr/perl5.23.8sp/bin/perl5.23.8" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
(in cleanup) Can't call method "isMocked" on an undefined value at /usr/perl5.23.8sp/lib/site_perl/5.23.8/Test/Mock/Wrapper.pm line 613 during global destruction.
(in cleanup) Can't call method "isMocked" on an undefined value at /usr/perl5.23.8sp/lib/site_perl/5.23.8/Test/Mock/Wrapper.pm line 613 during global destruction.
(in cleanup) Can't call method "isMocked" on an undefined value at /usr/perl5.23.8sp/lib/site_perl/5.23.8/Test/Mock/Wrapper.pm line 613 during global destruction.
(in cleanup) Can't call method "isMocked" on an undefined value at /usr/perl5.23.8sp/lib/site_perl/5.23.8/Test/Mock/Wrapper.pm line 613 during global destruction.
(in cleanup) Can't call method "isMocked" on an undefined value at /usr/perl5.23.8sp/lib/site_perl/5.23.8/Test/Mock/Wrapper.pm line 613 during global destruction.
t/authentication.t ..... ok
t/author-pod-syntax.t .. skipped: these tests are for testing by the author
DESTROY created new reference to dead object 'Test::Mock::Wrapped' during global destruction.
t/basic.t ..............
Dubious, test returned 22 (wstat 5632, 0x1600)
All 119 subtests passed
DESTROY created new reference to dead object 'Test::Mock::Wrapped' during global destruction.
t/namespace.t ..........
Dubious, test returned 22 (wstat 5632, 0x1600)
All 98 subtests passed
(in cleanup) Can't call method "isMocked" on an undefined value at /usr/perl5.23.8sp/lib/site_perl/5.23.8/Test/Mock/Wrapper.pm line 613 during global destruction.
(in cleanup) Can't call method "isMocked" on an undefined value at /usr/perl5.23.8sp/lib/site_perl/5.23.8/Test/Mock/Wrapper.pm line 613 during global destruction.
DESTROY created new reference to dead object 'Test::Mock::Wrapped' during global destruction.
t/resource.t ...........
Dubious, test returned 22 (wstat 5632, 0x1600)
All 119 subtests passed
The tests work fine with perl 5.23.7 on the same systems. The problem could be caused by a regression in perl itself. I see that the dependency graph contains Syntax::Feature::Try; this module got recently some patches to work with perl 5.23.8 --- maybe these patches are problematic?
(@Andreas: maybe a perl bisect candidate, though I guess Syntax-Feature-Try is more likely to be the cause for the breakage...)