Skip Menu |

This queue is for tickets about the YAML-AppConfig CPAN distribution.

Report information
The Basics
Id: 127247
Status: new
Priority: 0/
Queue: YAML-AppConfig

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

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



Subject: Tests fail when . not in @INC (perl 5.26 and above)
Getting errors like: do "t/lib/helpers.pl" failed, '.' is no longer in @INC; did you mean do "./t/lib/helpers.pl"?
Test output: 01:46:33 24515 ERROR [463]: + PERL_USE_UNSAFE_INC=0 01:46:33 24515 ERROR [463]: + /usr/bin/make test 01:46:33 24515 ERROR [463]: PERL_DL_NONLAZY=1 "/usr/local/cpanel/3rdparty/perl/528/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t 01:46:33 24515 ERROR [463]: do "t/lib/helpers.pl" failed, '.' is no longer in @INC; did you mean do "./t/lib/helpers.pl"? at t/00-load.t line 4. 01:46:33 24515 ERROR [463]: t/00-load.t ..... ok 01:46:33 24515 ERROR [463]: do "t/lib/helpers.pl" failed, '.' is no longer in @INC; did you mean do "./t/lib/helpers.pl"? at t/01-basic.t line 4. 01:46:33 24515 ERROR [463]: Undefined subroutine &main::slurp called at t/01-basic.t line 30. 01:46:33 24515 ERROR [463]: # Looks like your test exited with 255 just after 11. 01:46:33 24515 ERROR [463]: t/01-basic.t .... 01:46:33 24515 ERROR [463]: Dubious, test returned 255 (wstat 65280, 0xff00) 01:46:33 24515 ERROR [463]: Failed 10/21 subtests 01:46:33 24515 ERROR [463]: do "t/lib/helpers.pl" failed, '.' is no longer in @INC; did you mean do "./t/lib/helpers.pl"? at t/02-normal.t line 4. 01:46:33 24515 ERROR [463]: Undefined subroutine &main::slurp called at t/02-normal.t line 10. 01:46:33 24515 ERROR [463]: # Looks like your test exited with 2 just after 1. 01:46:33 24515 ERROR [463]: t/02-normal.t ... 01:46:33 24515 ERROR [463]: Dubious, test returned 2 (wstat 512, 0x200) 01:46:33 24515 ERROR [463]: Failed 105/106 subtests 01:46:33 24515 ERROR [463]: do "t/lib/helpers.pl" failed, '.' is no longer in @INC; did you mean do "./t/lib/helpers.pl"? at t/03-vars.t line 4. 01:46:33 24515 ERROR [463]: t/03-vars.t ..... ok 01:46:33 24515 ERROR [463]: do "t/lib/helpers.pl" failed, '.' is no longer in @INC; did you mean do "./t/lib/helpers.pl"? at t/04-api.t line 4. 01:46:33 24515 ERROR [463]: t/04-api.t ...... ok 01:46:33 24515 ERROR [463]: do "t/lib/helpers.pl" failed, '.' is no longer in @INC; did you mean do "./t/lib/helpers.pl"? at t/05-scoping.t line 4. 01:46:33 24515 ERROR [463]: t/05-scoping.t .. ok 01:46:33 24515 ERROR [463]: 01:46:33 24515 ERROR [463]: Test Summary Report 01:46:33 24515 ERROR [463]: ------------------- 01:46:33 24515 ERROR [463]: t/01-basic.t (Wstat: 65280 Tests: 11 Failed: 0) 01:46:33 24515 ERROR [463]: Non-zero exit status: 255 01:46:33 24515 ERROR [463]: Parse errors: Bad plan. You planned 21 tests but ran 11. 01:46:33 24515 ERROR [463]: t/02-normal.t (Wstat: 512 Tests: 1 Failed: 0) 01:46:33 24515 ERROR [463]: Non-zero exit status: 2 01:46:33 24515 ERROR [463]: Parse errors: Bad plan. You planned 106 tests but ran 1. 01:46:33 24515 ERROR [463]: Files=6, Tests=129, 1 wallclock secs ( 0.06 usr 0.02 sys + 0.39 cusr 0.05 csys = 0.52 CPU) 01:46:33 24515 ERROR [463]: Result: FAIL 01:46:33 24515 ERROR [463]: Failed 2/6 test programs. 0/129 subtests failed. 01:46:33 24515 ERROR [463]: make: *** [test_dynamic] Error 255