PATH=/usr/bin:/bin:/Users/fly2200/cpanfly-5.22/var/megalib/bin Start 2016-02-26T09:13:55 ActivePerl-2200 CPAN-2.10 Reading '/Users/fly2200/cpanfly-5.22/var/cpan/Metadata' Database was generated on Fri, 26 Feb 2016 05:41:02 GMT Fetching with LWP: http://ppm.activestate.com/CPAN/authors/id/P/PE/PERLANCAR/App-lcpan-0.80.tar.gz Checksum for /Users/fly2200/cpanfly-5.22/var/cpan/sources/authors/id/P/PE/PERLANCAR/App-lcpan-0.80.tar.gz ok App-lcpan-0.80/ App-lcpan-0.80/bin/ App-lcpan-0.80/bin/lcpanm App-lcpan-0.80/bin/lcpan App-lcpan-0.80/README App-lcpan-0.80/lib/ App-lcpan-0.80/lib/App/ App-lcpan-0.80/lib/App/lcpan.pm App-lcpan-0.80/lib/App/lcpan/ App-lcpan-0.80/lib/App/lcpan/PodParser.pm App-lcpan-0.80/lib/App/lcpan/Cmd/ App-lcpan-0.80/lib/App/lcpan/Cmd/authors_by_mod_count.pm App-lcpan-0.80/lib/App/lcpan/Cmd/rels.pm App-lcpan-0.80/lib/App/lcpan/Cmd/script2author.pm App-lcpan-0.80/lib/App/lcpan/Cmd/author_deps_by_dependent_count.pm App-lcpan-0.80/lib/App/lcpan/Cmd/authors_by_script_count.pm App-lcpan-0.80/lib/App/lcpan/Cmd/author_deps.pm App-lcpan-0.80/lib/App/lcpan/Cmd/authors.pm App-lcpan-0.80/lib/App/lcpan/Cmd/dist2rel.pm App-lcpan-0.80/lib/App/lcpan/Cmd/script2rel.pm App-lcpan-0.80/lib/App/lcpan/Cmd/dist2author.pm App-lcpan-0.80/lib/App/lcpan/Cmd/stats.pm App-lcpan-0.80/lib/App/lcpan/Cmd/mods_by_rdep_count.pm App-lcpan-0.80/lib/App/lcpan/Cmd/extract_rel.pm App-lcpan-0.80/lib/App/lcpan/Cmd/releases.pm App-lcpan-0.80/lib/App/lcpan/Cmd/copy_rel.pm App-lcpan-0.80/lib/App/lcpan/Cmd/mod2dist.pm App-lcpan-0.80/lib/App/lcpan/Cmd/mentions_by_script.pm App-lcpan-0.80/lib/App/lcpan/Cmd/dists_by_dep_count.pm App-lcpan-0.80/lib/App/lcpan/Cmd/scripts_by_mention_count.pm App-lcpan-0.80/lib/App/lcpan/Cmd/deps_by_dependent_count.pm App-lcpan-0.80/lib/App/lcpan/Cmd/dist_scripts.pm App-lcpan-0.80/lib/App/lcpan/Cmd/scripts.pm App-lcpan-0.80/lib/App/lcpan/Cmd/script2mod.pm App-lcpan-0.80/lib/App/lcpan/Cmd/author_scripts.pm App-lcpan-0.80/lib/App/lcpan/Cmd/copy_script.pm App-lcpan-0.80/lib/App/lcpan/Cmd/mentions_for_script.pm App-lcpan-0.80/lib/App/lcpan/Cmd/rdeps.pm App-lcpan-0.80/lib/App/lcpan/Cmd/extract_mod.pm App-lcpan-0.80/lib/App/lcpan/Cmd/author_mods.pm App-lcpan-0.80/lib/App/lcpan/Cmd/authors_by_dist_count.pm App-lcpan-0.80/lib/App/lcpan/Cmd/update.pm App-lcpan-0.80/lib/App/lcpan/Cmd/dists.pm App-lcpan-0.80/lib/App/lcpan/Cmd/mod2author.pm App-lcpan-0.80/lib/App/lcpan/Cmd/namespaces.pm App-lcpan-0.80/lib/App/lcpan/Cmd/subnames_by_count.pm App-lcpan-0.80/lib/App/lcpan/Cmd/author_dists.pm App-lcpan-0.80/lib/App/lcpan/Cmd/extract_script.pm App-lcpan-0.80/lib/App/lcpan/Cmd/author_rels.pm App-lcpan-0.80/lib/App/lcpan/Cmd/stats_last_index_time.pm App-lcpan-0.80/lib/App/lcpan/Cmd/related_mods.pm App-lcpan-0.80/lib/App/lcpan/Cmd/mentions_for_mod.pm App-lcpan-0.80/lib/App/lcpan/Cmd/authors_by_rel_count.pm App-lcpan-0.80/lib/App/lcpan/Cmd/reset.pm App-lcpan-0.80/lib/App/lcpan/Cmd/mentions.pm App-lcpan-0.80/lib/App/lcpan/Cmd/authors_by_mod_mention_count.pm App-lcpan-0.80/lib/App/lcpan/Cmd/copy_mod.pm App-lcpan-0.80/lib/App/lcpan/Cmd/mentions_by_mod.pm App-lcpan-0.80/lib/App/lcpan/Cmd/authors_by_filesize.pm App-lcpan-0.80/lib/App/lcpan/Cmd/author_rdeps.pm App-lcpan-0.80/lib/App/lcpan/Cmd/authors_by_rdep_count.pm App-lcpan-0.80/lib/App/lcpan/Cmd/doc.pm App-lcpan-0.80/lib/App/lcpan/Cmd/modules.pm App-lcpan-0.80/lib/App/lcpan/Cmd/scripts_from_same_dist.pm App-lcpan-0.80/lib/App/lcpan/Cmd/subs.pm App-lcpan-0.80/lib/App/lcpan/Cmd/contents.pm App-lcpan-0.80/lib/App/lcpan/Cmd/mod2rel.pm App-lcpan-0.80/lib/App/lcpan/Cmd/script2dist.pm App-lcpan-0.80/lib/App/lcpan/Cmd/deps.pm App-lcpan-0.80/lib/App/lcpan/Cmd/mods_by_mention_count.pm App-lcpan-0.80/lib/App/lcpan/Cmd/mods.pm App-lcpan-0.80/lib/App/lcpan/Cmd/mods_from_same_dist.pm App-lcpan-0.80/lib/App/lcpan/Cmd/dist_mods.pm App-lcpan-0.80/lib/App/lcpan/Manual/ App-lcpan-0.80/lib/App/lcpan/Manual/Cookbook.pod App-lcpan-0.80/lib/LWP/ App-lcpan-0.80/lib/LWP/UserAgent/ App-lcpan-0.80/lib/LWP/UserAgent/Patch/ App-lcpan-0.80/lib/LWP/UserAgent/Patch/FilterLcpan.pm App-lcpan-0.80/Makefile.PL App-lcpan-0.80/Changes App-lcpan-0.80/dist.ini App-lcpan-0.80/LICENSE App-lcpan-0.80/t/ App-lcpan-0.80/t/00-compile.t App-lcpan-0.80/t/release-sql_schema_versioned.t App-lcpan-0.80/t/release-rinci.t App-lcpan-0.80/t/author-pod-syntax.t App-lcpan-0.80/t/author-pod-coverage.t App-lcpan-0.80/weaver.ini App-lcpan-0.80/MANIFEST App-lcpan-0.80/META.json App-lcpan-0.80/META.yml Configuring P/PE/PERLANCAR/App-lcpan-0.80.tar.gz with Makefile.PL >>> /Users/fly2200/ap2200-299195/bin/perl-dynamic Makefile.PL Warning: prerequisite App::ShellCompleter::cpanm 0 not found. Warning: prerequisite Compiler::Lexer 0 not found. Warning: prerequisite Perinci::CmdLine::Any 0.09 not found. Warning: prerequisite Perinci::CmdLine::Util::Config 0 not found. Checking if your kit is complete... Looks good Have /Users/fly2200/cpanfly-5.22/var/megalib Want /Users/fly2200/ap2200-299195/lib Your perl and your Config.pm seem to have different ideas about the architecture they are running on. Perl thinks: [megalib] Config says: [darwin-thread-multi-2level] This may or may not cause problems. Please check your installation of perl if you have problems building this extension. Generating a Unix-style Makefile Writing Makefile for App::lcpan Writing MYMETA.yml and MYMETA.json Modifying Makefile to generate shell completion on install PERLANCAR/App-lcpan-0.80.tar.gz /Users/fly2200/ap2200-299195/bin/perl-dynamic Makefile.PL -- OK Running make for P/PE/PERLANCAR/App-lcpan-0.80.tar.gz ---- Unsatisfied dependencies detected during ---- ---- PERLANCAR/App-lcpan-0.80.tar.gz ---- Perinci::CmdLine::Any [requires] Compiler::Lexer [requires] App::ShellCompleter::cpanm [requires] Perinci::CmdLine::Util::Config [requires] Running test for module 'Perinci::CmdLine::Any' Checksum for /Users/fly2200/cpanfly-5.22/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 Configuring P/PE/PERLANCAR/Perinci-CmdLine-Any-0.12.tar.gz with Makefile.PL >>> /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 Have /Users/fly2200/cpanfly-5.22/var/megalib Want /Users/fly2200/ap2200-299195/lib Your perl and your Config.pm seem to have different ideas about the architecture they are running on. Perl thinks: [megalib] Config says: [darwin-thread-multi-2level] This may or may not cause problems. Please check your installation of perl if you have problems building this extension. Generating a Unix-style Makefile Writing Makefile for Perinci::CmdLine::Any Writing MYMETA.yml and MYMETA.json PERLANCAR/Perinci-CmdLine-Any-0.12.tar.gz /Users/fly2200/ap2200-299195/bin/perl-dynamic Makefile.PL -- OK Running make for P/PE/PERLANCAR/Perinci-CmdLine-Any-0.12.tar.gz ---- Unsatisfied dependencies detected during ---- ---- PERLANCAR/Perinci-CmdLine-Any-0.12.tar.gz ---- Perinci::CmdLine::Lite [requires] Running test for module 'Perinci::CmdLine::Lite' Checksum for /Users/fly2200/cpanfly-5.22/var/cpan/sources/authors/id/P/PE/PERLANCAR/Perinci-CmdLine-Lite-1.51.tar.gz ok Perinci-CmdLine-Lite-1.51/ Perinci-CmdLine-Lite-1.51/README Perinci-CmdLine-Lite-1.51/lib/ Perinci-CmdLine-Lite-1.51/lib/Perinci/ Perinci-CmdLine-Lite-1.51/lib/Perinci/CmdLine/ Perinci-CmdLine-Lite-1.51/lib/Perinci/CmdLine/Lite.pm Perinci-CmdLine-Lite-1.51/lib/Perinci/CmdLine/Base.pm Perinci-CmdLine-Lite-1.51/lib/Perinci/CmdLine/Util/ Perinci-CmdLine-Lite-1.51/lib/Perinci/CmdLine/Util/Config.pm Perinci-CmdLine-Lite-1.51/Makefile.PL Perinci-CmdLine-Lite-1.51/share/ Perinci-CmdLine-Lite-1.51/share/templates/ Perinci-CmdLine-Lite-1.51/share/templates/description.txt Perinci-CmdLine-Lite-1.51/share/templates/synopsis.txt Perinci-CmdLine-Lite-1.51/Changes Perinci-CmdLine-Lite-1.51/dist.ini Perinci-CmdLine-Lite-1.51/LICENSE Perinci-CmdLine-Lite-1.51/t/ Perinci-CmdLine-Lite-1.51/t/00-compile.t Perinci-CmdLine-Lite-1.51/t/suite.t Perinci-CmdLine-Lite-1.51/t/release-rinci.t Perinci-CmdLine-Lite-1.51/t/author-pod-syntax.t Perinci-CmdLine-Lite-1.51/t/author-pod-coverage.t Perinci-CmdLine-Lite-1.51/weaver.ini Perinci-CmdLine-Lite-1.51/MANIFEST Perinci-CmdLine-Lite-1.51/META.json Perinci-CmdLine-Lite-1.51/META.yml Perinci-CmdLine-Lite-1.51/devscripts/ Perinci-CmdLine-Lite-1.51/devscripts/bench-startup Configuring P/PE/PERLANCAR/Perinci-CmdLine-Lite-1.51.tar.gz with Makefile.PL >>> /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 Have /Users/fly2200/cpanfly-5.22/var/megalib Want /Users/fly2200/ap2200-299195/lib Your perl and your Config.pm seem to have different ideas about the architecture they are running on. Perl thinks: [megalib] Config says: [darwin-thread-multi-2level] This may or may not cause problems. Please check your installation of perl if you have problems building this extension. Generating a Unix-style Makefile Writing Makefile for Perinci::CmdLine::Lite Writing MYMETA.yml and MYMETA.json PERLANCAR/Perinci-CmdLine-Lite-1.51.tar.gz /Users/fly2200/ap2200-299195/bin/perl-dynamic Makefile.PL -- OK Running make for P/PE/PERLANCAR/Perinci-CmdLine-Lite-1.51.tar.gz ---- Unsatisfied dependencies detected during ---- ---- PERLANCAR/Perinci-CmdLine-Lite-1.51.tar.gz ---- Progress::Any::Output::TermProgressBarColor [requires] Running test for module 'Progress::Any::Output::TermProgressBarColor' Checksum for /Users/fly2200/cpanfly-5.22/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 Configuring P/PE/PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.21.tar.gz with Makefile.PL >>> /Users/fly2200/ap2200-299195/bin/perl-dynamic Makefile.PL Checking if your kit is complete... Looks good Have /Users/fly2200/cpanfly-5.22/var/megalib Want /Users/fly2200/ap2200-299195/lib Your perl and your Config.pm seem to have different ideas about the architecture they are running on. Perl thinks: [megalib] Config says: [darwin-thread-multi-2level] This may or may not cause problems. Please check your installation of perl if you have problems building this extension. Generating a Unix-style Makefile Writing Makefile for Progress::Any::Output::TermProgressBarColor Writing MYMETA.yml and MYMETA.json PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.21.tar.gz /Users/fly2200/ap2200-299195/bin/perl-dynamic Makefile.PL -- OK Running make for P/PE/PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.21.tar.gz >>> 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/cpanfly-5.22/var/megalib/Color/ANSI/Util.pm line 281. # Use of uninitialized value $cd in numeric ge (>=) at /Users/fly2200/cpanfly-5.22/var/megalib/Color/ANSI/Util.pm line 283. # Use of uninitialized value $cd in numeric ge (>=) at /Users/fly2200/cpanfly-5.22/var/megalib/Color/ANSI/Util.pm line 281. # Use of uninitialized value $cd in numeric ge (>=) at /Users/fly2200/cpanfly-5.22/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, 0 wallclock secs ( 0.03 usr 0.01 sys + 0.24 cusr 0.06 csys = 0.34 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 PERLANCAR/Perinci-CmdLine-Lite-1.51.tar.gz Has already been unwrapped into directory /Users/fly2200/cpanfly-5.22/var/cpan/build/Perinci-CmdLine-Lite-1.51-YExhba PERLANCAR/Perinci-CmdLine-Lite-1.51.tar.gz Has already been prepared Running make for P/PE/PERLANCAR/Perinci-CmdLine-Lite-1.51.tar.gz Warning: Prerequisite 'Progress::Any::Output::TermProgressBarColor => 0.17' for 'PERLANCAR/Perinci-CmdLine-Lite-1.51.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/synopsis.txt blib/lib/auto/share/dist/Perinci-CmdLine-Lite/templates/synopsis.txt cp share/templates/description.txt blib/lib/auto/share/dist/Perinci-CmdLine-Lite/templates/description.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.51.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/LZB0m6uEqz/cliT0eE2REt # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/cliT0eE2REt', # '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/LZB0m6uEqz/clivTuw1G4R # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/clivTuw1G4R', # '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/LZB0m6uEqz/clij0jv0knA # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/clij0jv0knA', # '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/LZB0m6uEqz/cliXaNtZmjY # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/cliXaNtZmjY', # '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/LZB0m6uEqz/cliX1fllqUW # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/cliX1fllqUW', # '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/LZB0m6uEqz/cliFF4RsDjr # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/cliFF4RsDjr', # '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/LZB0m6uEqz/cliTfGwcsby # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/cliTfGwcsby', # '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/LZB0m6uEqz/cliqeyZrV22 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'default_subcommand' => 'noop', # 'output_file' => '/tmp/LZB0m6uEqz/cliqeyZrV22', # '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/LZB0m6uEqz/cliusYkS2pN # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'default_subcommand' => 'odd_even', # 'output_file' => '/tmp/LZB0m6uEqz/cliusYkS2pN', # '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/LZB0m6uEqz/cliJRtTSrMc # 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/LZB0m6uEqz/cliJRtTSrMc', # '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/LZB0m6uEqz/cliLDCpfm2E # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/cliLDCpfm2E', # '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/LZB0m6uEqz/clid4oRl0s0 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/clid4oRl0s0', # '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/LZB0m6uEqz/cliPxFSyyzK # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/cliPxFSyyzK', # '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",{"stream":0}] # > # 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/LZB0m6uEqz/cliXYhf8fSJ # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/cliXYhf8fSJ', # '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",{"stream":0}] # > # 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/LZB0m6uEqz/clieF4VXCi5 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/clieF4VXCi5', # '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/LZB0m6uEqz/clidJPumMlW # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/clidJPumMlW', # '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",{"stream":0}] # > # 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/LZB0m6uEqz/cliUL0Z9D5s # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'default_subcommand' => 'noop', # 'output_file' => '/tmp/LZB0m6uEqz/cliUL0Z9D5s', # '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/LZB0m6uEqz/cliMhi8d1GV # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/cliMhi8d1GV', # '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"],{"stream":0}] # > # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 10 - json argument # Subtest: can handle function which returns naked result # Generated CLI script at /tmp/LZB0m6uEqz/cliubUC5OUS # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/cliubUC5OUS', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/Tiny/hello_naked' # } # argv: [] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 11 - can handle function which returns naked result 1..11 ok 4 - call action # Subtest: cmdline_src (error cases) ok 1 - dummy # Subtest: unknown value # Generated CLI script at /tmp/LZB0m6uEqz/cliGZaqUx1M # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/cliGZaqUx1M', # '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/LZB0m6uEqz/cliXN65DR1b # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/cliXN65DR1b', # '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/LZB0m6uEqz/clit2OceCct # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/clit2OceCct', # '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/LZB0m6uEqz/clicg5uJ09D # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/clicg5uJ09D', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file' # } # argv: [ # '--a1', # '/tmp/LZB0m6uEqz/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/LZB0m6uEqz/cli5wcri5nB # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/cli5wcri5nB', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file' # } # argv: [ # '--json', # '--a1', # '/tmp/LZB0m6uEqz/infile1' # ] # Script's stdout: <["200","OK","a1=foo\na2=[]",{"func.args":{"-cmdline_src_a1":"file","-cmdline_srcfilenames_a1":["/tmp/LZB0m6uEqz/infile1"],"a1":"foo"},"stream":0}] # > # 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/LZB0m6uEqz/cliabN_Yi6w # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/cliabN_Yi6w', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file' # } # argv: [ # '--a1', # '/tmp/LZB0m6uEqz/infile1', # '--a2', # '/tmp/LZB0m6uEqz/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/LZB0m6uEqz/clia0749iYj # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/clia0749iYj', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file' # } # argv: [ # '--json', # '--a1', # '/tmp/LZB0m6uEqz/infile1', # '--a2', # '/tmp/LZB0m6uEqz/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/LZB0m6uEqz/infile1"],"-cmdline_srcfilenames_a2":["/tmp/LZB0m6uEqz/infile2"],"a1":"foo","a2":["bar\n","baz"]},"stream":0}] # > # 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/LZB0m6uEqz/cliZE8zm2Oc # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/cliZE8zm2Oc', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file' # } # argv: [ # '--a1', # '/tmp/LZB0m6uEqz/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/LZB0m6uEqz/cliKZ70jtoI # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/cliKZ70jtoI', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file' # } # argv: [ # '--a2', # '/tmp/LZB0m6uEqz/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/LZB0m6uEqz/clixZxp5W3O # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/clixZxp5W3O', # '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/LZB0m6uEqz/cliYRea_6xw # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/cliYRea_6xw', # '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"},"stream":0}] # > # 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/LZB0m6uEqz/cliTNrjfqcQ # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/cliTNrjfqcQ', # '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/LZB0m6uEqz/clid3lMDDaJ # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/clid3lMDDaJ', # '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/LZB0m6uEqz/cliHESMxV1x # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/cliHESMxV1x', # '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/LZB0m6uEqz/cliqI1rSmrX # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/cliqI1rSmrX', # '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/LZB0m6uEqz/cli4Eb6e0pk # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/cli4Eb6e0pk', # '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/LZB0m6uEqz/cliaVsEDmVJ # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/cliaVsEDmVJ', # '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/LZB0m6uEqz/clid0rezuG7 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/clid0rezuG7', # '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/LZB0m6uEqz/cliLOB5Uj1k # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/cliLOB5Uj1k', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_file_str' # } # argv: [ # '/tmp/LZB0m6uEqz/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/LZB0m6uEqz/clibpSPYBVV # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/clibpSPYBVV', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_file_str' # } # argv: [ # '/tmp/LZB0m6uEqz/infile1', # '/tmp/LZB0m6uEqz/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/LZB0m6uEqz/cliP7p6mAKD # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/cliP7p6mAKD', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_file_str' # } # argv: [ # '--json', # '/tmp/LZB0m6uEqz/infile1' # ] # Script's stdout: <["200","OK","a1=foo",{"func.args":{"-cmdline_src_a1":"stdin_or_file","-cmdline_srcfilenames_a1":["/tmp/LZB0m6uEqz/infile1"],"a1":"foo"},"stream":0}] # > # 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/LZB0m6uEqz/clipQZEHme6 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/clipQZEHme6', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_file_str' # } # argv: [ # '/tmp/LZB0m6uEqz/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/LZB0m6uEqz/cliif0BEzxR # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/cliif0BEzxR', # '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/LZB0m6uEqz/clitSsFZ3cL # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/clitSsFZ3cL', # '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/LZB0m6uEqz/clirF_7ZAYK # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/clirF_7ZAYK', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_files_array' # } # argv: [ # '/tmp/LZB0m6uEqz/infile1', # '/tmp/LZB0m6uEqz/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/LZB0m6uEqz/cline4Cdoqc # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/cline4Cdoqc', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_files_str' # } # argv: [ # '--json', # '/tmp/LZB0m6uEqz/infile1' # ] # Script's stdout: <["200","OK","a1=foo",{"func.args":{"-cmdline_src_a1":"stdin_or_files","-cmdline_srcfilenames_a1":["/tmp/LZB0m6uEqz/infile1"],"a1":"foo"},"stream":0}] # > # 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/LZB0m6uEqz/climS4iQvEG # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/climS4iQvEG', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_files_str' # } # argv: [ # '/tmp/LZB0m6uEqz/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/LZB0m6uEqz/cliYQfCTySS # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/cliYQfCTySS', # '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/LZB0m6uEqz/cliq7pVM4CA # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/cliq7pVM4CA', # '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: cmdline_src (stdin_or_args) ok 1 - dummy # Subtest: from arg # Generated CLI script at /tmp/LZB0m6uEqz/cliOJ6zA3Qp # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/cliOJ6zA3Qp', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_args_array' # } # argv: [ # '--a1', # 'x' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 2 - from arg # Subtest: from stdin # Generated CLI script at /tmp/LZB0m6uEqz/cli9RrufXO8 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/cli9RrufXO8', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_args_array' # } # argv: [] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 3 - from stdin 1..3 ok 11 - cmdline_src (stdin_or_args) # Subtest: dry-run ok 1 - dummy # Subtest: dry-run (via env, 0) # Generated CLI script at /tmp/LZB0m6uEqz/clivL7zHzhk # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/clivL7zHzhk', # '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/LZB0m6uEqz/cliUsuVP5Uh # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/cliUsuVP5Uh', # '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/LZB0m6uEqz/cli5R4pf9Wq # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/cli5R4pf9Wq', # '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 12 - 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 13 - tx # Subtest: streaming ok 1 - dummy # Subtest: stream input, simple type, chomp on # Generated CLI script at /tmp/LZB0m6uEqz/cliDNoNnP1D # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/cliDNoNnP1D', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/Stream/count_lines' # } # argv: [ # '/tmp/LZB0m6uEqz/infile-str' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 2 - stream input, simple type, chomp on # Subtest: stream input, simple type, chomp off # Generated CLI script at /tmp/LZB0m6uEqz/cliBWMFvOGu # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/cliBWMFvOGu', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/Stream/wc' # } # argv: [ # '/tmp/LZB0m6uEqz/infile-str' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 3 - stream input, simple type, chomp off # Subtest: stream input, json stream # Generated CLI script at /tmp/LZB0m6uEqz/clirOU0SrtS # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/clirOU0SrtS', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/Stream/wc_keys' # } # argv: [ # '/tmp/LZB0m6uEqz/infile-hash-json' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 4 - stream input, json stream # Subtest: stream input, simple type, word validation 1..0 # SKIP Has one of the exclude_tag: validate-streaming-input ok 5 # skip Has one of the exclude_tag: validate-streaming-input # Subtest: stream input, simple types, word validation, error 1..0 # SKIP Has one of the exclude_tag: validate-streaming-input ok 6 # skip Has one of the exclude_tag: validate-streaming-input # Subtest: stream input, simple types, word validation, error 1..0 # SKIP Has one of the exclude_tag: validate-streaming-input ok 7 # skip Has one of the exclude_tag: validate-streaming-input # Subtest: stream input, json stream, error 1..0 # SKIP Has one of the exclude_tag: validate-streaming-input ok 8 # skip Has one of the exclude_tag: validate-streaming-input # Subtest: stream result, simple types, word validation 1..0 # SKIP Has one of the exclude_tag: validate-streaming-result ok 9 # skip Has one of the exclude_tag: validate-streaming-result # Subtest: stream result, simple types, word validation, error 1..0 # SKIP Has one of the exclude_tag: validate-streaming-result ok 10 # skip Has one of the exclude_tag: validate-streaming-result # Subtest: stream result, json stream # Generated CLI script at /tmp/LZB0m6uEqz/cli3aEDDXYR # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/cli3aEDDXYR', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/Stream/produce_hashes' # } # 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 11 - stream result, json stream # Subtest: stream input+result, simple type, float validation # Generated CLI script at /tmp/LZB0m6uEqz/cliKfWEGiMb # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/cliKfWEGiMb', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/Stream/square_nums' # } # argv: [ # '/tmp/LZB0m6uEqz/infile-int' # ] # Script's stdout: <1 # 9 # 25 # > # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 12 - stream input+result, simple type, float validation # Subtest: stream input+result, simple type, float validation, error 1..0 # SKIP Has one of the exclude_tag: validate-streaming-input ok 13 # skip Has one of the exclude_tag: validate-streaming-input 1..13 ok 14 - streaming # Subtest: result metadata ok 1 - dummy # Subtest: cmdline.exit_code # Generated CLI script at /tmp/LZB0m6uEqz/cli9BqvRgVp # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/cli9BqvRgVp', # '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/LZB0m6uEqz/cli4X4v1D7R # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/cli4X4v1D7R', # '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/LZB0m6uEqz/cliG400Z8OO # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/cliG400Z8OO', # '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","stream":0}] # > # 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/LZB0m6uEqz/cliQe2ZnnHF # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/cliQe2ZnnHF', # '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/LZB0m6uEqz/cli9iD4631w # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/cli9iD4631w', # '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 15 - result metadata # Subtest: completion ok 1 - dummy # Subtest: self-completion works # Generated CLI script at /tmp/LZB0m6uEqz/cli_o3L5iQh # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/cli_o3L5iQh', # '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/LZB0m6uEqz/cliyOyPetYw # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/cliyOyPetYw', # '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/LZB0m6uEqz/clioiCNprhb # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/clioiCNprhb', # '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 16 - completion # Subtest: env ok 1 - dummy # Subtest: env read # Generated CLI script at /tmp/LZB0m6uEqz/clikZ9M4Gpv # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/clikZ9M4Gpv', # '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/LZB0m6uEqz/cliJot62bvg # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/cliJot62bvg', # '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/LZB0m6uEqz/cli3uDrv0zj # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'env_name' => 'foo_opt', # 'output_file' => '/tmp/LZB0m6uEqz/cli3uDrv0zj', # '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 17 - env # Subtest: config file ok 1 - dummy # Subtest: attr:config_dirs # Generated CLI script at /tmp/LZB0m6uEqz/cliKF93YNAa # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/LZB0m6uEqz' # ], # 'output_file' => '/tmp/LZB0m6uEqz/cliKF93YNAa', # '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/LZB0m6uEqz/cliTSdAxCMD # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/LZB0m6uEqz' # ], # 'config_filename' => 'prog2.conf', # 'output_file' => '/tmp/LZB0m6uEqz/cliTSdAxCMD', # '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/LZB0m6uEqz/clioyFNDb9R # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/LZB0m6uEqz' # ], # 'output_file' => '/tmp/LZB0m6uEqz/clioyFNDb9R', # '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/LZB0m6uEqz/clitSGcxwoA # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/LZB0m6uEqz/clitSGcxwoA', # 'overwrite' => 1, # 'read_config' => 1, # 'read_env' => 0, # 'script_name' => 'prog', # 'url' => '/Perinci/Examples/noop2' # } # argv: [ # '--config-path', # '/tmp/LZB0m6uEqz/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/LZB0m6uEqz/clisCm8ZQIC # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/LZB0m6uEqz' # ], # 'output_file' => '/tmp/LZB0m6uEqz/clisCm8ZQIC', # '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/LZB0m6uEqz/cliL1F35af4 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/LZB0m6uEqz' # ], # 'output_file' => '/tmp/LZB0m6uEqz/cliL1F35af4', # '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/LZB0m6uEqz/cliJ3lkV6gN # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/LZB0m6uEqz' # ], # 'output_file' => '/tmp/LZB0m6uEqz/cliJ3lkV6gN', # '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/LZB0m6uEqz/cli_LD_i2ZB # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/LZB0m6uEqz' # ], # 'output_file' => '/tmp/LZB0m6uEqz/cli_LD_i2ZB', # '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 (old syntax) # Generated CLI script at /tmp/LZB0m6uEqz/cli1iNi2f0f # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/LZB0m6uEqz' # ], # 'output_file' => '/tmp/LZB0m6uEqz/cli1iNi2f0f', # 'overwrite' => 1, # 'read_config' => 1, # 'read_env' => 0, # 'script_name' => 'prog-old', # '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 (old syntax) # Subtest: subcommand + --config-profile # Generated CLI script at /tmp/LZB0m6uEqz/cliWot1ORIE # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/LZB0m6uEqz' # ], # 'output_file' => '/tmp/LZB0m6uEqz/cliWot1ORIE', # '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 11 - subcommand + --config-profile # Subtest: array-ify if argument is array # Generated CLI script at /tmp/LZB0m6uEqz/cli0up2Y711 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/LZB0m6uEqz' # ], # 'output_file' => '/tmp/LZB0m6uEqz/cli0up2Y711', # '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 12 - array-ify if argument is array # Subtest: can also set common option # Generated CLI script at /tmp/LZB0m6uEqz/cliuReU6yZB # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/LZB0m6uEqz' # ], # 'output_file' => '/tmp/LZB0m6uEqz/cliuReU6yZB', # '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 13 - can also set common option 1..13 ok 18 - config file # all tests successful, deleting tempdir /tmp/LZB0m6uEqz 1..18 ok All tests successful. Files=5, Tests=21, 10 wallclock secs ( 0.12 usr 0.02 sys + 8.46 cusr 1.54 csys = 10.14 CPU) Result: PASS PERLANCAR/Perinci-CmdLine-Lite-1.51.tar.gz Tests succeeded but one dependency not OK (Progress::Any::Output::TermProgressBarColor) PERLANCAR/Perinci-CmdLine-Lite-1.51.tar.gz [dependencies] -- NA PERLANCAR/Perinci-CmdLine-Any-0.12.tar.gz Has already been unwrapped into directory /Users/fly2200/cpanfly-5.22/var/cpan/build/Perinci-CmdLine-Any-0.12-zvz5Rt PERLANCAR/Perinci-CmdLine-Any-0.12.tar.gz Has already been prepared Running make for 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.51.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, 0 wallclock secs ( 0.02 usr 0.01 sys + 0.11 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 test for module 'Compiler::Lexer' Checksum for /Users/fly2200/cpanfly-5.22/var/cpan/sources/authors/id/G/GO/GOCCY/Compiler-Lexer-0.22.tar.gz ok Compiler-Lexer-0.22/Build.PL Compiler-Lexer-0.22/Changes Compiler-Lexer-0.22/LICENSE Compiler-Lexer-0.22/META.json Compiler-Lexer-0.22/README.md Compiler-Lexer-0.22/builder/MyBuilder.pm Compiler-Lexer-0.22/cpanfile Compiler-Lexer-0.22/cpanfile.snapshot Compiler-Lexer-0.22/example/benchmark.pl Compiler-Lexer-0.22/example/sample.pl Compiler-Lexer-0.22/gen/double_charactor_operator.gperf Compiler-Lexer-0.22/gen/gen_constants.yaml Compiler-Lexer-0.22/gen/gen_decl.pl Compiler-Lexer-0.22/gen/reserved_keywords.gperf Compiler-Lexer-0.22/gen/test_generator.pl Compiler-Lexer-0.22/gen/triple_charactor_operator.gperf Compiler-Lexer-0.22/include/common.hpp Compiler-Lexer-0.22/include/gen_token.hpp Compiler-Lexer-0.22/include/keyword.hpp Compiler-Lexer-0.22/include/lexer.hpp Compiler-Lexer-0.22/include/token.hpp Compiler-Lexer-0.22/lib/Compiler/Lexer.pm Compiler-Lexer-0.22/lib/Compiler/Lexer/Constants.pm Compiler-Lexer-0.22/lib/Compiler/Lexer/Token.pm Compiler-Lexer-0.22/minil.toml Compiler-Lexer-0.22/src/Compiler-Lexer.xs Compiler-Lexer-0.22/src/compiler/lexer/Compiler_annotator.cpp Compiler-Lexer-0.22/src/compiler/lexer/Compiler_lexer.cpp Compiler-Lexer-0.22/src/compiler/lexer/Compiler_manager.cpp Compiler-Lexer-0.22/src/compiler/lexer/Compiler_scanner.cpp Compiler-Lexer-0.22/src/compiler/util/Compiler_double_charactor_operator.cpp Compiler-Lexer-0.22/src/compiler/util/Compiler_gen_token_decl.cpp Compiler-Lexer-0.22/src/compiler/util/Compiler_reserved_keyword.cpp Compiler-Lexer-0.22/src/compiler/util/Compiler_token.cpp Compiler-Lexer-0.22/src/compiler/util/Compiler_triple_charactor_operator.cpp Compiler-Lexer-0.22/src/compiler/util/Compiler_util.cpp Compiler-Lexer-0.22/src/typemap Compiler-Lexer-0.22/t/Lexer.t Compiler-Lexer-0.22/t/format.t Compiler-Lexer-0.22/t/issue_32.t Compiler-Lexer-0.22/t/issue_35.t Compiler-Lexer-0.22/t/issue_38.t Compiler-Lexer-0.22/t/issue_39.t Compiler-Lexer-0.22/t/issue_40.t Compiler-Lexer-0.22/t/issue_42.t Compiler-Lexer-0.22/t/issue_43.t Compiler-Lexer-0.22/t/issue_44.t Compiler-Lexer-0.22/t/issue_45.t Compiler-Lexer-0.22/t/issue_48.t Compiler-Lexer-0.22/t/issue_53.t Compiler-Lexer-0.22/t/issue_reports.t Compiler-Lexer-0.22/t/package.t Compiler-Lexer-0.22/t/perl6.t Compiler-Lexer-0.22/t/recursive_tokenize.t Compiler-Lexer-0.22/t/verbose.t Compiler-Lexer-0.22/typemap Compiler-Lexer-0.22/META.yml Compiler-Lexer-0.22/MANIFEST Configuring G/GO/GOCCY/Compiler-Lexer-0.22.tar.gz with Build.PL >>> /Users/fly2200/ap2200-299195/bin/perl-dynamic Build.PL Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Compiler-Lexer' version '0.22' cp META.json MYMETA.json cp META.yml MYMETA.yml GOCCY/Compiler-Lexer-0.22.tar.gz /Users/fly2200/ap2200-299195/bin/perl-dynamic Build.PL -- OK Running Build for G/GO/GOCCY/Compiler-Lexer-0.22.tar.gz >>> ./Build Building Compiler-Lexer gcc -Isrc -I/Users/fly2200/ap2200-299195/lib/CORE -Iinclude -Wno-missing-field-initializers -g3 -xc++ -c -fno-common -DPERL_DARWIN -no-cpp-precomp -arch x86_64 -DUSE_SITECUSTOMIZE -DPERL_RELOCATABLE_INCPUSH -fno-strict-aliasing -pipe -fstack-protector -O3 -o src/compiler/lexer/Compiler_annotator.o src/compiler/lexer/Compiler_annotator.cpp gcc -Isrc -I/Users/fly2200/ap2200-299195/lib/CORE -Iinclude -Wno-missing-field-initializers -g3 -xc++ -c -fno-common -DPERL_DARWIN -no-cpp-precomp -arch x86_64 -DUSE_SITECUSTOMIZE -DPERL_RELOCATABLE_INCPUSH -fno-strict-aliasing -pipe -fstack-protector -O3 -o src/compiler/lexer/Compiler_lexer.o src/compiler/lexer/Compiler_lexer.cpp gcc -Isrc -I/Users/fly2200/ap2200-299195/lib/CORE -Iinclude -Wno-missing-field-initializers -g3 -xc++ -c -fno-common -DPERL_DARWIN -no-cpp-precomp -arch x86_64 -DUSE_SITECUSTOMIZE -DPERL_RELOCATABLE_INCPUSH -fno-strict-aliasing -pipe -fstack-protector -O3 -o src/compiler/lexer/Compiler_manager.o src/compiler/lexer/Compiler_manager.cpp gcc -Isrc -I/Users/fly2200/ap2200-299195/lib/CORE -Iinclude -Wno-missing-field-initializers -g3 -xc++ -c -fno-common -DPERL_DARWIN -no-cpp-precomp -arch x86_64 -DUSE_SITECUSTOMIZE -DPERL_RELOCATABLE_INCPUSH -fno-strict-aliasing -pipe -fstack-protector -O3 -o src/compiler/lexer/Compiler_scanner.o src/compiler/lexer/Compiler_scanner.cpp gcc -Isrc -I/Users/fly2200/ap2200-299195/lib/CORE -Iinclude -Wno-missing-field-initializers -g3 -xc++ -c -fno-common -DPERL_DARWIN -no-cpp-precomp -arch x86_64 -DUSE_SITECUSTOMIZE -DPERL_RELOCATABLE_INCPUSH -fno-strict-aliasing -pipe -fstack-protector -O3 -o src/compiler/util/Compiler_double_charactor_operator.o src/compiler/util/Compiler_double_charactor_operator.cpp gcc -Isrc -I/Users/fly2200/ap2200-299195/lib/CORE -Iinclude -Wno-missing-field-initializers -g3 -xc++ -c -fno-common -DPERL_DARWIN -no-cpp-precomp -arch x86_64 -DUSE_SITECUSTOMIZE -DPERL_RELOCATABLE_INCPUSH -fno-strict-aliasing -pipe -fstack-protector -O3 -o src/compiler/util/Compiler_gen_token_decl.o src/compiler/util/Compiler_gen_token_decl.cpp gcc -Isrc -I/Users/fly2200/ap2200-299195/lib/CORE -Iinclude -Wno-missing-field-initializers -g3 -xc++ -c -fno-common -DPERL_DARWIN -no-cpp-precomp -arch x86_64 -DUSE_SITECUSTOMIZE -DPERL_RELOCATABLE_INCPUSH -fno-strict-aliasing -pipe -fstack-protector -O3 -o src/compiler/util/Compiler_reserved_keyword.o src/compiler/util/Compiler_reserved_keyword.cpp gcc -Isrc -I/Users/fly2200/ap2200-299195/lib/CORE -Iinclude -Wno-missing-field-initializers -g3 -xc++ -c -fno-common -DPERL_DARWIN -no-cpp-precomp -arch x86_64 -DUSE_SITECUSTOMIZE -DPERL_RELOCATABLE_INCPUSH -fno-strict-aliasing -pipe -fstack-protector -O3 -o src/compiler/util/Compiler_token.o src/compiler/util/Compiler_token.cpp gcc -Isrc -I/Users/fly2200/ap2200-299195/lib/CORE -Iinclude -Wno-missing-field-initializers -g3 -xc++ -c -fno-common -DPERL_DARWIN -no-cpp-precomp -arch x86_64 -DUSE_SITECUSTOMIZE -DPERL_RELOCATABLE_INCPUSH -fno-strict-aliasing -pipe -fstack-protector -O3 -o src/compiler/util/Compiler_triple_charactor_operator.o src/compiler/util/Compiler_triple_charactor_operator.cpp gcc -Isrc -I/Users/fly2200/ap2200-299195/lib/CORE -Iinclude -Wno-missing-field-initializers -g3 -xc++ -c -fno-common -DPERL_DARWIN -no-cpp-precomp -arch x86_64 -DUSE_SITECUSTOMIZE -DPERL_RELOCATABLE_INCPUSH -fno-strict-aliasing -pipe -fstack-protector -O3 -o src/compiler/util/Compiler_util.o src/compiler/util/Compiler_util.cpp gcc -Isrc -I/Users/fly2200/ap2200-299195/lib/CORE -DVERSION="0.22" -DXS_VERSION="0.22" -Iinclude -Wno-missing-field-initializers -g3 -xc++ -c -fno-common -DPERL_DARWIN -no-cpp-precomp -arch x86_64 -DUSE_SITECUSTOMIZE -DPERL_RELOCATABLE_INCPUSH -fno-strict-aliasing -pipe -fstack-protector -O3 -o lib/Compiler/Lexer.o lib/Compiler/Lexer.c lib/Compiler/Lexer.c:502:1: warning: duplicate 'extern' declaration specifier [-Wduplicate-decl-specifier] XS_EXTERNAL(boot_Compiler__Lexer); /* prototype to pass -Wmissing-prototypes */ ^ /Users/fly2200/ap2200-299195/lib/CORE/XSUB.h:145:33: note: expanded from macro 'XS_EXTERNAL' # define XS_EXTERNAL(name) extern "C" XSPROTO(name) ^ 1 warning generated. ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/Compiler/Lexer/Lexer.bs') env LD_RUN_PATH=/Users/fly2200/ap2200-299195/lib/CORE gcc -mmacosx-version-min=10.9 -bundle -undefined dynamic_lookup -Wl,-search_paths_first -arch x86_64 -fstack-protector -o blib/arch/auto/Compiler/Lexer/Lexer.bundle lib/Compiler/Lexer.o src/compiler/lexer/Compiler_annotator.o src/compiler/lexer/Compiler_lexer.o src/compiler/lexer/Compiler_manager.o src/compiler/lexer/Compiler_scanner.o src/compiler/util/Compiler_double_charactor_operator.o src/compiler/util/Compiler_gen_token_decl.o src/compiler/util/Compiler_reserved_keyword.o src/compiler/util/Compiler_token.o src/compiler/util/Compiler_triple_charactor_operator.o src/compiler/util/Compiler_util.o -lstdc++ GOCCY/Compiler-Lexer-0.22.tar.gz ./Build -- OK Running Build test >>> ./Build test verbose=1 t/Lexer.t ............... 1..1 ok 1 - use Compiler::Lexer; $VAR1 = [ { 'name' => 'Test::Module', 'args' => '' } ]; ok t/format.t .............. ok 1 - use Compiler::Lexer; # Subtest: tokenize ok 1 1..1 ok 2 - tokenize # Subtest: omitted handler name ok 1 1..1 ok 3 - omitted handler name # Subtest: do not misrecognize when confusing case ok 1 1..1 ok 4 - do not misrecognize when confusing case 1..4 ok t/issue_32.t ............ ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 1..6 ok t/issue_35.t ............ ok 1 1..1 ok t/issue_38.t ............ ok 1 ok 2 1..2 ok t/issue_39.t ............ ok 1 1..1 ok t/issue_40.t ............ ok 1 1..1 ok t/issue_42.t ............ ok 1 1..1 ok t/issue_43.t ............ ok 1 1..1 ok t/issue_44.t ............ ok 1 1..1 ok t/issue_45.t ............ ok 1 1..1 ok t/issue_48.t ............ ok 1 1..1 ok t/issue_53.t ............ $VAR1 = [ bless( { 'stype' => 0, 'name' => 'RegReplace', 'kind' => 31, 'line' => 1, 'data' => 's', 'has_warnings' => 0, 'type' => 155 }, 'Compiler::Lexer::Token' ), bless( { 'line' => 1, 'has_warnings' => 0, 'data' => '/', 'type' => 151, 'kind' => 24, 'name' => 'RegDelim', 'stype' => 0 }, 'Compiler::Lexer::Token' ), bless( { 'line' => 1, 'data' => '', 'has_warnings' => 0, 'type' => 156, 'kind' => 24, 'name' => 'RegReplaceFrom', 'stype' => 0 }, 'Compiler::Lexer::Token' ), bless( { 'name' => 'RegMiddleDelim', 'kind' => 24, 'stype' => 0, 'line' => 1, 'data' => '/', 'has_warnings' => 0, 'type' => 153 }, 'Compiler::Lexer::Token' ), bless( { 'name' => 'RegReplaceTo', 'kind' => 24, 'stype' => 0, 'line' => 1, 'has_warnings' => 0, 'data' => '', 'type' => 157 }, 'Compiler::Lexer::Token' ), bless( { 'name' => 'RegDelim', 'stype' => 0, 'kind' => 24, 'has_warnings' => 0, 'data' => '/', 'type' => 151, 'line' => 1 }, 'Compiler::Lexer::Token' ), bless( { 'line' => 1, 'data' => ';', 'has_warnings' => 0, 'type' => 106, 'stype' => 0, 'name' => 'SemiColon', 'kind' => 21 }, 'Compiler::Lexer::Token' ) ]; ok 1 1..1 ok t/issue_reports.t ....... ok 1 - use Compiler::Lexer; # Subtest: tokenize ok 1 1..1 ok 2 - tokenize 1..2 ok t/package.t ............. 1..1 ok 1 - use Compiler::Lexer; $VAR1 = [ bless( { 'name' => 'Package', 'stype' => 0, 'line' => 1, 'data' => 'package', 'type' => 128, 'has_warnings' => 0, 'kind' => 26 }, 'Compiler::Lexer::Token' ), bless( { 'stype' => 0, 'line' => 1, 'name' => 'Class', 'has_warnings' => 0, 'kind' => 27, 'type' => 129, 'data' => 'Foo' }, 'Compiler::Lexer::Token' ) ]; ok t/perl6.t ............... ok 1 ok 2 1..2 ok Can't cd to (/Users/fly2200/cpanfly-5.22/var/megalib/Bio/) SABio: Permission denied at /Users/fly2200/cpanfly-5.22/var/cpan/build/Compiler-Lexer-0.22-ikAtAA/blib/lib/Compiler/Lexer.pm line 51. Can't cd to (/Users/fly2200/cpanfly-5.22/var/megalib/Bio/) SABio: Permission denied at /Users/fly2200/cpanfly-5.22/var/cpan/build/Compiler-Lexer-0.22-ikAtAA/blib/lib/Compiler/Lexer.pm line 51. Can't cd to (/Users/fly2200/cpanfly-5.22/var/megalib/Bio/) SABio: Permission denied at /Users/fly2200/cpanfly-5.22/var/cpan/build/Compiler-Lexer-0.22-ikAtAA/blib/lib/Compiler/Lexer.pm line 51. Can't cd to (/Users/fly2200/cpanfly-5.22/var/megalib/Bio/) SABio: Permission denied at /Users/fly2200/cpanfly-5.22/var/cpan/build/Compiler-Lexer-0.22-ikAtAA/blib/lib/Compiler/Lexer.pm line 51. Can't cd to (/Users/fly2200/cpanfly-5.22/var/megalib/Bio/) SABio: Permission denied at /Users/fly2200/cpanfly-5.22/var/cpan/build/Compiler-Lexer-0.22-ikAtAA/blib/lib/Compiler/Lexer.pm line 51. Can't cd to (/Users/fly2200/cpanfly-5.22/var/megalib/Bio/) SABio: Permission denied at /Users/fly2200/cpanfly-5.22/var/cpan/build/Compiler-Lexer-0.22-ikAtAA/blib/lib/Compiler/Lexer.pm line 51. Can't cd to (/Users/fly2200/cpanfly-5.22/var/megalib/Bio/) SABio: Permission denied at /Users/fly2200/cpanfly-5.22/var/cpan/build/Compiler-Lexer-0.22-ikAtAA/blib/lib/Compiler/Lexer.pm line 51. Can't cd to (/Users/fly2200/cpanfly-5.22/var/megalib/Bio/) SABio: Permission denied at /Users/fly2200/cpanfly-5.22/var/cpan/build/Compiler-Lexer-0.22-ikAtAA/blib/lib/Compiler/Lexer.pm line 51. Can't cd to (/Users/fly2200/cpanfly-5.22/var/megalib/Bio/) SABio: Permission denied at /Users/fly2200/cpanfly-5.22/var/cpan/build/Compiler-Lexer-0.22-ikAtAA/blib/lib/Compiler/Lexer.pm line 51. Can't cd to (/Users/fly2200/cpanfly-5.22/var/megalib/Bio/) SABio: Permission denied at /Users/fly2200/cpanfly-5.22/var/cpan/build/Compiler-Lexer-0.22-ikAtAA/blib/lib/Compiler/Lexer.pm line 51. Can't cd to (/Users/fly2200/cpanfly-5.22/var/megalib/Bio/) SABio: Permission denied at /Users/fly2200/cpanfly-5.22/var/cpan/build/Compiler-Lexer-0.22-ikAtAA/blib/lib/Compiler/Lexer.pm line 51. Can't cd to (/Users/fly2200/cpanfly-5.22/var/megalib/Bio/) SABio: Permission denied at /Users/fly2200/cpanfly-5.22/var/cpan/build/Compiler-Lexer-0.22-ikAtAA/blib/lib/Compiler/Lexer.pm line 51. Can't cd to (/Users/fly2200/cpanfly-5.22/var/megalib/Bio/) SABio: Permission denied at /Users/fly2200/cpanfly-5.22/var/cpan/build/Compiler-Lexer-0.22-ikAtAA/blib/lib/Compiler/Lexer.pm line 51. Can't cd to (/Users/fly2200/cpanfly-5.22/var/megalib/Bio/) SABio: Permission denied at /Users/fly2200/cpanfly-5.22/var/cpan/build/Compiler-Lexer-0.22-ikAtAA/blib/lib/Compiler/Lexer.pm line 51. Can't cd to (/Users/fly2200/cpanfly-5.22/var/megalib/Bio/) SABio: Permission denied at /Users/fly2200/cpanfly-5.22/var/cpan/build/Compiler-Lexer-0.22-ikAtAA/blib/lib/Compiler/Lexer.pm line 51. Can't cd to (/Users/fly2200/cpanfly-5.22/var/megalib/Bio/) SABio: Permission denied at /Users/fly2200/cpanfly-5.22/var/cpan/build/Compiler-Lexer-0.22-ikAtAA/blib/lib/Compiler/Lexer.pm line 51. Can't cd to (/Users/fly2200/cpanfly-5.22/var/megalib/Bio/) SABio: Permission denied at /Users/fly2200/cpanfly-5.22/var/cpan/build/Compiler-Lexer-0.22-ikAtAA/blib/lib/Compiler/Lexer.pm line 51. Can't cd to (/Users/fly2200/cpanfly-5.22/var/megalib/Bio/) SABio: Permission denied at /Users/fly2200/cpanfly-5.22/var/cpan/build/Compiler-Lexer-0.22-ikAtAA/blib/lib/Compiler/Lexer.pm line 51. Can't cd to (/Users/fly2200/cpanfly-5.22/var/megalib/Bio/) SABio: Permission denied at /Users/fly2200/cpanfly-5.22/var/cpan/build/Compiler-Lexer-0.22-ikAtAA/blib/lib/Compiler/Lexer.pm line 51. Can't cd to (/Users/fly2200/cpanfly-5.22/var/megalib/Bio/) SABio: Permission denied at /Users/fly2200/cpanfly-5.22/var/cpan/build/Compiler-Lexer-0.22-ikAtAA/blib/lib/Compiler/Lexer.pm line 51. Can't cd to (/Users/fly2200/cpanfly-5.22/var/megalib/Bio/) SABio: Permission denied at /Users/fly2200/cpanfly-5.22/var/cpan/build/Compiler-Lexer-0.22-ikAtAA/blib/lib/Compiler/Lexer.pm line 51. Can't cd to (/Users/fly2200/cpanfly-5.22/var/megalib/Bio/) SABio: Permission denied at /Users/fly2200/cpanfly-5.22/var/cpan/build/Compiler-Lexer-0.22-ikAtAA/blib/lib/Compiler/Lexer.pm line 51. Timeout (max run time is 300s) /Users/fly2200/ap2200-299195/bin/perl-dynamic killed by signal 15.