On 2016-09-07 15:09:29, SREZIC wrote:
Show quoted text> Tests fail with perl 5.24.0 and later, see
>
http://matrix.cpantesters.org/?dist=Text-DeLoreanIpsum%200.01 for an
> overview.
>
> On my smoker machines test log shows the following:
>
> PERL_DL_NONLAZY=1 "/usr/perl5.22.1p/bin/perl" "-
> MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef
> *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')"
> t/*.t
> shift on reference is experimental at
> /home/cpansand/.cpan/build/2016090615/Text-DeLoreanIpsum-0.01-
> L23aim/blib/lib/Text/DeLoreanIpsum.pm line 58.
>
> # Failed test 'There were 3 sentences'
> # at t/00-Text-DeLoreanIpsum.t line 19.
> # got: '5'
> # expected: '3'
> # Looks like you failed 1 test of 11.
> t/00-Text-DeLoreanIpsum.t ..
> Dubious, test returned 1 (wstat 256, 0x100)
> Failed 1/11 subtests
And with perl 5.25.x this is definitely an error:
# Failed test 'use Text::DeLoreanIpsum;'
# at t/00-Text-DeLoreanIpsum.t line 11.
# Tried to use 'Text::DeLoreanIpsum'.
# Error: Experimental shift on scalar is now forbidden at /tmpfs/.cpan-build-cpansand/2016090615/Text-DeLoreanIpsum-0.01-1/blib/lib/Text/DeLoreanIpsum.pm line 58, near "])"
# Compilation failed in require at t/00-Text-DeLoreanIpsum.t line 11.
# BEGIN failed--compilation aborted at t/00-Text-DeLoreanIpsum.t line 11.
Can't locate object method "words" via package "Text::DeLoreanIpsum" at t/00-Text-DeLoreanIpsum.t line 16.
BEGIN failed--compilation aborted at t/00-Text-DeLoreanIpsum.t line 22.
# Looks like your test exited with 255 just after 5.
t/00-Text-DeLoreanIpsum.t ..
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 7/11 subtests