Skip to content

t/00_prelim.t fails with perl 5.40 #1

@eserte

Description

@eserte

With perl 5.40.0 (and some development versions before, starting from 5.39.8) the test suite fails:

PERL_DL_NONLAZY=1 "/usr/perl5.40.0/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
Changing use VERSION while another use VERSION is in scope is deprecated, and will become fatal in Perl 5.44 at /home/cpansand/.cpan/build/2024071717/App-diff_spreadsheets-1.022-1/t/../bin/diff_spreadsheets line 12.

# Failed test 'status==0 for diff_spreadsheets emptyfile emptyfile'
# at t/00_prelim.t line 40.
Bailout called.  Further testing stopped:  (Bail On Fail)
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 255 after test #3.
# Seeded srand with seed '20240717' from local date.
t/00_prelim.t ............ 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/3 subtests 
Can't use an undefined value as a subroutine reference at /usr/perl5.40.0/lib/5.40.0/TAP/Harness.pm line 612.
*** Error code 255

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions