PATH=/usr/bin:/bin:/Users/fly2200/var/megalib/bin Start 2015-11-20T06:22:49 ActivePerl-2200 CPAN-2.00 Reading '/Users/fly2200/var/cpan/Metadata' Database was generated on Fri, 20 Nov 2015 04:53:45 GMT Running make for P/PE/PERLANCAR/Bencher-Scenario-SetOperationModules-0.06.tar.gz Fetching with LWP: http://ppm.activestate.com/CPAN/authors/id/P/PE/PERLANCAR/Bencher-Scenario-SetOperationModules-0.06.tar.gz Fetching with LWP: http://ppm.activestate.com/CPAN/authors/id/P/PE/PERLANCAR/CHECKSUMS Checksum for /Users/fly2200/var/cpan/sources/authors/id/P/PE/PERLANCAR/Bencher-Scenario-SetOperationModules-0.06.tar.gz ok Bencher-Scenario-SetOperationModules-0.06/ Bencher-Scenario-SetOperationModules-0.06/Changes Bencher-Scenario-SetOperationModules-0.06/LICENSE Bencher-Scenario-SetOperationModules-0.06/MANIFEST Bencher-Scenario-SetOperationModules-0.06/lib/ Bencher-Scenario-SetOperationModules-0.06/lib/Bencher/ Bencher-Scenario-SetOperationModules-0.06/lib/Bencher/Scenario/ Bencher-Scenario-SetOperationModules-0.06/lib/Bencher/Scenario/SetOperationModules.pm Bencher-Scenario-SetOperationModules-0.06/README Bencher-Scenario-SetOperationModules-0.06/META.json Bencher-Scenario-SetOperationModules-0.06/Makefile.PL Bencher-Scenario-SetOperationModules-0.06/dist.ini Bencher-Scenario-SetOperationModules-0.06/t/ Bencher-Scenario-SetOperationModules-0.06/t/release-pod-coverage.t Bencher-Scenario-SetOperationModules-0.06/t/00-compile.t Bencher-Scenario-SetOperationModules-0.06/t/release-pod-syntax.t Bencher-Scenario-SetOperationModules-0.06/t/bench-SetOperationModules.t Bencher-Scenario-SetOperationModules-0.06/weaver.ini Bencher-Scenario-SetOperationModules-0.06/META.yml CPAN.pm: Building P/PE/PERLANCAR/Bencher-Scenario-SetOperationModules-0.06.tar.gz >>> /Users/fly2200/ap2200-299195/bin/perl-dynamic Makefile.PL Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Bencher::Scenario::SetOperationModules Writing MYMETA.yml and MYMETA.json ---- Unsatisfied dependencies detected during ---- ---- PERLANCAR/Bencher-Scenario-SetOperationModules-0.06.tar.gz ---- Bencher [build_requires] Running make test Delayed until after prerequisites Running test for module 'Bencher' Running make for P/PE/PERLANCAR/Bencher-0.13.tar.gz Fetching with LWP: http://ppm.activestate.com/CPAN/authors/id/P/PE/PERLANCAR/Bencher-0.13.tar.gz Checksum for /Users/fly2200/var/cpan/sources/authors/id/P/PE/PERLANCAR/Bencher-0.13.tar.gz ok Bencher-0.13/ Bencher-0.13/Changes Bencher-0.13/LICENSE Bencher-0.13/MANIFEST Bencher-0.13/lib/ Bencher-0.13/lib/Bencher/ Bencher-0.13/lib/Bencher/Scenario/ Bencher-0.13/lib/Bencher/Scenario/Example.pm Bencher-0.13/lib/Bencher/Scenario/Example/ Bencher-0.13/lib/Bencher/Scenario/Example/CommandNotFound.pm Bencher-0.13/lib/Bencher.pm Bencher-0.13/lib/Sah/ Bencher-0.13/lib/Sah/Schema/ Bencher-0.13/lib/Sah/Schema/Bencher/ Bencher-0.13/lib/Sah/Schema/Bencher/Scenario.pm Bencher-0.13/README Bencher-0.13/META.json Bencher-0.13/Makefile.PL Bencher-0.13/dist.ini Bencher-0.13/t/ Bencher-0.13/t/release-rinci.t Bencher-0.13/t/release-pod-coverage.t Bencher-0.13/t/00-compile.t Bencher-0.13/t/release-pod-syntax.t Bencher-0.13/weaver.ini Bencher-0.13/bin/ Bencher-0.13/bin/bencher Bencher-0.13/META.yml CPAN.pm: Building P/PE/PERLANCAR/Bencher-0.13.tar.gz >>> /Users/fly2200/ap2200-299195/bin/perl-dynamic Makefile.PL Warning: prerequisite Perinci::CmdLine::Any 0 not found. Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Bencher Writing MYMETA.yml and MYMETA.json Modifying Makefile to generate shell completion on install ---- Unsatisfied dependencies detected during ---- ---- PERLANCAR/Bencher-0.13.tar.gz ---- Perinci::CmdLine::Any [requires] Running make test Delayed until after prerequisites Running test for module 'Perinci::CmdLine::Any' Running make for P/PE/PERLANCAR/Perinci-CmdLine-Any-0.12.tar.gz Checksum for /Users/fly2200/var/cpan/sources/authors/id/P/PE/PERLANCAR/Perinci-CmdLine-Any-0.12.tar.gz ok Perinci-CmdLine-Any-0.12/ Perinci-CmdLine-Any-0.12/README Perinci-CmdLine-Any-0.12/lib/ Perinci-CmdLine-Any-0.12/lib/Perinci/ Perinci-CmdLine-Any-0.12/lib/Perinci/CmdLine/ Perinci-CmdLine-Any-0.12/lib/Perinci/CmdLine/Any.pm Perinci-CmdLine-Any-0.12/Makefile.PL Perinci-CmdLine-Any-0.12/Changes Perinci-CmdLine-Any-0.12/dist.ini Perinci-CmdLine-Any-0.12/LICENSE Perinci-CmdLine-Any-0.12/t/ Perinci-CmdLine-Any-0.12/t/00-compile.t Perinci-CmdLine-Any-0.12/t/release-pod-coverage.t Perinci-CmdLine-Any-0.12/t/release-pod-syntax.t Perinci-CmdLine-Any-0.12/t/release-rinci.t Perinci-CmdLine-Any-0.12/weaver.ini Perinci-CmdLine-Any-0.12/MANIFEST Perinci-CmdLine-Any-0.12/META.json Perinci-CmdLine-Any-0.12/META.yml CPAN.pm: Building P/PE/PERLANCAR/Perinci-CmdLine-Any-0.12.tar.gz >>> /Users/fly2200/ap2200-299195/bin/perl-dynamic Makefile.PL Warning: prerequisite Perinci::CmdLine::Lite 0 not found. Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Perinci::CmdLine::Any Writing MYMETA.yml and MYMETA.json ---- Unsatisfied dependencies detected during ---- ---- PERLANCAR/Perinci-CmdLine-Any-0.12.tar.gz ---- Perinci::CmdLine::Lite [requires] Running make test Delayed until after prerequisites Running test for module 'Perinci::CmdLine::Lite' Running make for P/PE/PERLANCAR/Perinci-CmdLine-Lite-1.38.tar.gz Checksum for /Users/fly2200/var/cpan/sources/authors/id/P/PE/PERLANCAR/Perinci-CmdLine-Lite-1.38.tar.gz ok Perinci-CmdLine-Lite-1.38/ Perinci-CmdLine-Lite-1.38/README Perinci-CmdLine-Lite-1.38/lib/ Perinci-CmdLine-Lite-1.38/lib/Perinci/ Perinci-CmdLine-Lite-1.38/lib/Perinci/CmdLine/ Perinci-CmdLine-Lite-1.38/lib/Perinci/CmdLine/Lite.pm Perinci-CmdLine-Lite-1.38/lib/Perinci/CmdLine/Base.pm Perinci-CmdLine-Lite-1.38/lib/Perinci/CmdLine/Util/ Perinci-CmdLine-Lite-1.38/lib/Perinci/CmdLine/Util/Config.pm Perinci-CmdLine-Lite-1.38/Makefile.PL Perinci-CmdLine-Lite-1.38/share/ Perinci-CmdLine-Lite-1.38/share/templates/ Perinci-CmdLine-Lite-1.38/share/templates/description.txt Perinci-CmdLine-Lite-1.38/share/templates/synopsis.txt Perinci-CmdLine-Lite-1.38/Changes Perinci-CmdLine-Lite-1.38/dist.ini Perinci-CmdLine-Lite-1.38/LICENSE Perinci-CmdLine-Lite-1.38/t/ Perinci-CmdLine-Lite-1.38/t/00-compile.t Perinci-CmdLine-Lite-1.38/t/suite.t Perinci-CmdLine-Lite-1.38/t/release-rinci.t Perinci-CmdLine-Lite-1.38/t/author-pod-syntax.t Perinci-CmdLine-Lite-1.38/t/author-pod-coverage.t Perinci-CmdLine-Lite-1.38/weaver.ini Perinci-CmdLine-Lite-1.38/MANIFEST Perinci-CmdLine-Lite-1.38/META.json Perinci-CmdLine-Lite-1.38/META.yml Perinci-CmdLine-Lite-1.38/devscripts/ Perinci-CmdLine-Lite-1.38/devscripts/bench-startup CPAN.pm: Building P/PE/PERLANCAR/Perinci-CmdLine-Lite-1.38.tar.gz >>> /Users/fly2200/ap2200-299195/bin/perl-dynamic Makefile.PL Warning: prerequisite Progress::Any::Output::TermProgressBarColor 0.17 not found. Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Perinci::CmdLine::Lite Writing MYMETA.yml and MYMETA.json ---- Unsatisfied dependencies detected during ---- ---- PERLANCAR/Perinci-CmdLine-Lite-1.38.tar.gz ---- Progress::Any::Output::TermProgressBarColor [requires] Running make test Delayed until after prerequisites Running test for module 'Progress::Any::Output::TermProgressBarColor' Running make for P/PE/PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.21.tar.gz Checksum for /Users/fly2200/var/cpan/sources/authors/id/P/PE/PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.21.tar.gz ok Progress-Any-Output-TermProgressBarColor-0.21/ Progress-Any-Output-TermProgressBarColor-0.21/Changes Progress-Any-Output-TermProgressBarColor-0.21/LICENSE Progress-Any-Output-TermProgressBarColor-0.21/MANIFEST Progress-Any-Output-TermProgressBarColor-0.21/lib/ Progress-Any-Output-TermProgressBarColor-0.21/lib/Progress/ Progress-Any-Output-TermProgressBarColor-0.21/lib/Progress/Any/ Progress-Any-Output-TermProgressBarColor-0.21/lib/Progress/Any/Output/ Progress-Any-Output-TermProgressBarColor-0.21/lib/Progress/Any/Output/TermProgressBarColor.pm Progress-Any-Output-TermProgressBarColor-0.21/README Progress-Any-Output-TermProgressBarColor-0.21/META.json Progress-Any-Output-TermProgressBarColor-0.21/Makefile.PL Progress-Any-Output-TermProgressBarColor-0.21/dist.ini Progress-Any-Output-TermProgressBarColor-0.21/t/ Progress-Any-Output-TermProgressBarColor-0.21/t/release-rinci.t Progress-Any-Output-TermProgressBarColor-0.21/t/release-pod-coverage.t Progress-Any-Output-TermProgressBarColor-0.21/t/00-compile.t Progress-Any-Output-TermProgressBarColor-0.21/t/01-basic.t Progress-Any-Output-TermProgressBarColor-0.21/t/release-pod-syntax.t Progress-Any-Output-TermProgressBarColor-0.21/weaver.ini Progress-Any-Output-TermProgressBarColor-0.21/META.yml CPAN.pm: Building P/PE/PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.21.tar.gz >>> /Users/fly2200/ap2200-299195/bin/perl-dynamic Makefile.PL Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Progress::Any::Output::TermProgressBarColor Writing MYMETA.yml and MYMETA.json >>> make cp lib/Progress/Any/Output/TermProgressBarColor.pm blib/lib/Progress/Any/Output/TermProgressBarColor.pm Manifying 1 pod document PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.21.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 "/Users/fly2200/ap2200-299195/bin/perl-dynamic" "-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 - Progress/Any/Output/TermProgressBarColor.pm loaded ok ok # Failed test at t/01-basic.t line 18. # ' 10% []1s left ' # doesn't match '(?^:foo)' # Looks like you failed 1 test of 2. # Failed test 'default' # at t/01-basic.t line 20. # Failed test at t/01-basic.t line 28. # 'Use of uninitialized value $cd in numeric ge (>=) at /Users/fly2200/var/megalib/Color/ANSI/Util.pm line 281. # Use of uninitialized value $cd in numeric ge (>=) at /Users/fly2200/var/megalib/Color/ANSI/Util.pm line 283. # Use of uninitialized value $cd in numeric ge (>=) at /Users/fly2200/var/megalib/Color/ANSI/Util.pm line 281. # Use of uninitialized value $cd in numeric ge (>=) at /Users/fly2200/var/megalib/Color/ANSI/Util.pm line 283. #  20% []1s left ' # doesn't match '(?^:foo)' # Looks like you failed 1 test of 2. # Failed test 'fh option' # at t/01-basic.t line 30. # Failed test at t/01-basic.t line 41. # ' 30% []1s left ' # doesn't match '(?^:foo)' # Looks like you failed 1 test of 2. # Failed test 'default (wide)' # at t/01-basic.t line 43. # Looks like you failed 3 tests of 3. t/01-basic.t .............. # Subtest: default not ok 1 ok 2 1..2 not ok 1 - default # Subtest: fh option not ok 1 ok 2 1..2 not ok 2 - fh option # Subtest: default (wide) not ok 1 ok 2 1..2 not ok 3 - default (wide) 1..3 Dubious, test returned 3 (wstat 768, 0x300) Failed 3/3 subtests 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 Test Summary Report ------------------- t/01-basic.t (Wstat: 768 Tests: 3 Failed: 3) Failed tests: 1-3 Non-zero exit status: 3 Files=5, Tests=4, 1 wallclock secs ( 0.03 usr 0.02 sys + 0.22 cusr 0.05 csys = 0.32 CPU) Result: FAIL Failed 1/5 test programs. 3/4 subtests failed. make: *** [test_dynamic] Error 255 PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.21.tar.gz make test TEST_VERBOSE=1 -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.21.tar.gz Running make for P/PE/PERLANCAR/Perinci-CmdLine-Lite-1.38.tar.gz Has already been unwrapped into directory /Users/fly2200/var/cpan/build/Perinci-CmdLine-Lite-1.38-Ey5g4h CPAN.pm: Building P/PE/PERLANCAR/Perinci-CmdLine-Lite-1.38.tar.gz Warning: Prerequisite 'Progress::Any::Output::TermProgressBarColor => 0.17' for 'PERLANCAR/Perinci-CmdLine-Lite-1.38.tar.gz' failed when processing 'PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.21.tar.gz' with 'make_test => NO'. Continuing, but chances to succeed are limited. >>> make cp share/templates/description.txt blib/lib/auto/share/dist/Perinci-CmdLine-Lite/templates/description.txt cp share/templates/synopsis.txt blib/lib/auto/share/dist/Perinci-CmdLine-Lite/templates/synopsis.txt cp lib/Perinci/CmdLine/Util/Config.pm blib/lib/Perinci/CmdLine/Util/Config.pm cp lib/Perinci/CmdLine/Lite.pm blib/lib/Perinci/CmdLine/Lite.pm cp lib/Perinci/CmdLine/Base.pm blib/lib/Perinci/CmdLine/Base.pm Manifying 3 pod documents PERLANCAR/Perinci-CmdLine-Lite-1.38.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 Skip blib/lib/auto/share/dist/Perinci-CmdLine-Lite/templates/synopsis.txt (unchanged) Skip blib/lib/auto/share/dist/Perinci-CmdLine-Lite/templates/description.txt (unchanged) PERL_DL_NONLAZY=1 "/Users/fly2200/ap2200-299195/bin/perl-dynamic" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/00-compile.t ........... 1..3 ok 1 - Perinci/CmdLine/Base.pm loaded ok ok 2 - Perinci/CmdLine/Lite.pm loaded ok ok 3 - Perinci/CmdLine/Util/Config.pm loaded ok 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/release-rinci.t ........ skipped: these tests are for release candidate testing t/suite.t ................ # Subtest: help action ok 1 - dummy # Subtest: --help # Generated CLI script at /tmp/eFYt3qt4jk/cli72LaHAjR # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/cli72LaHAjR', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/Tiny/noop' # } # argv: [ # '--help' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 2 - --help # Subtest: extra args is okay # Generated CLI script at /tmp/eFYt3qt4jk/cliEETM2WmW # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/cliEETM2WmW', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/Tiny/noop' # } # argv: [ # '--help', # '1', # '2', # '3' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 3 - extra args is okay # Subtest: help for cli with subcommands # Generated CLI script at /tmp/eFYt3qt4jk/cliFDSrZeuZ # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/cliFDSrZeuZ', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'subcommands' => [ # 'sc1:/Perinci/Examples/Tiny/noop' # ], # 'url' => '/Perinci/Examples/Tiny/' # } # argv: [ # '--help' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 4 - help for cli with subcommands # Subtest: help on a subcommand # Generated CLI script at /tmp/eFYt3qt4jk/clizd2CsfJV # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/clizd2CsfJV', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'subcommands' => [ # 'sc1:/Perinci/Examples/Tiny/noop' # ], # 'url' => '/Perinci/Examples/Tiny/' # } # argv: [ # 'sc1', # '--help' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like ok 3 - stdout_unlike 1..3 ok 5 - help on a subcommand 1..5 ok 1 - help action # Subtest: version action ok 1 - dummy # Subtest: --version # Generated CLI script at /tmp/eFYt3qt4jk/cliOkoP6DB8 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/cliOkoP6DB8', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/Tiny/noop' # } # argv: [ # '--version' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 2 - --version 1..2 ok 2 - version action # Subtest: subcommands action ok 1 - dummy # Subtest: --subcommands # Generated CLI script at /tmp/eFYt3qt4jk/cliW67zzvD5 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/cliW67zzvD5', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'subcommands' => [ # 'noop:/Perinci/Examples/Tiny/noop', # 'odd_even:/Perinci/Examples/Tiny/odd_even' # ], # 'url' => '/Perinci/Examples/Tiny/' # } # argv: [ # '--subcommands' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 2 - --subcommands # Subtest: unknown subcommand = error # Generated CLI script at /tmp/eFYt3qt4jk/cliEYlcEnxG # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/cliEYlcEnxG', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'subcommands' => [ # 'noop:/Perinci/Examples/Tiny/noop', # 'odd_even:/Perinci/Examples/Tiny/odd_even' # ], # 'url' => '/Perinci/Examples/Tiny/' # } # argv: [ # 'foo' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code 1..1 ok 3 - unknown subcommand = error # Subtest: default_subcommand # Generated CLI script at /tmp/eFYt3qt4jk/cliVn0tN7NB # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'default_subcommand' => 'noop', # 'output_file' => '/tmp/eFYt3qt4jk/cliVn0tN7NB', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'subcommands' => [ # 'noop:/Perinci/Examples/Tiny/noop', # 'odd_even:/Perinci/Examples/Tiny/odd_even' # ], # 'url' => '/Perinci/Examples/Tiny/' # } # argv: [] # Script's stdout: <> # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 4 - default_subcommand # Subtest: default_subcommand 2 # Generated CLI script at /tmp/eFYt3qt4jk/cliuj2uI2KG # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'default_subcommand' => 'odd_even', # 'output_file' => '/tmp/eFYt3qt4jk/cliuj2uI2KG', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'subcommands' => [ # 'noop:/Perinci/Examples/Tiny/noop', # 'odd_even:/Perinci/Examples/Tiny/odd_even' # ], # 'url' => '/Perinci/Examples/Tiny/' # } # argv: [] # Script's stdout: # Script's stderr: <> ok 1 - exit_code 1..1 ok 5 - default_subcommand 2 1..5 ok 3 - subcommands action # Subtest: call action ok 1 - dummy # Subtest: embedded function+meta works # Generated CLI script at /tmp/eFYt3qt4jk/cliq6K2xz8p # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'code_before_instantiate_cmdline' => ' # our %SPEC; # $SPEC{square} = {v=>1.1, args=>{num=>{schema=>\'num*\', req=>1, pos=>0}}}; # sub square { my %args=@_; [200, "OK", $args{num}**2] } # ', # 'output_file' => '/tmp/eFYt3qt4jk/cliq6K2xz8p', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/main/square' # } # argv: [ # '12' # ] # Script's stdout: <144 # > # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 2 - embedded function+meta works # Subtest: extra args not allowed # Generated CLI script at /tmp/eFYt3qt4jk/cli7YweEOg5 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/cli7YweEOg5', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/Tiny/noop' # } # argv: [ # '1' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code 1..1 ok 3 - extra args not allowed # Subtest: missing required args -> error # Generated CLI script at /tmp/eFYt3qt4jk/cliAa_C8Agq # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/cliAa_C8Agq', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/Tiny/odd_even' # } # argv: [] # Script's stdout: # Script's stderr: <> ok 1 - exit_code 1..1 ok 4 - missing required args -> error # Subtest: common option: --format # Generated CLI script at /tmp/eFYt3qt4jk/cliqEhE_x7r # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/cliqEhE_x7r', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/Tiny/Args/as_is' # } # argv: [ # '--arg', # 'abc', # '--format', # 'json' # ] # Script's stdout: <[200,"OK","abc",{}] # > # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 5 - common option: --format # Subtest: common option: --json # Generated CLI script at /tmp/eFYt3qt4jk/cliSdXMuOCY # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/cliSdXMuOCY', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/Tiny/Args/as_is' # } # argv: [ # '--arg', # 'abc', # '--json' # ] # Script's stdout: <[200,"OK","abc",{}] # > # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 6 - common option: --json # Subtest: common option: --naked-res # Generated CLI script at /tmp/eFYt3qt4jk/cliw3LtEYVv # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/cliw3LtEYVv', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/Tiny/Args/as_is' # } # argv: [ # '--arg', # 'abc', # '--json', # '--naked-res' # ] # Script's stdout: <"abc" # > # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 7 - common option: --naked-res # Subtest: common option: --no-naked-res # Generated CLI script at /tmp/eFYt3qt4jk/clirp9342YV # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/clirp9342YV', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/Tiny/Args/as_is' # } # argv: [ # '--arg', # 'abc', # '--json', # '--no-naked-res' # ] # Script's stdout: <[200,"OK","abc",{}] # > # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 8 - common option: --no-naked-res # Subtest: common option: --cmd # Generated CLI script at /tmp/eFYt3qt4jk/clil70Obtzw # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'default_subcommand' => 'noop', # 'output_file' => '/tmp/eFYt3qt4jk/clil70Obtzw', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'subcommands' => [ # 'noop:/Perinci/Examples/Tiny/noop', # 'odd_even:/Perinci/Examples/Tiny/odd_even' # ], # 'url' => '/Perinci/Examples/Tiny/' # } # argv: [ # '--cmd', # 'odd_even', # '5' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 9 - common option: --cmd # Subtest: json argument # Generated CLI script at /tmp/eFYt3qt4jk/cliKV9msX_T # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/cliKV9msX_T', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/Tiny/Args/as_is' # } # argv: [ # '--arg-json', # '["a","b"]', # '--json' # ] # Script's stdout: <[200,"OK",["a","b"],{}] # > # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 10 - json argument 1..10 ok 4 - call action # Subtest: cmdline_src (error cases) ok 1 - dummy # Subtest: unknown value # Generated CLI script at /tmp/eFYt3qt4jk/clieBh_2pF2 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/clieBh_2pF2', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_unknown' # } # argv: [] # Script's stdout: # Script's stderr: <> ok 1 - exit_code 1..1 ok 2 - unknown value # Subtest: arg type not str/array # Generated CLI script at /tmp/eFYt3qt4jk/clipt6Bs7NL # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/clipt6Bs7NL', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_invalid_arg_type' # } # argv: [] # Script's stdout: # Script's stderr: <> ok 1 - exit_code 1..1 ok 3 - arg type not str/array # Subtest: multiple stdin # Generated CLI script at /tmp/eFYt3qt4jk/clioOJ7hlU9 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/clioOJ7hlU9', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_multi_stdin' # } # argv: [ # 'a', # 'b' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code 1..1 ok 4 - multiple stdin 1..4 ok 5 - cmdline_src (error cases) # Subtest: cmdline_src (file) ok 1 - dummy # Subtest: file 1 # Generated CLI script at /tmp/eFYt3qt4jk/clikc2ATjQR # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/clikc2ATjQR', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file' # } # argv: [ # '--a1', # '/tmp/eFYt3qt4jk/infile1' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 2 - file 1 # Subtest: file 1 (special hint arguments passed) # Generated CLI script at /tmp/eFYt3qt4jk/clitWmNI5t0 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/clitWmNI5t0', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file' # } # argv: [ # '--json', # '--a1', # '/tmp/eFYt3qt4jk/infile1' # ] # Script's stdout: <[200,"OK","a1=foo\na2=[]",{"func.args":{"-cmdline_src_a1":"file","-cmdline_srcfilenames_a1":["/tmp/eFYt3qt4jk/infile1"],"a1":"foo"}}] # > # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like ok 3 - stdout_like 1..3 ok 3 - file 1 (special hint arguments passed) # Subtest: file 2 # Generated CLI script at /tmp/eFYt3qt4jk/cli_3nZDdWr # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/cli_3nZDdWr', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file' # } # argv: [ # '--a1', # '/tmp/eFYt3qt4jk/infile1', # '--a2', # '/tmp/eFYt3qt4jk/infile2' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 4 - file 2 # Subtest: file 2 (special hint arguments passed) # Generated CLI script at /tmp/eFYt3qt4jk/cliUHpmHsfJ # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/cliUHpmHsfJ', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file' # } # argv: [ # '--json', # '--a1', # '/tmp/eFYt3qt4jk/infile1', # '--a2', # '/tmp/eFYt3qt4jk/infile2' # ] # Script's stdout: <[200,"OK","a1=foo\na2=[bar\n,baz]",{"func.args":{"-cmdline_src_a1":"file","-cmdline_src_a2":"file","-cmdline_srcfilenames_a1":["/tmp/eFYt3qt4jk/infile1"],"-cmdline_srcfilenames_a2":["/tmp/eFYt3qt4jk/infile2"],"a1":"foo","a2":["bar\n","baz"]}}] # > # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like ok 3 - stdout_like ok 4 - stdout_like ok 5 - stdout_like 1..5 ok 5 - file 2 (special hint arguments passed) # Subtest: file not found # Generated CLI script at /tmp/eFYt3qt4jk/cli43_1MQtE # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/cli43_1MQtE', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file' # } # argv: [ # '--a1', # '/tmp/eFYt3qt4jk/infile1/x' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code 1..1 ok 6 - file not found # Subtest: file, missing required arg # Generated CLI script at /tmp/eFYt3qt4jk/cliEwFNtWSB # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/cliEwFNtWSB', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file' # } # argv: [ # '--a2', # '/tmp/eFYt3qt4jk/infile2' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code 1..1 ok 7 - file, missing required arg 1..7 ok 6 - cmdline_src (file) # Subtest: cmdline_src (stdin) ok 1 - dummy # Subtest: stdin str # Generated CLI script at /tmp/eFYt3qt4jk/cliNYWzsi6Z # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/cliNYWzsi6Z', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_str' # } # argv: [] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 2 - stdin str # Subtest: stdin str (special hint arguments passed) # Generated CLI script at /tmp/eFYt3qt4jk/cliEx41SpAp # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/cliEx41SpAp', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_str' # } # argv: [ # '--json' # ] # Script's stdout: <[200,"OK","a1=bar\nbaz",{"func.args":{"-cmdline_src_a1":"stdin","a1":"bar\nbaz"}}] # > # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 3 - stdin str (special hint arguments passed) # Subtest: stdin array # Generated CLI script at /tmp/eFYt3qt4jk/cliwA7Ov0Nl # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/cliwA7Ov0Nl', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_array' # } # argv: [] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 4 - stdin array # Subtest: stdin + arg set to "-" # Generated CLI script at /tmp/eFYt3qt4jk/clitbyG2bu1 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/clitbyG2bu1', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_str' # } # argv: [ # '--a1', # '-' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 5 - stdin + arg set to "-" # Subtest: stdin + arg set to non "-" # Generated CLI script at /tmp/eFYt3qt4jk/cliz3umh0Cp # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/cliz3umh0Cp', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_str' # } # argv: [ # '--a1', # 'x' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code 1..1 ok 6 - stdin + arg set to non "-" 1..6 ok 7 - cmdline_src (stdin) # Subtest: cmdline_src (stdin_line) ok 1 - dummy # Subtest: stdin_line + from stdin # Generated CLI script at /tmp/eFYt3qt4jk/clibqPEEMLz # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/clibqPEEMLz', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_line' # } # argv: [ # '--a2', # 'bar' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 2 - stdin_line + from stdin # Subtest: stdin_line + from stdin (special hint arguments passed) # Generated CLI script at /tmp/eFYt3qt4jk/cligUtRwjAS # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/cligUtRwjAS', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_line' # } # argv: [ # '--json', # '--a2', # 'bar' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 3 - stdin_line + from stdin (special hint arguments passed) # Subtest: stdin_line + from cmdline # Generated CLI script at /tmp/eFYt3qt4jk/clime0J6yxb # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/clime0J6yxb', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_line' # } # argv: [ # '--a2', # 'bar', # '--a1', # 'qux' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 4 - stdin_line + from cmdline # Subtest: multi stdin_line # Generated CLI script at /tmp/eFYt3qt4jk/cliAdFsb11s # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/cliAdFsb11s', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_multi_stdin_line' # } # argv: [ # '--a3', # 'baz' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 5 - multi stdin_line 1..5 ok 8 - cmdline_src (stdin_line) # Subtest: cmdline_src (stdin_or_file) ok 1 - dummy # Subtest: stdin_or_file file # Generated CLI script at /tmp/eFYt3qt4jk/cli7rfl0ji2 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/cli7rfl0ji2', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_file_str' # } # argv: [ # '/tmp/eFYt3qt4jk/infile1' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 2 - stdin_or_file file # Subtest: stdin_or_file file (extra argument) # Generated CLI script at /tmp/eFYt3qt4jk/cliAEaDZKLP # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/cliAEaDZKLP', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_file_str' # } # argv: [ # '/tmp/eFYt3qt4jk/infile1', # '/tmp/eFYt3qt4jk/infile1' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 3 - stdin_or_file file (extra argument) # Subtest: stdin_or_file file (special hint arguments passed) # Generated CLI script at /tmp/eFYt3qt4jk/cli21PYHF3J # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/cli21PYHF3J', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_file_str' # } # argv: [ # '--json', # '/tmp/eFYt3qt4jk/infile1' # ] # Script's stdout: <[200,"OK","a1=foo",{"func.args":{"-cmdline_src_a1":"stdin_or_file","-cmdline_srcfilenames_a1":["/tmp/eFYt3qt4jk/infile1"],"a1":"foo"}}] # > # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like ok 3 - stdout_like 1..3 ok 4 - stdin_or_file file (special hint arguments passed) # Subtest: stdin_or_files file not found # Generated CLI script at /tmp/eFYt3qt4jk/cliUPDpC3FA # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/cliUPDpC3FA', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_file_str' # } # argv: [ # '/tmp/eFYt3qt4jk/infile1/x' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code 1..1 ok 5 - stdin_or_files file not found # Subtest: stdin_or_file stdin str # Generated CLI script at /tmp/eFYt3qt4jk/clipvH73wgO # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/clipvH73wgO', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_file_str' # } # argv: [] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 6 - stdin_or_file stdin str # Subtest: stdin_or_file stdin str # Generated CLI script at /tmp/eFYt3qt4jk/clielPyEW1m # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/clielPyEW1m', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_file_array' # } # argv: [] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 7 - stdin_or_file stdin str 1..7 ok 9 - cmdline_src (stdin_or_file) # Subtest: cmdline_src (stdin_or_files) ok 1 - dummy # Subtest: stdin_or_files file # Generated CLI script at /tmp/eFYt3qt4jk/clizsnju3Dj # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/clizsnju3Dj', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_files_array' # } # argv: [ # '/tmp/eFYt3qt4jk/infile1', # '/tmp/eFYt3qt4jk/infile2' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 2 - stdin_or_files file # Subtest: stdin_or_files file (special hint arguments passed) # Generated CLI script at /tmp/eFYt3qt4jk/clicbpJRZa4 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/clicbpJRZa4', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_files_str' # } # argv: [ # '--json', # '/tmp/eFYt3qt4jk/infile1' # ] # Script's stdout: <[200,"OK","a1=foo",{"func.args":{"-cmdline_src_a1":"stdin_or_files","-cmdline_srcfilenames_a1":["/tmp/eFYt3qt4jk/infile1"],"a1":"foo"}}] # > # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like ok 3 - stdout_like 1..3 ok 3 - stdin_or_files file (special hint arguments passed) # Subtest: stdin_or_files file not found # Generated CLI script at /tmp/eFYt3qt4jk/cliYX1k9ZcP # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/cliYX1k9ZcP', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_files_str' # } # argv: [ # '/tmp/eFYt3qt4jk/infile1/x' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code 1..1 ok 4 - stdin_or_files file not found # Subtest: stdin_or_files stdin str # Generated CLI script at /tmp/eFYt3qt4jk/cliHjVxkJUy # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/cliHjVxkJUy', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_files_str' # } # argv: [] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 5 - stdin_or_files stdin str # Subtest: stdin_or_files stdin str # Generated CLI script at /tmp/eFYt3qt4jk/cliWLI2Sb5M # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/cliWLI2Sb5M', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_files_array' # } # argv: [] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 6 - stdin_or_files stdin str 1..6 ok 10 - cmdline_src (stdin_or_files) # Subtest: dry-run ok 1 - dummy # Subtest: dry-run (via env, 0) # Generated CLI script at /tmp/eFYt3qt4jk/cliBBcZ1RLV # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/cliBBcZ1RLV', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/test_dry_run' # } # argv: [] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 2 - dry-run (via env, 0) # Subtest: dry-run (via env, 1) # Generated CLI script at /tmp/eFYt3qt4jk/climc0wzWyF # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/climc0wzWyF', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/test_dry_run' # } # argv: [] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 3 - dry-run (via env, 1) # Subtest: dry-run (via cmdline opt) # Generated CLI script at /tmp/eFYt3qt4jk/clih46aUHD1 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/clih46aUHD1', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/test_dry_run' # } # argv: [ # '--dry-run' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 4 - dry-run (via cmdline opt) 1..4 ok 11 - dry-run # Subtest: tx ok 1 - dummy # Subtest: dry_run (using tx) (w/o) 1..0 # SKIP Has one of the exclude_tag: tx ok 2 # skip Has one of the exclude_tag: tx # Subtest: dry_run (using tx) (w/) 1..0 # SKIP Has one of the exclude_tag: tx ok 3 # skip Has one of the exclude_tag: tx 1..3 ok 12 - tx # Subtest: streaming ok 1 - dummy # Subtest: stream input (simple types) # Generated CLI script at /tmp/eFYt3qt4jk/cliwmjCQjlv # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/cliwmjCQjlv', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/Stream/wc' # } # argv: [ # '/tmp/eFYt3qt4jk/infile1' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 2 - stream input (simple types) # Subtest: stream input (json stream) # Generated CLI script at /tmp/eFYt3qt4jk/clie6V_mQJL # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/clie6V_mQJL', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/Stream/wc_keys' # } # argv: [ # '/tmp/eFYt3qt4jk/infile2' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 3 - stream input (json stream) # Subtest: stream input (json stream, error in record) # Generated CLI script at /tmp/eFYt3qt4jk/cliBOHAfCzZ # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/cliBOHAfCzZ', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/Stream/wc_keys' # } # argv: [ # '/tmp/eFYt3qt4jk/infile3' # ] # Script's stdout: line 2. # > # Script's stderr: <> ok 1 - exit_code 1..1 ok 4 - stream input (json stream, error in record) # Subtest: stream output (simple types) # Generated CLI script at /tmp/eFYt3qt4jk/clizjU_mVwl # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/clizjU_mVwl', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/Stream/square_input' # } # argv: [ # '/tmp/eFYt3qt4jk/infile4' # ] # Script's stdout: <1 # 9 # 25 # > # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 5 - stream output (simple types) # Subtest: stream output (json stream) # Generated CLI script at /tmp/eFYt3qt4jk/clizAwPuUtH # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/clizAwPuUtH', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/Stream/hash_stream' # } # argv: [ # '-n', # '3' # ] # Script's stdout: <{"num":1} # {"num":2} # {"num":3} # > # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 6 - stream output (json stream) 1..6 ok 13 - streaming # Subtest: result metadata ok 1 - dummy # Subtest: cmdline.exit_code # Generated CLI script at /tmp/eFYt3qt4jk/cli6qZrqefT # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/cli6qZrqefT', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineResMeta/exit_code' # } # argv: [] # Script's stdout: <> # Script's stderr: <> ok 1 - exit_code 1..1 ok 2 - cmdline.exit_code # Subtest: cmdline.result # Generated CLI script at /tmp/eFYt3qt4jk/cliybvdHmI6 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/cliybvdHmI6', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineResMeta/result' # } # argv: [] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 3 - cmdline.result # Subtest: cmdline.default_format # Generated CLI script at /tmp/eFYt3qt4jk/clirFPlDaBH # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/clirFPlDaBH', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineResMeta/default_format' # } # argv: [] # Script's stdout: <[200,"OK",null,{"cmdline.default_format":"json"}] # > # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 4 - cmdline.default_format # Subtest: cmdline.default_format (overriden by cmdline opt) # Generated CLI script at /tmp/eFYt3qt4jk/clinMGRk2d2 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/clinMGRk2d2', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineResMeta/default_format' # } # argv: [ # '--format', # 'text' # ] # Script's stdout: <> # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 5 - cmdline.default_format (overriden by cmdline opt) # Subtest: cmdline.skip_format # Generated CLI script at /tmp/eFYt3qt4jk/cliOsVpfK1d # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/cliOsVpfK1d', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineResMeta/skip_format' # } # argv: [] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 6 - cmdline.skip_format 1..6 ok 14 - result metadata # Subtest: completion ok 1 - dummy # Subtest: self-completion works # Generated CLI script at /tmp/eFYt3qt4jk/cliibHHDkFx # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/cliibHHDkFx', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/Tiny/odd_even' # } # argv: [] # Script's stdout: <--number # > # Script's stderr: <> ok 1 - exit_code ok 2 - answer 1..2 ok 2 - self-completion works # Subtest: completion of subcommand name # Generated CLI script at /tmp/eFYt3qt4jk/cliL3_0NEK5 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/cliL3_0NEK5', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'subcommands' => [ # 'sc1:/Perinci/Examples/Tiny/noop', # 'sc2:/Perinci/Examples/Tiny/odd_even' # ], # 'url' => '/Perinci/Examples/Tiny/' # } # argv: [] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - answer 1..2 ok 3 - completion of subcommand name # Subtest: completion of subcommand option # Generated CLI script at /tmp/eFYt3qt4jk/cliiIQkjAeg # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/cliiIQkjAeg', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'subcommands' => [ # 'sc1:/Perinci/Examples/Tiny/noop', # 'sc2:/Perinci/Examples/Tiny/odd_even' # ], # 'url' => '/Perinci/Examples/Tiny/' # } # argv: [] # Script's stdout: <--number # > # Script's stderr: <> ok 1 - exit_code ok 2 - answer 1..2 ok 4 - completion of subcommand option 1..4 ok 15 - completion # Subtest: env ok 1 - dummy # Subtest: env read # Generated CLI script at /tmp/eFYt3qt4jk/cli0G7syNi5 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/cli0G7syNi5', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 1, # 'script_name' => 'sum-nums', # 'url' => '/Perinci/Examples/sum' # } # argv: [ # '3' # ] # Script's stdout: <6 # > # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 2 - env read # Subtest: turned off via --no-env # Generated CLI script at /tmp/eFYt3qt4jk/cli0yByng0_ # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/cli0yByng0_', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 1, # 'script_name' => 'sum-nums', # 'url' => '/Perinci/Examples/sum' # } # argv: [ # '--no-env', # '3' # ] # Script's stdout: <3 # > # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 3 - turned off via --no-env # Subtest: attr:env_name # Generated CLI script at /tmp/eFYt3qt4jk/cliTX7oE0zS # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'env_name' => 'foo_opt', # 'output_file' => '/tmp/eFYt3qt4jk/cliTX7oE0zS', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 1, # 'script_name' => 'sum-nums', # 'url' => '/Perinci/Examples/sum' # } # argv: [ # '3' # ] # Script's stdout: <18 # > # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 4 - attr:env_name 1..4 ok 16 - env # Subtest: config file ok 1 - dummy # Subtest: attr:config_dirs # Generated CLI script at /tmp/eFYt3qt4jk/cliywNnEFCQ # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/eFYt3qt4jk' # ], # 'output_file' => '/tmp/eFYt3qt4jk/cliywNnEFCQ', # 'overwrite' => 1, # 'read_config' => 1, # 'read_env' => 0, # 'script_name' => 'prog', # 'url' => '/Perinci/Examples/noop2' # } # argv: [] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 2 - attr:config_dirs # Subtest: attr:config_filename # Generated CLI script at /tmp/eFYt3qt4jk/cliA6OyUI8u # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/eFYt3qt4jk' # ], # 'config_filename' => 'prog2.conf', # 'output_file' => '/tmp/eFYt3qt4jk/cliA6OyUI8u', # 'overwrite' => 1, # 'read_config' => 1, # 'read_env' => 0, # 'script_name' => 'prog', # 'url' => '/Perinci/Examples/noop2' # } # argv: [] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 3 - attr:config_filename # Subtest: common option: --no-config # Generated CLI script at /tmp/eFYt3qt4jk/climz45UIJf # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/eFYt3qt4jk' # ], # 'output_file' => '/tmp/eFYt3qt4jk/climz45UIJf', # 'overwrite' => 1, # 'read_config' => 1, # 'read_env' => 0, # 'script_name' => 'prog', # 'url' => '/Perinci/Examples/noop2' # } # argv: [ # '--no-config' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 4 - common option: --no-config # Subtest: common option: --config-path # Generated CLI script at /tmp/eFYt3qt4jk/clic2zwBcZj # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/eFYt3qt4jk/clic2zwBcZj', # 'overwrite' => 1, # 'read_config' => 1, # 'read_env' => 0, # 'script_name' => 'prog', # 'url' => '/Perinci/Examples/noop2' # } # argv: [ # '--config-path', # '/tmp/eFYt3qt4jk/prog.conf' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 5 - common option: --config-path # Subtest: common option: --config-profile # Generated CLI script at /tmp/eFYt3qt4jk/cliTOa9ma_g # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/eFYt3qt4jk' # ], # 'output_file' => '/tmp/eFYt3qt4jk/cliTOa9ma_g', # 'overwrite' => 1, # 'read_config' => 1, # 'read_env' => 0, # 'script_name' => 'prog', # 'url' => '/Perinci/Examples/noop2' # } # argv: [ # '--config-profile=profile1' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 6 - common option: --config-profile # Subtest: unknown config profile -> error # Generated CLI script at /tmp/eFYt3qt4jk/clizBnvf6HE # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/eFYt3qt4jk' # ], # 'output_file' => '/tmp/eFYt3qt4jk/clizBnvf6HE', # 'overwrite' => 1, # 'read_config' => 1, # 'read_env' => 0, # 'script_name' => 'prog', # 'url' => '/Perinci/Examples/noop2' # } # argv: [ # '--config-profile=foo' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code 1..1 ok 7 - unknown config profile -> error # Subtest: unknown config profile but does not read config -> ok # Generated CLI script at /tmp/eFYt3qt4jk/cli7PxKeWKX # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/eFYt3qt4jk' # ], # 'output_file' => '/tmp/eFYt3qt4jk/cli7PxKeWKX', # 'overwrite' => 1, # 'read_config' => 1, # 'read_env' => 0, # 'script_name' => 'foo', # 'url' => '/Perinci/Examples/noop2' # } # argv: [ # '--config-profile=bar' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 8 - unknown config profile but does not read config -> ok # Subtest: subcommand # Generated CLI script at /tmp/eFYt3qt4jk/clihOalkJji # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/eFYt3qt4jk' # ], # 'output_file' => '/tmp/eFYt3qt4jk/clihOalkJji', # 'overwrite' => 1, # 'read_config' => 1, # 'read_env' => 0, # 'script_name' => 'prog', # 'subcommands' => [ # 'subcommand1:/Perinci/Examples/noop2' # ], # 'url' => '/Perinci/Examples/' # } # argv: [ # 'subcommand1' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 9 - subcommand # Subtest: subcommand + --config-profile # Generated CLI script at /tmp/eFYt3qt4jk/cliHiF3DL86 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/eFYt3qt4jk' # ], # 'output_file' => '/tmp/eFYt3qt4jk/cliHiF3DL86', # 'overwrite' => 1, # 'read_config' => 1, # 'read_env' => 0, # 'script_name' => 'prog', # 'subcommands' => [ # 'subcommand1:/Perinci/Examples/noop2' # ], # 'url' => '/Perinci/Examples/' # } # argv: [ # '--config-profile=profile1', # 'subcommand1' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 10 - subcommand + --config-profile # Subtest: array-ify if argument is array # Generated CLI script at /tmp/eFYt3qt4jk/clichrG6HP0 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/eFYt3qt4jk' # ], # 'output_file' => '/tmp/eFYt3qt4jk/clichrG6HP0', # 'overwrite' => 1, # 'read_config' => 1, # 'read_env' => 0, # 'script_name' => 'sum', # 'url' => '/Perinci/Examples/sum' # } # argv: [] # Script's stdout: <0 # > # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 11 - array-ify if argument is array # Subtest: can also set common option # Generated CLI script at /tmp/eFYt3qt4jk/cli4Oj4e4or # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/eFYt3qt4jk' # ], # 'output_file' => '/tmp/eFYt3qt4jk/cli4Oj4e4or', # 'overwrite' => 1, # 'read_config' => 1, # 'read_env' => 0, # 'script_name' => 'prog3', # 'url' => '/Perinci/Examples/noop2' # } # argv: [] # Script's stdout: <"a=101\nb=\nc=\nd=\ne=" # > # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 12 - can also set common option 1..12 ok 17 - config file # all tests successful, deleting tempdir /tmp/eFYt3qt4jk 1..17 ok All tests successful. Files=5, Tests=20, 21 wallclock secs ( 0.11 usr 0.02 sys + 7.27 cusr 1.29 csys = 8.69 CPU) Result: PASS PERLANCAR/Perinci-CmdLine-Lite-1.38.tar.gz Tests succeeded but one dependency not OK (Progress::Any::Output::TermProgressBarColor) PERLANCAR/Perinci-CmdLine-Lite-1.38.tar.gz [dependencies] -- NA Running make for P/PE/PERLANCAR/Perinci-CmdLine-Any-0.12.tar.gz Has already been unwrapped into directory /Users/fly2200/var/cpan/build/Perinci-CmdLine-Any-0.12-bqMOkX CPAN.pm: Building P/PE/PERLANCAR/Perinci-CmdLine-Any-0.12.tar.gz Warning: Prerequisite 'Perinci::CmdLine::Lite => 0' for 'PERLANCAR/Perinci-CmdLine-Any-0.12.tar.gz' failed when processing 'PERLANCAR/Perinci-CmdLine-Lite-1.38.tar.gz' with 'make_test => NO one dependency not OK (Progress::Any::Output::TermProgressBarColor)'. Continuing, but chances to succeed are limited. >>> make cp lib/Perinci/CmdLine/Any.pm blib/lib/Perinci/CmdLine/Any.pm Manifying 1 pod document PERLANCAR/Perinci-CmdLine-Any-0.12.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 "/Users/fly2200/ap2200-299195/bin/perl-dynamic" "-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/CmdLine/Any.pm loaded ok 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=4, Tests=1, 1 wallclock secs ( 0.03 usr 0.01 sys + 0.10 cusr 0.03 csys = 0.17 CPU) Result: PASS PERLANCAR/Perinci-CmdLine-Any-0.12.tar.gz Tests succeeded but one dependency not OK (Perinci::CmdLine::Lite) PERLANCAR/Perinci-CmdLine-Any-0.12.tar.gz [dependencies] -- NA Running make for P/PE/PERLANCAR/Bencher-0.13.tar.gz Has already been unwrapped into directory /Users/fly2200/var/cpan/build/Bencher-0.13-ZhmqeJ CPAN.pm: Building P/PE/PERLANCAR/Bencher-0.13.tar.gz Warning: Prerequisite 'Perinci::CmdLine::Any => 0' for 'PERLANCAR/Bencher-0.13.tar.gz' failed when processing 'PERLANCAR/Perinci-CmdLine-Any-0.12.tar.gz' with 'make_test => NO one dependency not OK (Perinci::CmdLine::Lite)'. Continuing, but chances to succeed are limited. >>> make cp lib/Bencher/Scenario/Example/CommandNotFound.pm blib/lib/Bencher/Scenario/Example/CommandNotFound.pm cp lib/Sah/Schema/Bencher/Scenario.pm blib/lib/Sah/Schema/Bencher/Scenario.pm cp lib/Bencher.pm blib/lib/Bencher.pm cp lib/Bencher/Scenario/Example.pm blib/lib/Bencher/Scenario/Example.pm cp bin/bencher blib/script/bencher "/Users/fly2200/ap2200-299195/bin/perl-dynamic" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/bencher Manifying 1 pod document Manifying 4 pod documents PERLANCAR/Bencher-0.13.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 "/Users/fly2200/ap2200-299195/bin/perl-dynamic" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t # Failed test 'bin/bencher compiled ok' # at t/00-compile.t line 68. # got: '512' # expected: '0' Can't locate Perinci/CmdLine/Any.pm in @INC (you may need to install the Perinci::CmdLine::Any module) (@INC contains: /Users/fly2200/var/cpan/build/Bencher-0.13-ZhmqeJ/blib/arch /Users/fly2200/var/cpan/build/Bencher-0.13-ZhmqeJ/blib/lib /Users/fly2200/var/cpan/build/Bencher-0.13-ZhmqeJ/blib/lib /Users/fly2200/var/cpan/build/Bencher-0.13-ZhmqeJ/blib/arch /Users/fly2200/var/megalib /Users/fly2200/var/megalib /Users/fly2200/Library/ActivePerl-5.22/lib /Users/fly2200/ap2200-299195/site/lib /Users/fly2200/ap2200-299195/lib .) at bin/bencher line 10.BEGIN failed--compilation aborted at bin/bencher line 10. at t/00-compile.t line 77, line 2. # Looks like you failed 1 test of 5. t/00-compile.t ............ 1..5 ok 1 - Bencher.pm loaded ok ok 2 - Bencher/Scenario/Example.pm loaded ok ok 3 - Bencher/Scenario/Example/CommandNotFound.pm loaded ok ok 4 - Sah/Schema/Bencher/Scenario.pm loaded ok not ok 5 - bin/bencher compiled ok Dubious, test returned 1 (wstat 256, 0x100) Failed 1/5 subtests 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 Test Summary Report ------------------- t/00-compile.t (Wstat: 256 Tests: 5 Failed: 1) Failed test: 5 Non-zero exit status: 1 Files=4, Tests=5, 1 wallclock secs ( 0.03 usr 0.01 sys + 0.21 cusr 0.06 csys = 0.31 CPU) Result: FAIL Failed 1/4 test programs. 1/5 subtests failed. make: *** [test_dynamic] Error 255 PERLANCAR/Bencher-0.13.tar.gz one dependency not OK (Perinci::CmdLine::Any); additionally test harness failed make test TEST_VERBOSE=1 -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports PERLANCAR/Bencher-0.13.tar.gz Running make for P/PE/PERLANCAR/Bencher-Scenario-SetOperationModules-0.06.tar.gz Has already been unwrapped into directory /Users/fly2200/var/cpan/build/Bencher-Scenario-SetOperationModules-0.06-NLhVdd CPAN.pm: Building P/PE/PERLANCAR/Bencher-Scenario-SetOperationModules-0.06.tar.gz Warning: Prerequisite 'Bencher => 0.12' for 'PERLANCAR/Bencher-Scenario-SetOperationModules-0.06.tar.gz' failed when processing 'PERLANCAR/Bencher-0.13.tar.gz' with 'make_test => NO one dependency not OK (Perinci::CmdLine::Any); additionally test harness failed'. Continuing, but chances to succeed are limited. >>> make cp lib/Bencher/Scenario/SetOperationModules.pm blib/lib/Bencher/Scenario/SetOperationModules.pm Manifying 1 pod document PERLANCAR/Bencher-Scenario-SetOperationModules-0.06.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 "/Users/fly2200/ap2200-299195/bin/perl-dynamic" "-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 - Bencher/Scenario/SetOperationModules.pm loaded ok ok t/bench-SetOperationModules.t .. skipped: Bencher 0.12 required to run benchmark 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 All tests successful. Files=4, Tests=1, 1 wallclock secs ( 0.03 usr 0.01 sys + 0.11 cusr 0.03 csys = 0.18 CPU) Result: PASS PERLANCAR/Bencher-Scenario-SetOperationModules-0.06.tar.gz Tests succeeded but one dependency not OK (Bencher) PERLANCAR/Bencher-Scenario-SetOperationModules-0.06.tar.gz [dependencies] -- NA Finished 2015-11-20T06:23:38