PATH=C:\cpanfly-5.24-64\var\megalib\bin;C:\Perl-5.24-64\site\bin;C:\Perl-5.24-64\bin;C:\MinGW-64\bin;C:\cygwin\bin;C:\instantclient_11_2-64;C:\cpanfly-5.24-64\var\megalib\bin;C:\Perl-5.24-64\site\bin;C:\Perl-5.24-64\bin;C:\MinGW-64\bin;C:\cygwin\bin;C:\instantclient_11_2-64;C:\cpanfly-5.24-64\var\megalib\bin;C:\Perl-5.24-64\site\bin;C:\Perl-5.24-64\bin;C:\MinGW-64\bin;C:\cygwin\bin;C:\instantclient_11_2-64;C:\p4;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Program Files (x86)\CMake\bin Start 2016-12-13T04:22:55 ActivePerl-2400 CPAN-2.10 PATH=C:/CPANFL~1.24-/var/libs/bin;C:\CPANFL~1.24-\var\megalib\bin;C:\PERL-5~1.24-\site\bin;C:\PERL-5~1.24-\bin;C:\MinGW-64\bin;C:\cygwin\bin;C:\INSTAN~1;C:\CPANFL~1.24-\var\megalib\bin;C:\PERL-5~1.24-\site\bin;C:\PERL-5~1.24-\bin;C:\MinGW-64\bin;C:\cygwin\bin;C:\INSTAN~1;C:\CPANFL~1.24-\var\megalib\bin;C:\PERL-5~1.24-\site\bin;C:\PERL-5~1.24-\bin;C:\MinGW-64\bin;C:\cygwin\bin;C:\INSTAN~1;C:\p4;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WINDOW~1\v1.0\;C:\PROGRA~1\Git\cmd;C:\PROGRA~2\CMake\bin Reading 'C:\cpanfly-5.24-64\var\cpan\Metadata' Database was generated on Tue, 13 Dec 2016 00:53:40 GMT Checksum for C:\cpanfly-5.24-64\var\cpan\sources\authors\id\P\PE\PERLANCAR\Perinci-Sub-GetArgs-Argv-0.79.tar.gz ok Perinci-Sub-GetArgs-Argv-0.79/ Perinci-Sub-GetArgs-Argv-0.79/META.json Perinci-Sub-GetArgs-Argv-0.79/LICENSE Perinci-Sub-GetArgs-Argv-0.79/Changes Perinci-Sub-GetArgs-Argv-0.79/META.yml Perinci-Sub-GetArgs-Argv-0.79/Makefile.PL Perinci-Sub-GetArgs-Argv-0.79/t/ Perinci-Sub-GetArgs-Argv-0.79/t/author-pod-coverage.t Perinci-Sub-GetArgs-Argv-0.79/t/get_args_from_argv.t Perinci-Sub-GetArgs-Argv-0.79/t/_is_simple_or_array_of_simple_or_hash_of_simple.t Perinci-Sub-GetArgs-Argv-0.79/t/gen_getopt_long_spec_from_meta.t Perinci-Sub-GetArgs-Argv-0.79/t/release-rinci.t Perinci-Sub-GetArgs-Argv-0.79/t/author-pod-syntax.t Perinci-Sub-GetArgs-Argv-0.79/t/00-compile.t Perinci-Sub-GetArgs-Argv-0.79/README Perinci-Sub-GetArgs-Argv-0.79/dist.ini Perinci-Sub-GetArgs-Argv-0.79/lib/ Perinci-Sub-GetArgs-Argv-0.79/lib/Perinci/ Perinci-Sub-GetArgs-Argv-0.79/lib/Perinci/Sub/ Perinci-Sub-GetArgs-Argv-0.79/lib/Perinci/Sub/GetArgs/ Perinci-Sub-GetArgs-Argv-0.79/lib/Perinci/Sub/GetArgs/Argv.pm Perinci-Sub-GetArgs-Argv-0.79/MANIFEST Perinci-Sub-GetArgs-Argv-0.79/weaver.ini Configuring P/PE/PERLANCAR/Perinci-Sub-GetArgs-Argv-0.79.tar.gz with Makefile.PL >>> C:\Perl-5.24-64\bin\perl.exe Makefile.PL Checking if your kit is complete... Looks good Have \cpanfl~1.24-\var\megalib Want \perl-5~1.24-\lib Your perl and your Config.pm seem to have different ideas about the architecture they are running on. Perl thinks: [megalib] Config says: [MSWin32-x64-multi-thread] This may or may not cause problems. Please check your installation of perl if you have problems building this extension. Generating a dmake-style Makefile Writing Makefile for Perinci::Sub::GetArgs::Argv Writing MYMETA.yml and MYMETA.json PERLANCAR/Perinci-Sub-GetArgs-Argv-0.79.tar.gz C:\Perl-5.24-64\bin\perl.exe Makefile.PL -- OK Running make for P/PE/PERLANCAR/Perinci-Sub-GetArgs-Argv-0.79.tar.gz >>> dmake cp lib/Perinci/Sub/GetArgs/Argv.pm blib\lib\Perinci\Sub\GetArgs\Argv.pm PERLANCAR/Perinci-Sub-GetArgs-Argv-0.79.tar.gz dmake -- OK Running make test >>> dmake test TEST_VERBOSE=1 "C:\Perl-5.24-64\bin\perl.exe" "-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/_is_simple_or_array_of_simple_or_hash_of_simple.t .. # Subtest: simple # Subtest: simple type ok 1 - result 1..1 ok 1 - simple type # Subtest: based on simple type ok 1 - result 1..1 ok 2 - based on simple type # Subtest: non-simple type ok 1 - result 1..1 ok 3 - non-simple type # Subtest: coercible from simple type ok 1 - result 1..1 ok 4 - coercible from simple type 1..4 ok 1 - simple # Subtest: array of simple # Subtest: array without element schema ok 1 - result 1..1 ok 1 - array without element schema # Subtest: based on simple types ok 1 - result 1..1 ok 2 - based on simple types # Subtest: array of (simple types) ok 1 - result 1..1 ok 3 - array of (simple types) # Subtest: array of (based on simple types) ok 1 - result 1..1 ok 4 - array of (based on simple types) # Subtest: array of (non-simple types) ok 1 - result 1..1 ok 5 - array of (non-simple types) # Subtest: array of (coercible from simple type) ok 1 - result 1..1 ok 6 - array of (coercible from simple type) 1..6 ok 2 - array of simple # Subtest: hash of simple # Subtest: hash without element schema ok 1 - result 1..1 ok 1 - hash without element schema # Subtest: based on simple types ok 1 - result 1..1 ok 2 - based on simple types # Subtest: hash of (simple types) ok 1 - result 1..1 ok 3 - hash of (simple types) # Subtest: hash of (based on simple types) ok 1 - result 1..1 ok 4 - hash of (based on simple types) # Subtest: hash of (non-simple types) ok 1 - result 1..1 ok 5 - hash of (non-simple types) # Subtest: hash of (coercible from simple type) ok 1 - result 1..1 ok 6 - hash of (coercible from simple type) 1..6 ok 3 - hash of simple 1..3 ok 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 1 1..1 ok Unknown option: foo Invalid YAML/JSON in arg 'arg5' at C:\cpanfly-5.24-64\var\tmp\cpan_build\Perinci-Sub-GetArgs-Argv-0.79-OcSYn0\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 C:\cpanfly-5.24-64\var\tmp\cpan_build\Perinci-Sub-GetArgs-Argv-0.79-OcSYn0\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 C:\cpanfly-5.24-64\var\tmp\cpan_build\Perinci-Sub-GetArgs-Argv-0.79-OcSYn0\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 ............................... # 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: hash of scalar (--foo k1=v1 --foo k2=v2) # Subtest: invalid pair syntax ok 1 - status 1..1 ok 1 - invalid pair syntax # Subtest: int, type checked ok 1 - status 1..1 ok 2 - int, type checked # Subtest: int, 1 ok 1 - success (status == 200) ok 2 - result 1..2 ok 3 - int, 1 # Subtest: int, 2 ok 1 - success (status == 200) ok 2 - result 1..2 ok 4 - int, 2 # Subtest: str, 1 ok 1 - success (status == 200) ok 2 - result 1..2 ok 5 - str, 1 # Subtest: str, 2 ok 1 - success (status == 200) ok 2 - result 1..2 ok 6 - str, 2 # Subtest: str, one-letter alias, 1 ok 1 - success (status == 200) ok 2 - result 1..2 ok 7 - str, one-letter alias, 1 1..7 ok 37 - hash of scalar (--foo k1=v1 --foo k2=v2) # Subtest: with.dot accepted via --with-dot ok 1 - success (status == 200) ok 2 - result 1..2 ok 38 - with.dot accepted via --with-dot # Subtest: allow_extra_elems=>0 ok 1 - error (status != 200) 1..1 ok 39 - allow_extra_elems=>0 # Subtest: allow_extra_elems=>1 ok 1 - success (status == 200) ok 2 - result ok 3 - argv 1..3 ok 40 - allow_extra_elems=>1 # Subtest: without on_missing_required_args hook ok 1 - success (status == 200) ok 2 - result ok 3 1..3 ok 41 - 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 42 - 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 43 - 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 44 - Go::L configuration: bundling # Subtest: cmdline_on_getopt (basics) ok 1 - success (status == 200) ok 2 1..2 ok 45 - cmdline_on_getopt (basics) # Subtest: cmdline_on_getopt for arg with pos, feed opts ok 1 - success (status == 200) ok 2 1..2 ok 46 - 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 47 - 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 48 - 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 49 - cmdline_on_getopt for arg with pos + greedy, feed args # Subtest: error 501 (1) ok 1 - status 1..1 ok 50 - error 501 (1) # Subtest: error 501 (2) ok 1 - status 1..1 ok 51 - error 501 (2) # Subtest: option: ignore_converted_code ok 1 - status ok 2 - success (status == 200) 1..2 ok 52 - 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 53 - 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 54 - 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 55 - 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 56 - 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 57 - arg spec prop: deps 1..57 ok t/release-rinci.t .................................... skipped: these tests are for release candidate testing All tests successful. Files=7, Tests=62, 2 wallclock secs ( 0.11 usr + 0.06 sys = 0.17 CPU) Result: PASS PERLANCAR/Perinci-Sub-GetArgs-Argv-0.79.tar.gz dmake test TEST_VERBOSE=1 -- OK perlancar <perlancar@gmail.com> Get subroutine arguments from command line arguments (@ARGV) >>> (cd C:\cpanfly-5.24-64\var\tmp\cpan_build\Perinci-Sub-GetArgs-Argv-0.79-OcSYn0 && tar cvf - Perinci-Sub-GetArgs-Argv-0.79.ppd blib) | gzip -c >C:/cpanfly-5.24-64/var/REPO/P/PE/PERLANCAR/Perinci-Sub-GetArgs-Argv-0.79.tar.gz Perinci-Sub-GetArgs-Argv-0.79.ppd blib/ blib/lib/ blib/lib/Perinci/ blib/lib/Perinci/Sub/ blib/lib/Perinci/Sub/GetArgs/ blib/lib/Perinci/Sub/GetArgs/Argv.pm Finished 2016-12-13T04:23:10