Subject: | Class-DBI-DATA-Schema: t/data.t fails against perl-5.31.0 on FreeBSD-12 |
As indicated in subject line. Excerpt from cpanm build.log:
#####
[analysis] $ dumpjson TMTM.Class-DBI-DATA-Schema-1.00.log.json
{
author => "TMTM",
dist => "Class-DBI-DATA-Schema",
distname => "Class-DBI-DATA-Schema-1.00",
distversion => "1.00",
grade => "FAIL",
prereqs => undef,
test_output => [
"Building and testing Class-DBI-DATA-Schema-1.00",
"cp lib/Class/DBI/DATA/Schema.pm blib/lib/Class/DBI/DATA/Schema.pm",
"PERL_DL_NONLAZY=1 \"/usr/home/jkeenan/var/tad/testing/perl-5.31.0/bin/perl\" \"-MExtUtils::Command::MM\" \"-MTest::Harness\" \"-e\" \"undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')\" t/*.t",
"",
"# Failed test 'We have one film automatically set up'",
"# at t/data.t line 21.",
"# got: '0'",
"# expected: '1'",
"Can't call method \"rating\" on an undefined value at t/data.t line 27.",
"# Looks like your test exited with 2 just after 7.",
"t/data.t .......... ",
"Dubious, test returned 2 (wstat 512, 0x200)",
"Failed 4/10 subtests ",
"t/pod-coverage.t .. ok",
"t/pod.t ........... ok",
"",
"Test Summary Report",
"-------------------",
"t/data.t (Wstat: 512 Tests: 7 Failed: 1)",
" Failed test: 5",
" Non-zero exit status: 2",
" Parse errors: Bad plan. You planned 10 tests but ran 7.",
"Files=3, Tests=9, 2 wallclock secs ( 0.02 usr 0.02 sys + 1.08 cusr 0.26 csys = 1.38 CPU)",
"Result: FAIL",
],
via => "App::cpanminus::reporter 0.17 (1.7044)",
}
#####
Can you investigate?
Thank you very much.
Jim Keenan