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.