PATH=/usr/bin:/bin:/home/fly1800/var/megalib/bin Start 2015-08-20T00:24:10 ActivePerl-1800 CPAN-2.00 Reading '/home/fly1800/var/cpan/Metadata' Database was generated on Thu, 20 Aug 2015 05:53:26 GMT Running make for P/PE/PERLANCAR/Perinci-Sub-GetArgs-Argv-0.69.tar.gz Fetching with LWP: http://cpan.nas1.activestate.com/authors/id/P/PE/PERLANCAR/Perinci-Sub-GetArgs-Argv-0.69.tar.gz Checksum for /home/fly1800/var/cpan/sources/authors/id/P/PE/PERLANCAR/Perinci-Sub-GetArgs-Argv-0.69.tar.gz ok Perinci-Sub-GetArgs-Argv-0.69/ Perinci-Sub-GetArgs-Argv-0.69/README Perinci-Sub-GetArgs-Argv-0.69/lib/ Perinci-Sub-GetArgs-Argv-0.69/lib/Perinci/ Perinci-Sub-GetArgs-Argv-0.69/lib/Perinci/Sub/ Perinci-Sub-GetArgs-Argv-0.69/lib/Perinci/Sub/GetArgs/ Perinci-Sub-GetArgs-Argv-0.69/lib/Perinci/Sub/GetArgs/Argv.pm Perinci-Sub-GetArgs-Argv-0.69/Makefile.PL Perinci-Sub-GetArgs-Argv-0.69/Changes Perinci-Sub-GetArgs-Argv-0.69/dist.ini Perinci-Sub-GetArgs-Argv-0.69/LICENSE Perinci-Sub-GetArgs-Argv-0.69/t/ Perinci-Sub-GetArgs-Argv-0.69/t/00-compile.t Perinci-Sub-GetArgs-Argv-0.69/t/release-pod-coverage.t Perinci-Sub-GetArgs-Argv-0.69/t/gen_getopt_long_spec_from_meta.t Perinci-Sub-GetArgs-Argv-0.69/t/release-pod-syntax.t Perinci-Sub-GetArgs-Argv-0.69/t/get_args_from_argv.t Perinci-Sub-GetArgs-Argv-0.69/t/release-rinci.t Perinci-Sub-GetArgs-Argv-0.69/weaver.ini Perinci-Sub-GetArgs-Argv-0.69/MANIFEST Perinci-Sub-GetArgs-Argv-0.69/META.json Perinci-Sub-GetArgs-Argv-0.69/META.yml CPAN.pm: Building P/PE/PERLANCAR/Perinci-Sub-GetArgs-Argv-0.69.tar.gz >>> /home/fly1800/ap1800-297235/bin/perl-static 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 >>> make cp lib/Perinci/Sub/GetArgs/Argv.pm blib/lib/Perinci/Sub/GetArgs/Argv.pm Manifying 1 pod document PERLANCAR/Perinci-Sub-GetArgs-Argv-0.69.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 "/home/fly1800/ap1800-297235/bin/perl-static" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/00-compile.t ...................... 1..1 ok 1 - Perinci/Sub/GetArgs/Argv.pm loaded ok ok t/gen_getopt_long_spec_from_meta.t .. ok 1 1..1 ok Unknown option: foo Invalid YAML/JSON in arg 'arg5' at /home/fly1800/var/cpan/build/Perinci-Sub-GetArgs-Argv-0.69-bimIJj/blib/lib/Perinci/Sub/GetArgs/Argv.pm line 235. Failed trying to parse argv #0 as JSON: 'false' expected, at character offset 1 (before "foo]") at /home/fly1800/var/cpan/build/Perinci-Sub-GetArgs-Argv-0.69-bimIJj/blib/lib/Perinci/Sub/GetArgs/Argv.pm line 57. Failed trying to parse argv #0 as JSON: 'false' expected, at character offset 1 (before "foo]") at /home/fly1800/var/cpan/build/Perinci-Sub-GetArgs-Argv-0.69-bimIJj/blib/lib/Perinci/Sub/GetArgs/Argv.pm line 57. Unknown option: arg2 Unknown option: foo_bar_baz Unknown option: foo-bar_baz Unknown option: foo-yaml Unknown option: foo-json Unknown option: nofalse t/get_args_from_argv.t .............. # Subtest: optional missing = ok ok 1 - success (status == 200) ok 2 - result 1..2 ok 1 - optional missing = ok # Subtest: optional given = ok ok 1 - success (status == 200) ok 2 - result 1..2 ok 2 - optional given = ok # Subtest: arg_pos ok 1 - success (status == 200) ok 2 - result ok 3 - remaining argv 1..3 ok 3 - arg_pos # Subtest: mixed arg_pos with opts (1) ok 1 - success (status == 200) ok 2 - result ok 3 - remaining argv 1..3 ok 4 - mixed arg_pos with opts (1) # Subtest: mixed arg_pos with opts (2) ok 1 - success (status == 200) ok 2 - result ok 3 - remaining argv 1..3 ok 5 - mixed arg_pos with opts (2) # Subtest: mixed arg_pos with opts (clash) ok 1 - error (status != 200) 1..1 ok 6 - mixed arg_pos with opts (clash) # Subtest: extra args given = fails (1) ok 1 - error (status != 200) 1..1 ok 7 - extra args given = fails (1) # Subtest: extra args given = fails (2) ok 1 - error (status != 200) 1..1 ok 8 - extra args given = fails (2) # Subtest: unknown args given = fails ok 1 - error (status != 200) 1..1 ok 9 - unknown args given = fails # Subtest: json parsing, done on nonscalars ok 1 - success (status == 200) ok 2 - result 1..2 ok 10 - json parsing, done on nonscalars # Subtest: json true/false ok 1 - success (status == 200) ok 2 - result 1..2 ok 11 - json true/false # Subtest: yaml # Subtest: yaml parsing, done on nonscalars ok 1 - success (status == 200) ok 2 - result 1..2 ok 1 - yaml parsing, done on nonscalars # Subtest: yaml+json syntax error ok 1 - error (status != 200) 1..1 ok 2 - yaml+json syntax error 1..2 ok 12 - yaml # Subtest: nonscalar argv # Subtest: nonscalar argv, yaml/json parsing ok 1 - success (status == 200) ok 2 - result 1..2 ok 1 - nonscalar argv, yaml/json parsing # Subtest: nonscalar argv, yaml/json parsing, greedy ok 1 - success (status == 200) ok 2 - result 1..2 ok 2 - nonscalar argv, yaml/json parsing, greedy 1..2 ok 13 - nonscalar argv # Subtest: opt: common_opts ok 1 - success (status == 200) ok 2 - result ok 3 - extra is parsed ok 4 - extra2 is parsed 1..4 ok 14 - opt: common_opts # Subtest: opt: common_opts (clash with arg) ok 1 - success (status == 200) ok 2 - result ok 3 - arg1 is processed ok 4 - arg2 is processed 1..4 ok 15 - opt: common_opts (clash with arg) # Subtest: opt: strict=1 ok 1 - error (status != 200) 1..1 ok 16 - opt: strict=1 # Subtest: opt: strict=0 ok 1 - success (status == 200) ok 2 - result 1..2 ok 17 - opt: strict=0 # Subtest: missing required args ok 1 - success (status == 200) ok 2 - result ok 3 1..3 ok 18 - missing required args # Subtest: underscore becomes dash (1) ok 1 - error (status != 200) 1..1 ok 19 - underscore becomes dash (1) # Subtest: underscore becomes dash (2) ok 1 - error (status != 200) 1..1 ok 20 - underscore becomes dash (2) # Subtest: underscore becomes dash (3) ok 1 - success (status == 200) ok 2 - result 1..2 ok 21 - underscore becomes dash (3) # Subtest: per_arg_yaml # Subtest: per_arg_yaml=0 ok 1 - error (status != 200) 1..1 ok 1 - per_arg_yaml=0 # Subtest: per_arg_yaml=1 ok 1 - success (status == 200) ok 2 - result 1..2 ok 2 - per_arg_yaml=1 1..2 ok 22 - per_arg_yaml # Subtest: per_arg_json=0 ok 1 - error (status != 200) 1..1 ok 23 - per_arg_json=0 # Subtest: per_arg_json=1 ok 1 - success (status == 200) ok 2 - result 1..2 ok 24 - per_arg_json=1 # Subtest: argv defaults to @ARGV ok 1 - success (status == 200) ok 2 - result 1..2 ok 25 - argv defaults to @ARGV # Subtest: one-letter args get -X as well as --X ok 1 - success (status == 200) ok 2 - result 1..2 ok 26 - one-letter args get -X as well as --X # Subtest: bool args with length > 1 get --XXX as well as --noXXX ok 1 - success (status == 200) ok 2 - result 1..2 ok 27 - bool args with length > 1 get --XXX as well as --noXXX # Subtest: cmdline_aliases: S ok 1 - success (status == 200) ok 2 - result 1..2 ok 28 - cmdline_aliases: S # Subtest: cmdline_aliases: S_foo ok 1 - success (status == 200) ok 2 - result 1..2 ok 29 - cmdline_aliases: S_foo # Subtest: cmdline_aliases: bool alias with code does not get --noX # Subtest: getargs(--true) ok 1 - success (status == 200) 1..1 ok 1 - getargs(--true) # Subtest: getargs(--notrue) ok 1 - success (status == 200) 1..1 ok 2 - getargs(--notrue) # Subtest: getargs(--false) ok 1 - success (status == 200) 1..1 ok 3 - getargs(--false) # Subtest: getargs(--nofalse) ok 1 - error (status != 200) 1..1 ok 4 - getargs(--nofalse) 1..4 ok 30 - cmdline_aliases: bool alias with code does not get --noX # Subtest: array of scalar (int, 1) ok 1 - success (status == 200) ok 2 - result 1..2 ok 31 - array of scalar (int, 1) # Subtest: array of scalar (int, 2) ok 1 - success (status == 200) ok 2 - result 1..2 ok 32 - array of scalar (int, 2) # Subtest: array of scalar (str, 1) ok 1 - success (status == 200) ok 2 - result 1..2 ok 33 - array of scalar (str, 1) # Subtest: array of scalar (str, 2) ok 1 - success (status == 200) ok 2 - result 1..2 ok 34 - array of scalar (str, 2) # Subtest: array of scalar (str, one-letter alias, 1) ok 1 - success (status == 200) ok 2 - result 1..2 ok 35 - array of scalar (str, one-letter alias, 1) # Subtest: array of scalar (str, one-letter alias, 2) ok 1 - success (status == 200) ok 2 - result 1..2 ok 36 - array of scalar (str, one-letter alias, 2) # Subtest: with.dot accepted via --with-dot ok 1 - success (status == 200) ok 2 - result 1..2 ok 37 - with.dot accepted via --with-dot # Subtest: allow_extra_elems=>0 ok 1 - error (status != 200) 1..1 ok 38 - allow_extra_elems=>0 # Subtest: allow_extra_elems=>1 ok 1 - success (status == 200) ok 2 - result ok 3 - argv 1..3 ok 39 - allow_extra_elems=>1 # Subtest: without on_missing_required_args hook ok 1 - success (status == 200) ok 2 - result ok 3 1..3 ok 40 - without on_missing_required_args hook # Subtest: returning 1 from on_missing_required_args hook ok 1 - success (status == 200) ok 2 - result ok 3 1..3 ok 41 - returning 1 from on_missing_required_args hook # Subtest: arg values set by on_missing_required_args hook ok 1 - success (status == 200) ok 2 - result 1..2 ok 42 - arg values set by on_missing_required_args hook # Subtest: Go::L configuration: bundling ok 1 - success (status == 200) ok 2 - result 1..2 ok 43 - Go::L configuration: bundling # Subtest: cmdline_on_getopt (basics) ok 1 - success (status == 200) ok 2 1..2 ok 44 - cmdline_on_getopt (basics) # Subtest: cmdline_on_getopt for arg with pos, feed opts ok 1 - success (status == 200) ok 2 1..2 ok 45 - cmdline_on_getopt for arg with pos, feed opts # Subtest: cmdline_on_getopt for arg with pos, feed arg ok 1 - success (status == 200) ok 2 1..2 ok 46 - cmdline_on_getopt for arg with pos, feed arg # Subtest: cmdline_on_getopt for arg with pos + greedy, feed opts ok 1 - success (status == 200) ok 2 1..2 ok 47 - cmdline_on_getopt for arg with pos + greedy, feed opts # Subtest: cmdline_on_getopt for arg with pos + greedy, feed args ok 1 - success (status == 200) ok 2 1..2 ok 48 - cmdline_on_getopt for arg with pos + greedy, feed args # Subtest: error 501 (1) ok 1 - status 1..1 ok 49 - error 501 (1) # Subtest: error 501 (2) ok 1 - status 1..1 ok 50 - error 501 (2) # Subtest: option: ignore_converted_code ok 1 - status ok 2 - success (status == 200) 1..2 ok 51 - option: ignore_converted_code # Subtest: args option # Subtest: no preset args -> missing ok 1 - success (status == 200) ok 2 - result ok 3 1..3 ok 1 - no preset args -> missing # Subtest: arg a is preset -> ok ok 1 - success (status == 200) ok 2 - result ok 3 1..3 ok 2 - arg a is preset -> ok # Subtest: unknown arg in input args is ok ok 1 - success (status == 200) ok 2 - result 1..2 ok 3 - unknown arg in input args is ok # Subtest: argv overrides input args ok 1 - success (status == 200) ok 2 - result 1..2 ok 4 - argv overrides input args 1..4 ok 52 - args option # Subtest: arg submetadata # Subtest: getargs(--a, 1, --b, 2, --c-a, 3, --c-b, 4) ok 1 - success (status == 200) ok 2 - result 1..2 ok 1 - getargs(--a, 1, --b, 2, --c-a, 3, --c-b, 4) 1..1 ok 53 - arg submetadata # Subtest: arg element submetadata # Subtest: getargs(--a, 1, --b, 2, --c-a, 3, --c-b, 4) ok 1 - success (status == 200) ok 2 - result 1..2 ok 1 - getargs(--a, 1, --b, 2, --c-a, 3, --c-b, 4) # Subtest: getargs(--a, 1, --b, 2, --c-a, 3, --c-a, 4, --c-b, 5) ok 1 - success (status == 200) ok 2 - result 1..2 ok 2 - getargs(--a, 1, --b, 2, --c-a, 3, --c-a, 4, --c-b, 5) 1..2 ok 54 - arg element submetadata # Subtest: base64 # Subtest: getargs(--data, 123) ok 1 - success (status == 200) ok 2 - result 1..2 ok 1 - getargs(--data, 123) # Subtest: getargs(--data-base64, AAAA) ok 1 - success (status == 200) ok 2 - result 1..2 ok 2 - getargs(--data-base64, AAAA) 1..2 ok 55 - base64 # Subtest: arg spec prop: deps # Subtest: a2 with a1 present -> ok ok 1 - success (status == 200) 1..1 ok 1 - a2 with a1 present -> ok # Subtest: a1 without a2 present -> ok ok 1 - success (status == 200) 1..1 ok 2 - a1 without a2 present -> ok # Subtest: a2 without a1 present -> error ok 1 - error (status != 200) 1..1 ok 3 - a2 without a1 present -> error 1..3 ok 56 - arg spec prop: deps 1..56 ok t/release-pod-coverage.t ............ skipped: these tests are for release candidate testing t/release-pod-syntax.t .............. skipped: these tests are for release candidate testing t/release-rinci.t ................... skipped: these tests are for release candidate testing All tests successful. Files=6, Tests=58, 1 wallclock secs ( 0.07 usr 0.05 sys + 0.53 cusr 0.10 csys = 0.75 CPU) Result: PASS PERLANCAR/Perinci-Sub-GetArgs-Argv-0.69.tar.gz make test TEST_VERBOSE=1 -- OK perlancar <perlancar@gmail.com> Get subroutine arguments from command line arguments (@ARGV) >>> (cd /home/fly1800/var/cpan/build/Perinci-Sub-GetArgs-Argv-0.69-bimIJj && tar cvf - Perinci-Sub-GetArgs-Argv-0.69.ppd blib) | gzip -c >/home/fly1800/var/REPO/P/PE/PERLANCAR/Perinci-Sub-GetArgs-Argv-0.69.tar.gz Perinci-Sub-GetArgs-Argv-0.69.ppd blib/ blib/lib/ blib/lib/Perinci/ blib/lib/Perinci/Sub/ blib/lib/Perinci/Sub/GetArgs/ blib/lib/Perinci/Sub/GetArgs/Argv.pm blib/man3/ blib/man3/Perinci::Sub::GetArgs::Argv.3 >>> mv /home/fly1800/var/cpan/build/Perinci-Sub-GetArgs-Argv-0.69-bimIJj/Perinci-Sub-GetArgs-Argv-0.69.ppd /home/fly1800/var/REPO/P/PE/PERLANCAR VmSize: 305952 kB Finished 2015-08-20T00:24:15