Skip Menu |

This queue is for tickets about the Test-Catch CPAN distribution.

Report information
The Basics
Id: 128597
Status: resolved
Priority: 0/
Queue: Test-Catch

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.0.3
Fixed in: (no value)



Subject: Can't locate object method "ctx" via package "Test::Builder"
On some of my smokers the test suite fails: ... PERL_DL_NONLAZY=1 "/usr/perl5.20.1Dp/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t Can't locate object method "ctx" via package "Test::Builder" at /home/cpansand/.cpan/build/2019022313/Test-Catch-1.0.3-ckaHYF/blib/arch/Test/Catch.pm line 25. # Child (no args) exited without calling finalize() # Failed test 'no args' # at /usr/perl5.20.1Dp/lib/site_perl/5.20.1/Test/Builder.pm line 279. # Tests were run but no plan was declared and done_testing() was not seen. # Looks like your test exited with 29 just after 1. t/run.t .. Dubious, test returned 29 (wstat 7424, 0x1d00) Failed 1/1 subtests ... This seems to happen if older Test::More is installed, e.g. 1.001014. Version 1.302073 and newer seems to be fine.
Суб Фев 23 07:58:41 2019, SREZIC писал: Show quoted text
> On some of my smokers the test suite fails: > > ... > PERL_DL_NONLAZY=1 "/usr/perl5.20.1Dp/bin/perl" "- > MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef > *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" > t/*.t > Can't locate object method "ctx" via package "Test::Builder" at > /home/cpansand/.cpan/build/2019022313/Test-Catch-1.0.3- > ckaHYF/blib/arch/Test/Catch.pm line 25. > # Child (no args) exited without calling finalize() > > # Failed test 'no args' > # at /usr/perl5.20.1Dp/lib/site_perl/5.20.1/Test/Builder.pm line > 279. > # Tests were run but no plan was declared and done_testing() was not > seen. > # Looks like your test exited with 29 just after 1. > t/run.t .. > Dubious, test returned 29 (wstat 7424, 0x1d00) > Failed 1/1 subtests > ... > > This seems to happen if older Test::More is installed, e.g. 1.001014. > Version 1.302073 and newer seems to be fine.
Thanks a lot! Fixed, Test::More is now required min 1.302015