Subject: | Tests fail on perl-5.24.1 on Linux |
Hi!
The tests fail on perl-5.24.1 from perlbrew on Linux:
[MSG] Extracted 'Perinci::Sub::GetArgs::Argv' to '/home/shlomif/.cpanpl[27/1938]
/build/qJdqo16AUc/Perinci-Sub-GetArgs-Argv-0.80'
Running [/home/shlomif/apps/perl/brew/perls/perl-5.24.1/bin/perl -e use strict;
BEGIN { my $old = select STDERR; $|++; select $old; $|++; $0 = shift(@ARGV); my
$rv = do($0); die $@ if $@; } /home/shlomif/.cpanplus/5.24.1/build/qJdqo16AUc/Pe
rinci-Sub-GetArgs-Argv-0.80/Makefile.PL]...
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Perinci::Sub::GetArgs::Argv
Writing MYMETA.yml and MYMETA.json
Running [/usr/bin/make]...
cp lib/Perinci/Sub/GetArgs/Argv.pm blib/lib/Perinci/Sub/GetArgs/Argv.pm
Manifying 1 pod document
Running [/usr/bin/make test]...
PERL_DL_NONLAZY=1 "/home/shlomif/apps/perl/brew/perls/perl-5.24.1/bin/perl" "-ME
xtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; te
st_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-compile.t ....................................... ok
# No tests run!
# Failed test 'No tests run for subtest "based on simple type"'
# at t/_is_simple_or_array_of_simple_or_hash_of_simple.t line 124.
# Looks like you failed 1 test of 2.
# Failed test 'simple'
# at t/_is_simple_or_array_of_simple_or_hash_of_simple.t line 36.
Not a known type/schema name 'int' at /home/shlomif/apps/perl/brew/perls/perl-5.24.1/lib/site_perl/5.24.1/Data/Sah/Resolve.pm line 29.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 255 just after 1.
t/_is_simple_or_array_of_simple_or_hash_of_simple.t ..
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/1 subtests
t/author-pod-coverage.t .............................. skipped: these tests are for testing by the author
t/author-pod-syntax.t ................................ skipped: these tests are for testing by the author
t/gen_getopt_long_spec_from_meta.t ................... ok
Unknown option: foo
Invalid YAML/JSON in arg 'arg5' at /home/shlomif/.cpanplus/5.24.1/build/qJdqo16AUc/Perinci-Sub-GetArgs-Argv-0.80/blib/lib/Perinci/Sub/GetArgs/Argv.pm line 351.
Failed trying to parse argv #0 as JSON: 'false' expected, at character offset 1 (before "foo]") at /home/shlomif/.cpanplus/5.24.1/build/qJdqo16AUc/Perinci-Sub-GetArgs-Argv-0.80/blib/lib/Perinci/Sub/GetArgs/Argv.pm line 56.
Failed trying to parse argv #0 as JSON: 'false' expected, at character offset 1 (before "foo]") at /home/shlomif/.cpanplus/5.24.1/build/qJdqo16AUc/Perinci-Sub-GetArgs-Argv-0.80/blib/lib/Perinci/Sub/GetArgs/Argv.pm line 56.
Unknown option: arg2
Unknown option: foo_bar_baz
Unknown option: foo-bar_baz
Unknown option: foo-yaml
Unknown option: foo-json
Unknown option: nofalse
Option hs, key "1", requires a value
Value "x" invalid for option hi (number expected)
t/get_args_from_argv.t ............................... ok
t/release-rinci.t .................................... skipped: these tests are for release candidate testing
Test Summary Report
-------------------
t/_is_simple_or_array_of_simple_or_hash_of_simple.t (Wstat: 65280 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 255
Parse errors: No plan found in TAP output
Files=7, Tests=60, 1 wallclock secs ( 0.06 usr 0.00 sys + 0.39 cusr 0.03 csys = 0.48 CPU)
Result: FAIL
Failed 1/7 test programs. 1/60 subtests failed.
Makefile:889: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 255
The tests for 'Perinci::Sub::GetArgs::Argv' failed. Would you like me to proceed anyway or should we abort?
===============
Thing is - I'm trying to "cpanp -i Dist::Zilla::PluginBundle::Author::PERLANCAR" and this dep there fails.