PATH=/usr/bin:/bin:/Users/fly1800/cpanfly-5.18/var/megalib/bin Start 2016-01-17T07:15:23 ActivePerl-1800 CPAN-2.00 Reading '/Users/fly1800/cpanfly-5.18/var/cpan/Metadata' Database was generated on Sun, 17 Jan 2016 05:29:02 GMT Running make for P/PE/PERLANCAR/App-lcpan-0.64.tar.gz Checksum for /Users/fly1800/cpanfly-5.18/var/cpan/sources/authors/id/P/PE/PERLANCAR/App-lcpan-0.64.tar.gz ok App-lcpan-0.64/ App-lcpan-0.64/bin/ App-lcpan-0.64/bin/lcpanm App-lcpan-0.64/bin/lcpan App-lcpan-0.64/META.json App-lcpan-0.64/LICENSE App-lcpan-0.64/Changes App-lcpan-0.64/META.yml App-lcpan-0.64/Makefile.PL App-lcpan-0.64/t/ App-lcpan-0.64/t/release-pod-syntax.t App-lcpan-0.64/t/author-sql_schema_versioned.t App-lcpan-0.64/t/release-pod-coverage.t App-lcpan-0.64/t/release-rinci.t App-lcpan-0.64/t/00-compile.t App-lcpan-0.64/README App-lcpan-0.64/dist.ini App-lcpan-0.64/lib/ App-lcpan-0.64/lib/LWP/ App-lcpan-0.64/lib/LWP/UserAgent/ App-lcpan-0.64/lib/LWP/UserAgent/Patch/ App-lcpan-0.64/lib/LWP/UserAgent/Patch/FilterLcpan.pm App-lcpan-0.64/lib/App/ App-lcpan-0.64/lib/App/lcpan.pm App-lcpan-0.64/lib/App/lcpan/ App-lcpan-0.64/lib/App/lcpan/Cmd/ App-lcpan-0.64/lib/App/lcpan/Cmd/extract_mod.pm App-lcpan-0.64/lib/App/lcpan/Cmd/mod2rel.pm App-lcpan-0.64/lib/App/lcpan/Cmd/rels.pm App-lcpan-0.64/lib/App/lcpan/Cmd/authors.pm App-lcpan-0.64/lib/App/lcpan/Cmd/authors_by_dist_count.pm App-lcpan-0.64/lib/App/lcpan/Cmd/mods_by_rdep_count.pm App-lcpan-0.64/lib/App/lcpan/Cmd/dist2rel.pm App-lcpan-0.64/lib/App/lcpan/Cmd/update.pm App-lcpan-0.64/lib/App/lcpan/Cmd/namespaces.pm App-lcpan-0.64/lib/App/lcpan/Cmd/distmods.pm App-lcpan-0.64/lib/App/lcpan/Cmd/author_rels.pm App-lcpan-0.64/lib/App/lcpan/Cmd/stats.pm App-lcpan-0.64/lib/App/lcpan/Cmd/dists_by_dep_count.pm App-lcpan-0.64/lib/App/lcpan/Cmd/authors_by_rel_count.pm App-lcpan-0.64/lib/App/lcpan/Cmd/authors_by_mod_count.pm App-lcpan-0.64/lib/App/lcpan/Cmd/deps.pm App-lcpan-0.64/lib/App/lcpan/Cmd/extract_rel.pm App-lcpan-0.64/lib/App/lcpan/Cmd/authors_by_rdep_count.pm App-lcpan-0.64/lib/App/lcpan/Cmd/copy_mod.pm App-lcpan-0.64/lib/App/lcpan/Cmd/author_dists.pm App-lcpan-0.64/lib/App/lcpan/Cmd/reset.pm App-lcpan-0.64/lib/App/lcpan/Cmd/author_mods.pm App-lcpan-0.64/lib/App/lcpan/Cmd/mods_from_same_dist.pm App-lcpan-0.64/lib/App/lcpan/Cmd/dists.pm App-lcpan-0.64/lib/App/lcpan/Cmd/releases.pm App-lcpan-0.64/lib/App/lcpan/Cmd/copy_rel.pm App-lcpan-0.64/lib/App/lcpan/Cmd/modules.pm App-lcpan-0.64/lib/App/lcpan/Cmd/author_rdeps.pm App-lcpan-0.64/lib/App/lcpan/Cmd/rdeps.pm App-lcpan-0.64/lib/App/lcpan/Cmd/mod2dist.pm App-lcpan-0.64/lib/App/lcpan/Cmd/mods.pm App-lcpan-0.64/MANIFEST App-lcpan-0.64/weaver.ini CPAN.pm: Building P/PE/PERLANCAR/App-lcpan-0.64.tar.gz >>> /Users/fly1800/ap1800-297214/bin/perl-dynamic Makefile.PL Warning: prerequisite App::ShellCompleter::cpanm 0 not found. Warning: prerequisite LWP::UserAgent::Patch::FilterMirrorMaxSize 0 not found. Warning: prerequisite Perinci::CmdLine::Util::Config 0 not found. Checking if your kit is complete... Looks good Have /Users/fly1800/cpanfly-5.18/var/megalib Want /Users/fly1800/ap1800-297214/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 ---- Unsatisfied dependencies detected during ---- ---- PERLANCAR/App-lcpan-0.64.tar.gz ---- Perinci::CmdLine::Util::Config [requires] App::ShellCompleter::cpanm [requires] LWP::UserAgent::Patch::FilterMirrorMaxSize [requires] Running make test Delayed until after prerequisites Running test for module 'Perinci::CmdLine::Util::Config' Running make for P/PE/PERLANCAR/Perinci-CmdLine-Lite-1.44.tar.gz Checksum for /Users/fly1800/cpanfly-5.18/var/cpan/sources/authors/id/P/PE/PERLANCAR/Perinci-CmdLine-Lite-1.44.tar.gz ok Perinci-CmdLine-Lite-1.44/ Perinci-CmdLine-Lite-1.44/README Perinci-CmdLine-Lite-1.44/lib/ Perinci-CmdLine-Lite-1.44/lib/Perinci/ Perinci-CmdLine-Lite-1.44/lib/Perinci/CmdLine/ Perinci-CmdLine-Lite-1.44/lib/Perinci/CmdLine/Lite.pm Perinci-CmdLine-Lite-1.44/lib/Perinci/CmdLine/Base.pm Perinci-CmdLine-Lite-1.44/lib/Perinci/CmdLine/Util/ Perinci-CmdLine-Lite-1.44/lib/Perinci/CmdLine/Util/Config.pm Perinci-CmdLine-Lite-1.44/Makefile.PL Perinci-CmdLine-Lite-1.44/share/ Perinci-CmdLine-Lite-1.44/share/templates/ Perinci-CmdLine-Lite-1.44/share/templates/description.txt Perinci-CmdLine-Lite-1.44/share/templates/synopsis.txt Perinci-CmdLine-Lite-1.44/Changes Perinci-CmdLine-Lite-1.44/dist.ini Perinci-CmdLine-Lite-1.44/LICENSE Perinci-CmdLine-Lite-1.44/t/ Perinci-CmdLine-Lite-1.44/t/00-compile.t Perinci-CmdLine-Lite-1.44/t/suite.t Perinci-CmdLine-Lite-1.44/t/release-rinci.t Perinci-CmdLine-Lite-1.44/t/author-pod-syntax.t Perinci-CmdLine-Lite-1.44/t/author-pod-coverage.t Perinci-CmdLine-Lite-1.44/weaver.ini Perinci-CmdLine-Lite-1.44/MANIFEST Perinci-CmdLine-Lite-1.44/META.json Perinci-CmdLine-Lite-1.44/META.yml Perinci-CmdLine-Lite-1.44/devscripts/ Perinci-CmdLine-Lite-1.44/devscripts/bench-startup CPAN.pm: Building P/PE/PERLANCAR/Perinci-CmdLine-Lite-1.44.tar.gz >>> /Users/fly1800/ap1800-297214/bin/perl-dynamic Makefile.PL Warning: prerequisite Perinci::Access::Lite 0.09 not found. We have 0.02. Warning: prerequisite Progress::Any::Output::TermProgressBarColor 0.17 not found. We have 0.10. Checking if your kit is complete... Looks good Have /Users/fly1800/cpanfly-5.18/var/megalib Want /Users/fly1800/ap1800-297214/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 ---- Unsatisfied dependencies detected during ---- ---- PERLANCAR/Perinci-CmdLine-Lite-1.44.tar.gz ---- Perinci::Access::Lite [requires] Progress::Any::Output::TermProgressBarColor [requires] Running make test Delayed until after prerequisites Running test for module 'Perinci::Access::Lite' Running make for P/PE/PERLANCAR/Perinci-Access-Lite-0.12.tar.gz Checksum for /Users/fly1800/cpanfly-5.18/var/cpan/sources/authors/id/P/PE/PERLANCAR/Perinci-Access-Lite-0.12.tar.gz ok Perinci-Access-Lite-0.12/ Perinci-Access-Lite-0.12/README Perinci-Access-Lite-0.12/lib/ Perinci-Access-Lite-0.12/lib/Perinci/ Perinci-Access-Lite-0.12/lib/Perinci/Access/ Perinci-Access-Lite-0.12/lib/Perinci/Access/Lite.pm Perinci-Access-Lite-0.12/Makefile.PL Perinci-Access-Lite-0.12/Changes Perinci-Access-Lite-0.12/dist.ini Perinci-Access-Lite-0.12/LICENSE Perinci-Access-Lite-0.12/t/ Perinci-Access-Lite-0.12/t/00-compile.t Perinci-Access-Lite-0.12/t/01-basics.t Perinci-Access-Lite-0.12/t/author-pod-syntax.t Perinci-Access-Lite-0.12/t/author-pod-coverage.t Perinci-Access-Lite-0.12/weaver.ini Perinci-Access-Lite-0.12/MANIFEST Perinci-Access-Lite-0.12/META.json Perinci-Access-Lite-0.12/META.yml CPAN.pm: Building P/PE/PERLANCAR/Perinci-Access-Lite-0.12.tar.gz >>> /Users/fly1800/ap1800-297214/bin/perl-dynamic Makefile.PL Checking if your kit is complete... Looks good Have /Users/fly1800/cpanfly-5.18/var/megalib Want /Users/fly1800/ap1800-297214/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::Access::Lite Writing MYMETA.yml and MYMETA.json >>> make cp lib/Perinci/Access/Lite.pm blib/lib/Perinci/Access/Lite.pm Manifying 1 pod document PERLANCAR/Perinci-Access-Lite-0.12.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 "/Users/fly1800/ap1800-297214/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/Access/Lite.pm loaded ok ok # Failed test 'status' # at t/01-basics.t line 69. # got: '500' # expected: '200' # Looks like you failed 1 test of 1. # Failed test 'call func' # at t/01-basics.t line 78. # Failed test 'status' # at t/01-basics.t line 69. # got: '500' # expected: '200' # Looks like you failed 1 test of 1. # Failed test 'meta func' # at t/01-basics.t line 78. # Looks like you failed 2 tests of 7. # Failed test 'local (pl)' # at t/01-basics.t line 56. # Looks like you failed 1 test of 1. t/01-basics.t ............ # Subtest: local (pl) # Subtest: call non-existing entity ok 1 - status 1..1 ok 1 - call non-existing entity # Subtest: call func not ok 1 - status 1..1 not ok 2 - call func # Subtest: call pkg ok 1 - status 1..1 ok 3 - call pkg # Subtest: meta func not ok 1 - status 1..1 not ok 4 - meta func # Subtest: meta pkg ok 1 - status 1..1 ok 5 - meta pkg # Subtest: list func ok 1 - status 1..1 ok 6 - list func # Subtest: list pkg ok 1 - status ok 2 - result 1..2 ok 7 - list pkg 1..7 not ok 1 - local (pl) 1..1 Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests t/author-pod-coverage.t .. skipped: these tests are for testing by the author t/author-pod-syntax.t .... skipped: these tests are for testing by the author Test Summary Report ------------------- t/01-basics.t (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 Files=4, Tests=2, 0 wallclock secs ( 0.04 usr 0.01 sys + 0.16 cusr 0.04 csys = 0.25 CPU) Result: FAIL Failed 1/4 test programs. 1/2 subtests failed. make: *** [test_dynamic] Error 255 PERLANCAR/Perinci-Access-Lite-0.12.tar.gz make test TEST_VERBOSE=1 -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports PERLANCAR/Perinci-Access-Lite-0.12.tar.gz 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/fly1800/cpanfly-5.18/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/fly1800/ap1800-297214/bin/perl-dynamic Makefile.PL Checking if your kit is complete... Looks good Have /Users/fly1800/cpanfly-5.18/var/megalib Want /Users/fly1800/ap1800-297214/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 >>> 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/fly1800/ap1800-297214/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/fly1800/cpanfly-5.18/var/megalib/Color/ANSI/Util.pm line 281. # Use of uninitialized value $cd in numeric ge (>=) at /Users/fly1800/cpanfly-5.18/var/megalib/Color/ANSI/Util.pm line 283. # Use of uninitialized value $cd in numeric ge (>=) at /Users/fly1800/cpanfly-5.18/var/megalib/Color/ANSI/Util.pm line 281. # Use of uninitialized value $cd in numeric ge (>=) at /Users/fly1800/cpanfly-5.18/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.04 usr 0.01 sys + 0.29 cusr 0.06 csys = 0.40 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.44.tar.gz Has already been unwrapped into directory /Users/fly1800/cpanfly-5.18/var/cpan/build/Perinci-CmdLine-Lite-1.44-fSkQLw CPAN.pm: Building P/PE/PERLANCAR/Perinci-CmdLine-Lite-1.44.tar.gz Warning: Prerequisite 'Progress::Any::Output::TermProgressBarColor => 0.17' for 'PERLANCAR/Perinci-CmdLine-Lite-1.44.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. Warning: Prerequisite 'Perinci::Access::Lite => 0.09' for 'PERLANCAR/Perinci-CmdLine-Lite-1.44.tar.gz' failed when processing 'PERLANCAR/Perinci-Access-Lite-0.12.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/Base.pm blib/lib/Perinci/CmdLine/Base.pm cp lib/Perinci/CmdLine/Lite.pm blib/lib/Perinci/CmdLine/Lite.pm cp lib/Perinci/CmdLine/Util/Config.pm blib/lib/Perinci/CmdLine/Util/Config.pm Manifying 3 pod documents PERLANCAR/Perinci-CmdLine-Lite-1.44.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/fly1800/ap1800-297214/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 # Failed test 'exit_code' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 183. # got: '200' # expected: '0' # Script's stdout: # Script's stderr: <> # Failed test 'stdout_like' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 193. # 'clio1Ilg5YG: ERROR 500: Died: "gen_modified_sub" is not exported by the Perinci::Sub::Util module # Can't continue after import errors at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # BEGIN failed--compilation aborted at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # Compilation failed in require at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Access/Lite.pm line 37. # ' # doesn't match '(?^:wet)' # Looks like you failed 2 tests of 2. # Failed test 'dry-run (via env, 0)' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 226. # Failed test 'exit_code' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 183. # got: '200' # expected: '0' # Script's stdout: # Script's stderr: <> # Failed test 'stdout_like' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 193. # 'cligWKMYZmu: ERROR 500: Died: "gen_modified_sub" is not exported by the Perinci::Sub::Util module # Can't continue after import errors at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # BEGIN failed--compilation aborted at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # Compilation failed in require at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Access/Lite.pm line 37. # ' # doesn't match '(?^:dry)' # Looks like you failed 2 tests of 2. # Failed test 'dry-run (via env, 1)' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 226. # Failed test 'exit_code' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 183. # got: '200' # expected: '0' # Script's stdout: # Script's stderr: <> # Failed test 'stdout_like' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 193. # 'clikRUhHFEv: ERROR 500: Died: "gen_modified_sub" is not exported by the Perinci::Sub::Util module # Can't continue after import errors at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # BEGIN failed--compilation aborted at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # Compilation failed in require at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Access/Lite.pm line 37. # ' # doesn't match '(?^:dry)' # Looks like you failed 2 tests of 2. # Failed test 'dry-run (via cmdline opt)' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 226. # Looks like you failed 3 tests of 4. # Failed test 'dry-run' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 293. # Failed test 'exit_code' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 183. # got: '255' # expected: '0' # Script's stdout: <> # Script's stderr: <"gen_modified_sub" is not exported by the Perinci::Sub::Util module # Can't continue after import errors at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Sub/Complete.pm line 13. # BEGIN failed--compilation aborted at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Sub/Complete.pm line 13. # Compilation failed in require at /Users/fly1800/cpanfly-5.18/var/cpan/build/Perinci-CmdLine-Lite-1.44-fSkQLw/blib/lib/Perinci/CmdLine/Base.pm line 534. # > # Failed test 'answer' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 257. # Structures begin differing at: # $got->[0] = Does not exist # $expected->[0] = '--number' # [] # Looks like you failed 2 tests of 2. # Failed test 'self-completion works' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 226. # Failed test 'exit_code' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 183. # got: '255' # expected: '0' # Script's stdout: <> # Script's stderr: <"gen_modified_sub" is not exported by the Perinci::Sub::Util module # Can't continue after import errors at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Sub/Complete.pm line 13. # BEGIN failed--compilation aborted at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Sub/Complete.pm line 13. # Compilation failed in require at /Users/fly1800/cpanfly-5.18/var/cpan/build/Perinci-CmdLine-Lite-1.44-fSkQLw/blib/lib/Perinci/CmdLine/Base.pm line 534. # > # Failed test 'answer' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 257. # Structures begin differing at: # $got->[0] = Does not exist # $expected->[0] = 'sc1' # [] # Looks like you failed 2 tests of 2. # Failed test 'completion of subcommand name' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 226. # Failed test 'exit_code' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 183. # got: '255' # expected: '0' # Script's stdout: <> # Script's stderr: <"gen_modified_sub" is not exported by the Perinci::Sub::Util module # Can't continue after import errors at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Sub/Complete.pm line 13. # BEGIN failed--compilation aborted at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Sub/Complete.pm line 13. # Compilation failed in require at /Users/fly1800/cpanfly-5.18/var/cpan/build/Perinci-CmdLine-Lite-1.44-fSkQLw/blib/lib/Perinci/CmdLine/Base.pm line 534. # > # Failed test 'answer' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 257. # Structures begin differing at: # $got->[0] = Does not exist # $expected->[0] = '--number' # [] # Looks like you failed 2 tests of 2. # Failed test 'completion of subcommand option' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 226. # Looks like you failed 3 tests of 4. # Failed test 'completion' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 293. # Failed test 'exit_code' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 183. # got: '200' # expected: '0' # Script's stdout: # Script's stderr: <> # Failed test 'stdout_like' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 193. # 'sum-nums: ERROR 500: Died: "gen_modified_sub" is not exported by the Perinci::Sub::Util module # Can't continue after import errors at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # BEGIN failed--compilation aborted at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # Compilation failed in require at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Access/Lite.pm line 37. # ' # doesn't match '(?^s:^6$)' # Looks like you failed 2 tests of 2. # Failed test 'env read' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 226. # Failed test 'exit_code' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 183. # got: '200' # expected: '0' # Script's stdout: # Script's stderr: <> # Failed test 'stdout_like' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 193. # 'sum-nums: ERROR 500: Died: "gen_modified_sub" is not exported by the Perinci::Sub::Util module # Can't continue after import errors at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # BEGIN failed--compilation aborted at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # Compilation failed in require at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Access/Lite.pm line 37. # ' # doesn't match '(?^s:^3$)' # Looks like you failed 2 tests of 2. # Failed test 'turned off via --no-env' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 226. # Failed test 'exit_code' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 183. # got: '200' # expected: '0' # Script's stdout: # Script's stderr: <> # Failed test 'stdout_like' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 193. # 'sum-nums: ERROR 500: Died: "gen_modified_sub" is not exported by the Perinci::Sub::Util module # Can't continue after import errors at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # BEGIN failed--compilation aborted at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # Compilation failed in require at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Access/Lite.pm line 37. # ' # doesn't match '(?^s:^18$)' # Looks like you failed 2 tests of 2. # Failed test 'attr:env_name' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 226. # Looks like you failed 3 tests of 4. # Failed test 'env' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 293. # Failed test 'exit_code' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 183. # got: '200' # expected: '0' # Script's stdout: # Script's stderr: <> # Failed test 'stdout_like' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 193. # 'prog: ERROR 500: Died: "gen_modified_sub" is not exported by the Perinci::Sub::Util module # Can't continue after import errors at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # BEGIN failed--compilation aborted at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # Compilation failed in require at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Access/Lite.pm line 37. # ' # doesn't match '(?^:^a=101\nb=201\nc=\nd=\ne=$)' # Looks like you failed 2 tests of 2. # Failed test 'attr:config_dirs' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 226. # Failed test 'exit_code' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 183. # got: '200' # expected: '0' # Script's stdout: # Script's stderr: <> # Failed test 'stdout_like' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 193. # 'prog: ERROR 500: Died: "gen_modified_sub" is not exported by the Perinci::Sub::Util module # Can't continue after import errors at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # BEGIN failed--compilation aborted at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # Compilation failed in require at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Access/Lite.pm line 37. # ' # doesn't match '(?^:^a=104\nb=\nc=\nd=\ne=$)' # Looks like you failed 2 tests of 2. # Failed test 'attr:config_filename' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 226. # Failed test 'exit_code' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 183. # got: '200' # expected: '0' # Script's stdout: # Script's stderr: <> # Failed test 'stdout_like' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 193. # 'prog: ERROR 500: Died: "gen_modified_sub" is not exported by the Perinci::Sub::Util module # Can't continue after import errors at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # BEGIN failed--compilation aborted at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # Compilation failed in require at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Access/Lite.pm line 37. # ' # doesn't match '(?^:^a=\nb=\nc=\nd=\ne=$)' # Looks like you failed 2 tests of 2. # Failed test 'common option: --no-config' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 226. # Failed test 'exit_code' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 183. # got: '200' # expected: '0' # Script's stdout: # Script's stderr: <> # Failed test 'stdout_like' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 193. # 'prog: ERROR 500: Died: "gen_modified_sub" is not exported by the Perinci::Sub::Util module # Can't continue after import errors at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # BEGIN failed--compilation aborted at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # Compilation failed in require at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Access/Lite.pm line 37. # ' # doesn't match '(?^:^a=101\nb=201\nc=\nd=\ne=$)' # Looks like you failed 2 tests of 2. # Failed test 'common option: --config-path' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 226. # Failed test 'exit_code' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 183. # got: '200' # expected: '0' # Script's stdout: # Script's stderr: <> # Failed test 'stdout_like' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 193. # 'prog: ERROR 500: Died: "gen_modified_sub" is not exported by the Perinci::Sub::Util module # Can't continue after import errors at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # BEGIN failed--compilation aborted at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # Compilation failed in require at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Access/Lite.pm line 37. # ' # doesn't match '(?^:a=111\nb=201\nc=\nd=201\ne=$)' # Looks like you failed 2 tests of 2. # Failed test 'common option: --config-profile' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 226. # Failed test 'exit_code' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 183. # got: '200' # expected: '112' # Script's stdout: # Script's stderr: <> # Looks like you failed 1 test of 1. # Failed test 'unknown config profile -> error' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 226. # Failed test 'exit_code' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 183. # got: '200' # expected: '0' # Script's stdout: # Script's stderr: <> # Failed test 'stdout_like' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 193. # 'foo: ERROR 500: Died: "gen_modified_sub" is not exported by the Perinci::Sub::Util module # Can't continue after import errors at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # BEGIN failed--compilation aborted at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # Compilation failed in require at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Access/Lite.pm line 37. # ' # doesn't match '(?^:^a=\nb=\nc=\nd=\ne=$)' # Looks like you failed 2 tests of 2. # Failed test 'unknown config profile but does not read config -> ok' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 226. # Failed test 'exit_code' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 183. # got: '200' # expected: '0' # Script's stdout: # Script's stderr: <> # Failed test 'stdout_like' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 193. # 'prog: ERROR 500: Died: "gen_modified_sub" is not exported by the Perinci::Sub::Util module # Can't continue after import errors at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # BEGIN failed--compilation aborted at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # Compilation failed in require at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Access/Lite.pm line 37. # ' # doesn't match '(?^:^a=102\nb=201\nc=201\nd=\ne=$)' # Looks like you failed 2 tests of 2. # Failed test 'subcommand' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 226. # Failed test 'exit_code' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 183. # got: '200' # expected: '0' # Script's stdout: # Script's stderr: <> # Failed test 'stdout_like' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 193. # 'prog-old: ERROR 500: Died: "gen_modified_sub" is not exported by the Perinci::Sub::Util module # Can't continue after import errors at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # BEGIN failed--compilation aborted at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # Compilation failed in require at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Access/Lite.pm line 37. # ' # doesn't match '(?^:^a=121\nb=201\nc=201\nd=201\ne=$)' # Looks like you failed 2 tests of 2. # Failed test 'subcommand + --config-profile (old syntax)' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 226. # Failed test 'exit_code' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 183. # got: '200' # expected: '0' # Script's stdout: # Script's stderr: <> # Failed test 'stdout_like' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 193. # 'prog: ERROR 500: Died: "gen_modified_sub" is not exported by the Perinci::Sub::Util module # Can't continue after import errors at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # BEGIN failed--compilation aborted at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # Compilation failed in require at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Access/Lite.pm line 37. # ' # doesn't match '(?^:^a=121\nb=201\nc=201\nd=201\ne=$)' # Looks like you failed 2 tests of 2. # Failed test 'subcommand + --config-profile' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 226. # Failed test 'exit_code' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 183. # got: '200' # expected: '0' # Script's stdout: # Script's stderr: <> # Failed test 'stdout_like' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 193. # 'sum: ERROR 500: Died: "gen_modified_sub" is not exported by the Perinci::Sub::Util module # Can't continue after import errors at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # BEGIN failed--compilation aborted at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # Compilation failed in require at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Access/Lite.pm line 37. # ' # doesn't match '(?^:^0$)' # Looks like you failed 2 tests of 2. # Failed test 'array-ify if argument is array' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 226. # Failed test 'exit_code' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 183. # got: '200' # expected: '0' # Script's stdout: # Script's stderr: <> # Failed test 'stdout_like' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 193. # 'prog3: ERROR 500: Died: "gen_modified_sub" is not exported by the Perinci::Sub::Util module # Can't continue after import errors at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # BEGIN failed--compilation aborted at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # Compilation failed in require at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Access/Lite.pm line 37. # ' # doesn't match '(?^:^"a=101\\nb=\\nc=\\nd=\\ne=")' # Looks like you failed 2 tests of 2. # Failed test 'can also set common option' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 226. # Looks like you failed 12 tests of 13. # Failed test 'config file' # at /Users/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 293. # there are failing tests, not deleting tempdir /tmp/1Rr8eWQIw8 # Looks like you failed 4 tests of 17. t/suite.t ................ # Subtest: help action ok 1 - dummy # Subtest: --help # Generated CLI script at /tmp/1Rr8eWQIw8/clia3ycFwya # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/clia3ycFwya', # '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/1Rr8eWQIw8/cli8SYLgfvM # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/cli8SYLgfvM', # '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/1Rr8eWQIw8/cliw2jlySHj # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/cliw2jlySHj', # '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/1Rr8eWQIw8/cliJZXMdxTJ # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/cliJZXMdxTJ', # '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/1Rr8eWQIw8/clidA2DtwmW # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/clidA2DtwmW', # '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/1Rr8eWQIw8/clig44SQrtH # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/clig44SQrtH', # '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/1Rr8eWQIw8/cli9zChUmKL # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/cli9zChUmKL', # '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/1Rr8eWQIw8/cliO3jdCLCK # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'default_subcommand' => 'noop', # 'output_file' => '/tmp/1Rr8eWQIw8/cliO3jdCLCK', # '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/1Rr8eWQIw8/cliSS_VjwTw # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'default_subcommand' => 'odd_even', # 'output_file' => '/tmp/1Rr8eWQIw8/cliSS_VjwTw', # '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/1Rr8eWQIw8/clixKlYVCmg # 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/1Rr8eWQIw8/clixKlYVCmg', # '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/1Rr8eWQIw8/cli6DhfhAdm # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/cli6DhfhAdm', # '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/1Rr8eWQIw8/clibG4Bv2Za # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/clibG4Bv2Za', # '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/1Rr8eWQIw8/cliuFooChpn # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/cliuFooChpn', # '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/1Rr8eWQIw8/cliwRrJ_QIw # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/cliwRrJ_QIw', # '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/1Rr8eWQIw8/clieyY4eTeA # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/clieyY4eTeA', # '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/1Rr8eWQIw8/clim4HyEY70 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/clim4HyEY70', # '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/1Rr8eWQIw8/clic4Nnv8ed # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'default_subcommand' => 'noop', # 'output_file' => '/tmp/1Rr8eWQIw8/clic4Nnv8ed', # '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/1Rr8eWQIw8/clioTCpCXYO # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/clioTCpCXYO', # '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/1Rr8eWQIw8/cli8Gyc4QmV # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/cli8Gyc4QmV', # '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/1Rr8eWQIw8/cligJAIu9t4 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/cligJAIu9t4', # '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/1Rr8eWQIw8/cliL63L5ZE5 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/cliL63L5ZE5', # '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/1Rr8eWQIw8/clia7XmZuzW # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/clia7XmZuzW', # '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/1Rr8eWQIw8/cliy6jg1c3b # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/cliy6jg1c3b', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file' # } # argv: [ # '--a1', # '/tmp/1Rr8eWQIw8/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/1Rr8eWQIw8/cliLMfA6OS_ # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/cliLMfA6OS_', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file' # } # argv: [ # '--json', # '--a1', # '/tmp/1Rr8eWQIw8/infile1' # ] # Script's stdout: <["200","OK","a1=foo\na2=[]",{"func.args":{"-cmdline_src_a1":"file","-cmdline_srcfilenames_a1":["/tmp/1Rr8eWQIw8/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/1Rr8eWQIw8/clifADaBH0S # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/clifADaBH0S', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file' # } # argv: [ # '--a1', # '/tmp/1Rr8eWQIw8/infile1', # '--a2', # '/tmp/1Rr8eWQIw8/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/1Rr8eWQIw8/clipeBweYpB # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/clipeBweYpB', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file' # } # argv: [ # '--json', # '--a1', # '/tmp/1Rr8eWQIw8/infile1', # '--a2', # '/tmp/1Rr8eWQIw8/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/1Rr8eWQIw8/infile1"],"-cmdline_srcfilenames_a2":["/tmp/1Rr8eWQIw8/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/1Rr8eWQIw8/cli_B30GS5Z # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/cli_B30GS5Z', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file' # } # argv: [ # '--a1', # '/tmp/1Rr8eWQIw8/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/1Rr8eWQIw8/clinxexdCdC # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/clinxexdCdC', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file' # } # argv: [ # '--a2', # '/tmp/1Rr8eWQIw8/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/1Rr8eWQIw8/cliecBGVLN8 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/cliecBGVLN8', # '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/1Rr8eWQIw8/clivIdC_zvw # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/clivIdC_zvw', # '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/1Rr8eWQIw8/clih8i7R7t4 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/clih8i7R7t4', # '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/1Rr8eWQIw8/cliSirzvbhM # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/cliSirzvbhM', # '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/1Rr8eWQIw8/clitVcTiR2t # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/clitVcTiR2t', # '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/1Rr8eWQIw8/cliRnF0e2xJ # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/cliRnF0e2xJ', # '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/1Rr8eWQIw8/clisxLDrOlw # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/clisxLDrOlw', # '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/1Rr8eWQIw8/cli2JGntuXG # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/cli2JGntuXG', # '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/1Rr8eWQIw8/cliZu0jLHJz # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/cliZu0jLHJz', # '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/1Rr8eWQIw8/cliw91CaTy1 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/cliw91CaTy1', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_file_str' # } # argv: [ # '/tmp/1Rr8eWQIw8/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/1Rr8eWQIw8/cligy1m7hBo # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/cligy1m7hBo', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_file_str' # } # argv: [ # '/tmp/1Rr8eWQIw8/infile1', # '/tmp/1Rr8eWQIw8/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/1Rr8eWQIw8/cli1rexgk3E # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/cli1rexgk3E', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_file_str' # } # argv: [ # '--json', # '/tmp/1Rr8eWQIw8/infile1' # ] # Script's stdout: <["200","OK","a1=foo",{"func.args":{"-cmdline_src_a1":"stdin_or_file","-cmdline_srcfilenames_a1":["/tmp/1Rr8eWQIw8/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/1Rr8eWQIw8/clioM7DNrwI # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/clioM7DNrwI', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_file_str' # } # argv: [ # '/tmp/1Rr8eWQIw8/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/1Rr8eWQIw8/clityVK7eVJ # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/clityVK7eVJ', # '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/1Rr8eWQIw8/clinFmSOnny # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/clinFmSOnny', # '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/1Rr8eWQIw8/clib5djIRYy # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/clib5djIRYy', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_files_array' # } # argv: [ # '/tmp/1Rr8eWQIw8/infile1', # '/tmp/1Rr8eWQIw8/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/1Rr8eWQIw8/cli2YPah_6A # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/cli2YPah_6A', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_files_str' # } # argv: [ # '--json', # '/tmp/1Rr8eWQIw8/infile1' # ] # Script's stdout: <["200","OK","a1=foo",{"func.args":{"-cmdline_src_a1":"stdin_or_files","-cmdline_srcfilenames_a1":["/tmp/1Rr8eWQIw8/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/1Rr8eWQIw8/cliBhkUOcnD # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/cliBhkUOcnD', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_files_str' # } # argv: [ # '/tmp/1Rr8eWQIw8/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/1Rr8eWQIw8/cliwLrsfdEC # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/cliwLrsfdEC', # '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/1Rr8eWQIw8/cliMzvLx_eI # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/cliMzvLx_eI', # '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/1Rr8eWQIw8/clio1Ilg5YG # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/clio1Ilg5YG', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/test_dry_run' # } # argv: [] # Script's stdout: # Script's stderr: <> not ok 1 - exit_code not ok 2 - stdout_like 1..2 not ok 2 - dry-run (via env, 0) # Subtest: dry-run (via env, 1) # Generated CLI script at /tmp/1Rr8eWQIw8/cligWKMYZmu # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/cligWKMYZmu', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/test_dry_run' # } # argv: [] # Script's stdout: # Script's stderr: <> not ok 1 - exit_code not ok 2 - stdout_like 1..2 not ok 3 - dry-run (via env, 1) # Subtest: dry-run (via cmdline opt) # Generated CLI script at /tmp/1Rr8eWQIw8/clikRUhHFEv # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/clikRUhHFEv', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/test_dry_run' # } # argv: [ # '--dry-run' # ] # Script's stdout: # Script's stderr: <> not ok 1 - exit_code not ok 2 - stdout_like 1..2 not ok 4 - dry-run (via cmdline opt) 1..4 not 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/1Rr8eWQIw8/cliD12yYVlQ # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/cliD12yYVlQ', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/Stream/wc' # } # argv: [ # '/tmp/1Rr8eWQIw8/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/1Rr8eWQIw8/cliQ8bPcSLE # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/cliQ8bPcSLE', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/Stream/wc_keys' # } # argv: [ # '/tmp/1Rr8eWQIw8/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/1Rr8eWQIw8/cliBCS1Dd5o # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/cliBCS1Dd5o', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/Stream/wc_keys' # } # argv: [ # '/tmp/1Rr8eWQIw8/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/1Rr8eWQIw8/cliqzZWkPSH # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/cliqzZWkPSH', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/Stream/square_input' # } # argv: [ # '/tmp/1Rr8eWQIw8/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/1Rr8eWQIw8/cliGiBPjxG7 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/cliGiBPjxG7', # '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/1Rr8eWQIw8/cliAFaPCQTG # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/cliAFaPCQTG', # '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/1Rr8eWQIw8/clidVEul1i8 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/clidVEul1i8', # '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/1Rr8eWQIw8/clihgv3qTfZ # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/clihgv3qTfZ', # '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/1Rr8eWQIw8/clio4iOzXSR # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/clio4iOzXSR', # '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/1Rr8eWQIw8/cliFvPt2x4V # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/cliFvPt2x4V', # '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/1Rr8eWQIw8/clineqO3Uzx # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/clineqO3Uzx', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/Tiny/odd_even' # } # argv: [] # Script's stdout: <> # Script's stderr: <"gen_modified_sub" is not exported by the Perinci::Sub::Util module # Can't continue after import errors at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Sub/Complete.pm line 13. # BEGIN failed--compilation aborted at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Sub/Complete.pm line 13. # Compilation failed in require at /Users/fly1800/cpanfly-5.18/var/cpan/build/Perinci-CmdLine-Lite-1.44-fSkQLw/blib/lib/Perinci/CmdLine/Base.pm line 534. # > not ok 1 - exit_code not ok 2 - answer 1..2 not ok 2 - self-completion works # Subtest: completion of subcommand name # Generated CLI script at /tmp/1Rr8eWQIw8/cliVsIAlxZY # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/cliVsIAlxZY', # '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: <"gen_modified_sub" is not exported by the Perinci::Sub::Util module # Can't continue after import errors at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Sub/Complete.pm line 13. # BEGIN failed--compilation aborted at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Sub/Complete.pm line 13. # Compilation failed in require at /Users/fly1800/cpanfly-5.18/var/cpan/build/Perinci-CmdLine-Lite-1.44-fSkQLw/blib/lib/Perinci/CmdLine/Base.pm line 534. # > not ok 1 - exit_code not ok 2 - answer 1..2 not ok 3 - completion of subcommand name # Subtest: completion of subcommand option # Generated CLI script at /tmp/1Rr8eWQIw8/cliH7WkYUuZ # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/cliH7WkYUuZ', # '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: <"gen_modified_sub" is not exported by the Perinci::Sub::Util module # Can't continue after import errors at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Sub/Complete.pm line 13. # BEGIN failed--compilation aborted at /Users/fly1800/cpanfly-5.18/var/megalib/Perinci/Sub/Complete.pm line 13. # Compilation failed in require at /Users/fly1800/cpanfly-5.18/var/cpan/build/Perinci-CmdLine-Lite-1.44-fSkQLw/blib/lib/Perinci/CmdLine/Base.pm line 534. # > not ok 1 - exit_code not ok 2 - answer 1..2 not ok 4 - completion of subcommand option 1..4 not ok 15 - completion # Subtest: env ok 1 - dummy # Subtest: env read # Generated CLI script at /tmp/1Rr8eWQIw8/cliKL9M3YaR # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/cliKL9M3YaR', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 1, # 'script_name' => 'sum-nums', # 'url' => '/Perinci/Examples/sum' # } # argv: [ # '3' # ] # Script's stdout: # Script's stderr: <> not ok 1 - exit_code not ok 2 - stdout_like 1..2 not ok 2 - env read # Subtest: turned off via --no-env # Generated CLI script at /tmp/1Rr8eWQIw8/clitG1ipDvj # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/clitG1ipDvj', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 1, # 'script_name' => 'sum-nums', # 'url' => '/Perinci/Examples/sum' # } # argv: [ # '--no-env', # '3' # ] # Script's stdout: # Script's stderr: <> not ok 1 - exit_code not ok 2 - stdout_like 1..2 not ok 3 - turned off via --no-env # Subtest: attr:env_name # Generated CLI script at /tmp/1Rr8eWQIw8/cliqO8GlO0_ # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'env_name' => 'foo_opt', # 'output_file' => '/tmp/1Rr8eWQIw8/cliqO8GlO0_', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 1, # 'script_name' => 'sum-nums', # 'url' => '/Perinci/Examples/sum' # } # argv: [ # '3' # ] # Script's stdout: # Script's stderr: <> not ok 1 - exit_code not ok 2 - stdout_like 1..2 not ok 4 - attr:env_name 1..4 not ok 16 - env # Subtest: config file ok 1 - dummy # Subtest: attr:config_dirs # Generated CLI script at /tmp/1Rr8eWQIw8/cliRVH2FBew # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/1Rr8eWQIw8' # ], # 'output_file' => '/tmp/1Rr8eWQIw8/cliRVH2FBew', # 'overwrite' => 1, # 'read_config' => 1, # 'read_env' => 0, # 'script_name' => 'prog', # 'url' => '/Perinci/Examples/noop2' # } # argv: [] # Script's stdout: # Script's stderr: <> not ok 1 - exit_code not ok 2 - stdout_like 1..2 not ok 2 - attr:config_dirs # Subtest: attr:config_filename # Generated CLI script at /tmp/1Rr8eWQIw8/clivxwOvPe1 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/1Rr8eWQIw8' # ], # 'config_filename' => 'prog2.conf', # 'output_file' => '/tmp/1Rr8eWQIw8/clivxwOvPe1', # 'overwrite' => 1, # 'read_config' => 1, # 'read_env' => 0, # 'script_name' => 'prog', # 'url' => '/Perinci/Examples/noop2' # } # argv: [] # Script's stdout: # Script's stderr: <> not ok 1 - exit_code not ok 2 - stdout_like 1..2 not ok 3 - attr:config_filename # Subtest: common option: --no-config # Generated CLI script at /tmp/1Rr8eWQIw8/cli1UMSozvO # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/1Rr8eWQIw8' # ], # 'output_file' => '/tmp/1Rr8eWQIw8/cli1UMSozvO', # 'overwrite' => 1, # 'read_config' => 1, # 'read_env' => 0, # 'script_name' => 'prog', # 'url' => '/Perinci/Examples/noop2' # } # argv: [ # '--no-config' # ] # Script's stdout: # Script's stderr: <> not ok 1 - exit_code not ok 2 - stdout_like 1..2 not ok 4 - common option: --no-config # Subtest: common option: --config-path # Generated CLI script at /tmp/1Rr8eWQIw8/cliRosLnqt4 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/1Rr8eWQIw8/cliRosLnqt4', # 'overwrite' => 1, # 'read_config' => 1, # 'read_env' => 0, # 'script_name' => 'prog', # 'url' => '/Perinci/Examples/noop2' # } # argv: [ # '--config-path', # '/tmp/1Rr8eWQIw8/prog.conf' # ] # Script's stdout: # Script's stderr: <> not ok 1 - exit_code not ok 2 - stdout_like 1..2 not ok 5 - common option: --config-path # Subtest: common option: --config-profile # Generated CLI script at /tmp/1Rr8eWQIw8/cliK5W40vvV # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/1Rr8eWQIw8' # ], # 'output_file' => '/tmp/1Rr8eWQIw8/cliK5W40vvV', # '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: <> not ok 1 - exit_code not ok 2 - stdout_like 1..2 not ok 6 - common option: --config-profile # Subtest: unknown config profile -> error # Generated CLI script at /tmp/1Rr8eWQIw8/cliF_8OcPgm # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/1Rr8eWQIw8' # ], # 'output_file' => '/tmp/1Rr8eWQIw8/cliF_8OcPgm', # '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: <> not ok 1 - exit_code 1..1 not ok 7 - unknown config profile -> error # Subtest: unknown config profile but does not read config -> ok # Generated CLI script at /tmp/1Rr8eWQIw8/cliLQ5EGc4q # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/1Rr8eWQIw8' # ], # 'output_file' => '/tmp/1Rr8eWQIw8/cliLQ5EGc4q', # '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: <> not ok 1 - exit_code not ok 2 - stdout_like 1..2 not ok 8 - unknown config profile but does not read config -> ok # Subtest: subcommand # Generated CLI script at /tmp/1Rr8eWQIw8/clil0GYdeOc # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/1Rr8eWQIw8' # ], # 'output_file' => '/tmp/1Rr8eWQIw8/clil0GYdeOc', # '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: <> not ok 1 - exit_code not ok 2 - stdout_like 1..2 not ok 9 - subcommand # Subtest: subcommand + --config-profile (old syntax) # Generated CLI script at /tmp/1Rr8eWQIw8/cliZSQyS3cb # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/1Rr8eWQIw8' # ], # 'output_file' => '/tmp/1Rr8eWQIw8/cliZSQyS3cb', # '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: <> not ok 1 - exit_code not ok 2 - stdout_like 1..2 not ok 10 - subcommand + --config-profile (old syntax) # Subtest: subcommand + --config-profile # Generated CLI script at /tmp/1Rr8eWQIw8/clivDJrhhFn # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/1Rr8eWQIw8' # ], # 'output_file' => '/tmp/1Rr8eWQIw8/clivDJrhhFn', # '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: <> not ok 1 - exit_code not ok 2 - stdout_like 1..2 not ok 11 - subcommand + --config-profile # Subtest: array-ify if argument is array # Generated CLI script at /tmp/1Rr8eWQIw8/cli4nKBF1S7 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/1Rr8eWQIw8' # ], # 'output_file' => '/tmp/1Rr8eWQIw8/cli4nKBF1S7', # 'overwrite' => 1, # 'read_config' => 1, # 'read_env' => 0, # 'script_name' => 'sum', # 'url' => '/Perinci/Examples/sum' # } # argv: [] # Script's stdout: # Script's stderr: <> not ok 1 - exit_code not ok 2 - stdout_like 1..2 not ok 12 - array-ify if argument is array # Subtest: can also set common option # Generated CLI script at /tmp/1Rr8eWQIw8/cliVF2Rww0i # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/1Rr8eWQIw8' # ], # 'output_file' => '/tmp/1Rr8eWQIw8/cliVF2Rww0i', # 'overwrite' => 1, # 'read_config' => 1, # 'read_env' => 0, # 'script_name' => 'prog3', # 'url' => '/Perinci/Examples/noop2' # } # argv: [] # Script's stdout: # Script's stderr: <> not ok 1 - exit_code not ok 2 - stdout_like 1..2 not ok 13 - can also set common option 1..13 not ok 17 - config file 1..17 Dubious, test returned 4 (wstat 1024, 0x400) Failed 4/17 subtests Test Summary Report ------------------- t/suite.t (Wstat: 1024 Tests: 17 Failed: 4) Failed tests: 11, 15-17 Non-zero exit status: 4 Files=5, Tests=20, 11 wallclock secs ( 0.18 usr 0.03 sys + 8.57 cusr 1.61 csys = 10.39 CPU) Result: FAIL Failed 1/5 test programs. 4/20 subtests failed. make: *** [test_dynamic] Error 4 PERLANCAR/Perinci-CmdLine-Lite-1.44.tar.gz make test TEST_VERBOSE=1 -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports PERLANCAR/Perinci-CmdLine-Lite-1.44.tar.gz Running test for module 'App::ShellCompleter::cpanm' Running make for P/PE/PERLANCAR/App-ShellCompleter-cpanm-0.15.tar.gz Checksum for /Users/fly1800/cpanfly-5.18/var/cpan/sources/authors/id/P/PE/PERLANCAR/App-ShellCompleter-cpanm-0.15.tar.gz ok App-ShellCompleter-cpanm-0.15/ App-ShellCompleter-cpanm-0.15/bin/ App-ShellCompleter-cpanm-0.15/bin/_cpanm App-ShellCompleter-cpanm-0.15/META.json App-ShellCompleter-cpanm-0.15/LICENSE App-ShellCompleter-cpanm-0.15/Changes App-ShellCompleter-cpanm-0.15/META.yml App-ShellCompleter-cpanm-0.15/Makefile.PL App-ShellCompleter-cpanm-0.15/t/ App-ShellCompleter-cpanm-0.15/t/release-pod-syntax.t App-ShellCompleter-cpanm-0.15/t/release-pod-coverage.t App-ShellCompleter-cpanm-0.15/t/00-compile.t App-ShellCompleter-cpanm-0.15/README App-ShellCompleter-cpanm-0.15/dist.ini App-ShellCompleter-cpanm-0.15/lib/ App-ShellCompleter-cpanm-0.15/lib/App/ App-ShellCompleter-cpanm-0.15/lib/App/ShellCompleter/ App-ShellCompleter-cpanm-0.15/lib/App/ShellCompleter/cpanm.pm App-ShellCompleter-cpanm-0.15/MANIFEST App-ShellCompleter-cpanm-0.15/weaver.ini CPAN.pm: Building P/PE/PERLANCAR/App-ShellCompleter-cpanm-0.15.tar.gz >>> /Users/fly1800/ap1800-297214/bin/perl-dynamic Makefile.PL Warning: prerequisite Perinci::CmdLine::Util::Config 0 not found. Checking if your kit is complete... Looks good Have /Users/fly1800/cpanfly-5.18/var/megalib Want /Users/fly1800/ap1800-297214/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::ShellCompleter::cpanm Writing MYMETA.yml and MYMETA.json Modifying Makefile to generate shell completion on install ---- Unsatisfied dependencies detected during ---- ---- PERLANCAR/App-ShellCompleter-cpanm-0.15.tar.gz ---- Perinci::CmdLine::Util::Config [requires] Running make test Delayed until after prerequisites Running test for module 'Perinci::CmdLine::Util::Config' Running make for P/PE/PERLANCAR/Perinci-CmdLine-Lite-1.44.tar.gz Has already been unwrapped into directory /Users/fly1800/cpanfly-5.18/var/cpan/build/Perinci-CmdLine-Lite-1.44-fSkQLw Warning: Prerequisite 'Perinci::Access::Lite => 0.09' for 'PERLANCAR/Perinci-CmdLine-Lite-1.44.tar.gz' failed when processing 'PERLANCAR/Perinci-Access-Lite-0.12.tar.gz' with 'make_test => NO'. Continuing, but chances to succeed are limited. Warning: Prerequisite 'Progress::Any::Output::TermProgressBarColor => 0.17' for 'PERLANCAR/Perinci-CmdLine-Lite-1.44.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. Has already been made Running make test Won't repeat unsuccessful test during this command Has already been tested within this command Running make for P/PE/PERLANCAR/App-ShellCompleter-cpanm-0.15.tar.gz Has already been unwrapped into directory /Users/fly1800/cpanfly-5.18/var/cpan/build/App-ShellCompleter-cpanm-0.15-3tW_83 CPAN.pm: Building P/PE/PERLANCAR/App-ShellCompleter-cpanm-0.15.tar.gz Warning: Prerequisite 'Perinci::CmdLine::Util::Config => 0' for 'PERLANCAR/App-ShellCompleter-cpanm-0.15.tar.gz' failed when processing 'PERLANCAR/Perinci-CmdLine-Lite-1.44.tar.gz' with 'make_test => NO'. Continuing, but chances to succeed are limited. >>> make cp lib/App/ShellCompleter/cpanm.pm blib/lib/App/ShellCompleter/cpanm.pm cp bin/_cpanm blib/script/_cpanm "/Users/fly1800/ap1800-297214/bin/perl-dynamic" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/_cpanm Manifying 1 pod document Manifying 1 pod document PERLANCAR/App-ShellCompleter-cpanm-0.15.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 "/Users/fly1800/ap1800-297214/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/_cpanm compiled ok' # at t/00-compile.t line 65. # got: '512' # expected: '0' Can't locate Complete/Setting.pm in @INC (you may need to install the Complete::Setting module) (@INC contains: /Users/fly1800/cpanfly-5.18/var/cpan/build/App-ShellCompleter-cpanm-0.15-3tW_83/blib/arch /Users/fly1800/cpanfly-5.18/var/cpan/build/App-ShellCompleter-cpanm-0.15-3tW_83/blib/lib /Users/fly1800/cpanfly-5.18/var/cpan/build/App-ShellCompleter-cpanm-0.15-3tW_83/blib/lib /Users/fly1800/cpanfly-5.18/var/cpan/build/App-ShellCompleter-cpanm-0.15-3tW_83/blib/arch /Users/fly1800/cpanfly-5.18/var/megalib /Users/fly1800/cpanfly-5.18/var/megalib /Users/fly1800/Library/ActivePerl-5.18/lib /Users/fly1800/ap1800-297214/site/lib /Users/fly1800/ap1800-297214/lib .) at /Users/fly1800/cpanfly-5.18/var/megalib/Complete/File.pm line 10.BEGIN failed--compilation aborted at /Users/fly1800/cpanfly-5.18/var/megalib/Complete/File.pm line 10.Compilation failed in require at bin/_cpanm line 14.BEGIN failed--compilation aborted at bin/_cpanm line 14. at t/00-compile.t line 74, line 4. # Looks like you failed 1 test of 2. t/00-compile.t ............ 1..2 ok 1 - App/ShellCompleter/cpanm.pm loaded ok not ok 2 - bin/_cpanm compiled ok Dubious, test returned 1 (wstat 256, 0x100) Failed 1/2 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 Test Summary Report ------------------- t/00-compile.t (Wstat: 256 Tests: 2 Failed: 1) Failed test: 2 Non-zero exit status: 1 Files=3, Tests=2, 0 wallclock secs ( 0.03 usr 0.01 sys + 0.13 cusr 0.04 csys = 0.21 CPU) Result: FAIL Failed 1/3 test programs. 1/2 subtests failed. make: *** [test_dynamic] Error 255 PERLANCAR/App-ShellCompleter-cpanm-0.15.tar.gz one dependency not OK (Perinci::CmdLine::Util::Config); 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/App-ShellCompleter-cpanm-0.15.tar.gz Running test for module 'LWP::UserAgent::Patch::FilterMirrorMaxSize' Running make for P/PE/PERLANCAR/LWP-UserAgent-Patch-FilterMirror-0.05.tar.gz Checksum for /Users/fly1800/cpanfly-5.18/var/cpan/sources/authors/id/P/PE/PERLANCAR/LWP-UserAgent-Patch-FilterMirror-0.05.tar.gz ok LWP-UserAgent-Patch-FilterMirror-0.05/ LWP-UserAgent-Patch-FilterMirror-0.05/META.json LWP-UserAgent-Patch-FilterMirror-0.05/LICENSE LWP-UserAgent-Patch-FilterMirror-0.05/Changes LWP-UserAgent-Patch-FilterMirror-0.05/META.yml LWP-UserAgent-Patch-FilterMirror-0.05/Makefile.PL LWP-UserAgent-Patch-FilterMirror-0.05/t/ LWP-UserAgent-Patch-FilterMirror-0.05/t/release-pod-syntax.t LWP-UserAgent-Patch-FilterMirror-0.05/t/release-pod-coverage.t LWP-UserAgent-Patch-FilterMirror-0.05/t/release-rinci.t LWP-UserAgent-Patch-FilterMirror-0.05/t/00-compile.t LWP-UserAgent-Patch-FilterMirror-0.05/README LWP-UserAgent-Patch-FilterMirror-0.05/dist.ini LWP-UserAgent-Patch-FilterMirror-0.05/lib/ LWP-UserAgent-Patch-FilterMirror-0.05/lib/LWP/ LWP-UserAgent-Patch-FilterMirror-0.05/lib/LWP/UserAgent/ LWP-UserAgent-Patch-FilterMirror-0.05/lib/LWP/UserAgent/Patch/ LWP-UserAgent-Patch-FilterMirror-0.05/lib/LWP/UserAgent/Patch/FilterMirrorMaxSize.pm LWP-UserAgent-Patch-FilterMirror-0.05/lib/LWP/UserAgent/Patch/FilterMirror.pm LWP-UserAgent-Patch-FilterMirror-0.05/MANIFEST LWP-UserAgent-Patch-FilterMirror-0.05/weaver.ini CPAN.pm: Building P/PE/PERLANCAR/LWP-UserAgent-Patch-FilterMirror-0.05.tar.gz >>> /Users/fly1800/ap1800-297214/bin/perl-dynamic Makefile.PL Checking if your kit is complete... Looks good Have /Users/fly1800/cpanfly-5.18/var/megalib Want /Users/fly1800/ap1800-297214/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 LWP::UserAgent::Patch::FilterMirror Writing MYMETA.yml and MYMETA.json >>> make cp lib/LWP/UserAgent/Patch/FilterMirrorMaxSize.pm blib/lib/LWP/UserAgent/Patch/FilterMirrorMaxSize.pm cp lib/LWP/UserAgent/Patch/FilterMirror.pm blib/lib/LWP/UserAgent/Patch/FilterMirror.pm Manifying 2 pod documents PERLANCAR/LWP-UserAgent-Patch-FilterMirror-0.05.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 "/Users/fly1800/ap1800-297214/bin/perl-dynamic" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t # Failed test 'LWP/UserAgent/Patch/FilterMirror.pm loaded ok' # at t/00-compile.t line 38. # got: '65280' # expected: '0' "gen_modified_sub" is not exported by the Perinci::Sub::Util module Can't continue after import errors at /Users/fly1800/cpanfly-5.18/var/megalib/SHARYANTO/Array/Util.pm line 11. BEGIN failed--compilation aborted at /Users/fly1800/cpanfly-5.18/var/megalib/SHARYANTO/Array/Util.pm line 11. Compilation failed in require at /Users/fly1800/cpanfly-5.18/var/megalib/Module/Patch.pm line 14. BEGIN failed--compilation aborted at /Users/fly1800/cpanfly-5.18/var/megalib/Module/Patch.pm line 14. Compilation failed in require at /Users/fly1800/cpanfly-5.18/var/cpan/build/LWP-UserAgent-Patch-FilterMirror-0.05-sMEmIG/blib/lib/LWP/UserAgent/Patch/FilterMirror.pm line 7. BEGIN failed--compilation aborted at /Users/fly1800/cpanfly-5.18/var/cpan/build/LWP-UserAgent-Patch-FilterMirror-0.05-sMEmIG/blib/lib/LWP/UserAgent/Patch/FilterMirror.pm line 7. Compilation failed in require at -e line 1. # Failed test 'LWP/UserAgent/Patch/FilterMirrorMaxSize.pm loaded ok' # at t/00-compile.t line 38. # got: '65280' # expected: '0' "gen_modified_sub" is not exported by the Perinci::Sub::Util module Can't continue after import errors at /Users/fly1800/cpanfly-5.18/var/megalib/SHARYANTO/Array/Util.pm line 11. BEGIN failed--compilation aborted at /Users/fly1800/cpanfly-5.18/var/megalib/SHARYANTO/Array/Util.pm line 11. Compilation failed in require at /Users/fly1800/cpanfly-5.18/var/megalib/Module/Patch.pm line 14. BEGIN failed--compilation aborted at /Users/fly1800/cpanfly-5.18/var/megalib/Module/Patch.pm line 14. Compilation failed in require at /Users/fly1800/cpanfly-5.18/var/cpan/build/LWP-UserAgent-Patch-FilterMirror-0.05-sMEmIG/blib/lib/LWP/UserAgent/Patch/FilterMirrorMaxSize.pm line 8. BEGIN failed--compilation aborted at /Users/fly1800/cpanfly-5.18/var/cpan/build/LWP-UserAgent-Patch-FilterMirror-0.05-sMEmIG/blib/lib/LWP/UserAgent/Patch/FilterMirrorMaxSize.pm line 8. Compilation failed in require at -e line 1. # Looks like you failed 2 tests of 2. t/00-compile.t ............ 1..2 not ok 1 - LWP/UserAgent/Patch/FilterMirror.pm loaded ok not ok 2 - LWP/UserAgent/Patch/FilterMirrorMaxSize.pm loaded ok Dubious, test returned 2 (wstat 512, 0x200) Failed 2/2 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: 512 Tests: 2 Failed: 2) Failed tests: 1-2 Non-zero exit status: 2 Files=4, Tests=2, 1 wallclock secs ( 0.04 usr 0.01 sys + 0.22 cusr 0.05 csys = 0.32 CPU) Result: FAIL Failed 1/4 test programs. 2/2 subtests failed. make: *** [test_dynamic] Error 255 PERLANCAR/LWP-UserAgent-Patch-FilterMirror-0.05.tar.gz make test TEST_VERBOSE=1 -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports PERLANCAR/LWP-UserAgent-Patch-FilterMirror-0.05.tar.gz Running make for P/PE/PERLANCAR/App-lcpan-0.64.tar.gz Has already been unwrapped into directory /Users/fly1800/cpanfly-5.18/var/cpan/build/App-lcpan-0.64-1m6psA CPAN.pm: Building P/PE/PERLANCAR/App-lcpan-0.64.tar.gz Warning: Prerequisite 'Perinci::CmdLine::Util::Config => 0' for 'PERLANCAR/App-lcpan-0.64.tar.gz' failed when processing 'PERLANCAR/Perinci-CmdLine-Lite-1.44.tar.gz' with 'make_test => NO'. Continuing, but chances to succeed are limited. Warning: Prerequisite 'App::ShellCompleter::cpanm => 0' for 'PERLANCAR/App-lcpan-0.64.tar.gz' failed when processing 'PERLANCAR/App-ShellCompleter-cpanm-0.15.tar.gz' with 'make_test => NO one dependency not OK (Perinci::CmdLine::Util::Config); additionally test harness failed'. Continuing, but chances to succeed are limited. Warning: Prerequisite 'LWP::UserAgent::Patch::FilterMirrorMaxSize => 0' for 'PERLANCAR/App-lcpan-0.64.tar.gz' failed when processing 'PERLANCAR/LWP-UserAgent-Patch-FilterMirror-0.05.tar.gz' with 'make_test => NO'. Continuing, but chances to succeed are limited. >>> make cp lib/App/lcpan/Cmd/update.pm blib/lib/App/lcpan/Cmd/update.pm cp lib/App/lcpan/Cmd/reset.pm blib/lib/App/lcpan/Cmd/reset.pm cp lib/App/lcpan/Cmd/copy_rel.pm blib/lib/App/lcpan/Cmd/copy_rel.pm cp lib/App/lcpan/Cmd/mods_from_same_dist.pm blib/lib/App/lcpan/Cmd/mods_from_same_dist.pm cp lib/App/lcpan/Cmd/modules.pm blib/lib/App/lcpan/Cmd/modules.pm cp lib/App/lcpan/Cmd/mods_by_rdep_count.pm blib/lib/App/lcpan/Cmd/mods_by_rdep_count.pm cp lib/App/lcpan/Cmd/author_mods.pm blib/lib/App/lcpan/Cmd/author_mods.pm cp lib/App/lcpan/Cmd/stats.pm blib/lib/App/lcpan/Cmd/stats.pm cp lib/App/lcpan/Cmd/copy_mod.pm blib/lib/App/lcpan/Cmd/copy_mod.pm cp lib/App/lcpan.pm blib/lib/App/lcpan.pm cp lib/App/lcpan/Cmd/authors_by_mod_count.pm blib/lib/App/lcpan/Cmd/authors_by_mod_count.pm cp lib/App/lcpan/Cmd/dists_by_dep_count.pm blib/lib/App/lcpan/Cmd/dists_by_dep_count.pm cp lib/App/lcpan/Cmd/extract_rel.pm blib/lib/App/lcpan/Cmd/extract_rel.pm cp lib/App/lcpan/Cmd/deps.pm blib/lib/App/lcpan/Cmd/deps.pm cp lib/App/lcpan/Cmd/dists.pm blib/lib/App/lcpan/Cmd/dists.pm cp lib/App/lcpan/Cmd/rdeps.pm blib/lib/App/lcpan/Cmd/rdeps.pm cp lib/App/lcpan/Cmd/extract_mod.pm blib/lib/App/lcpan/Cmd/extract_mod.pm cp lib/App/lcpan/Cmd/author_dists.pm blib/lib/App/lcpan/Cmd/author_dists.pm cp lib/App/lcpan/Cmd/author_rels.pm blib/lib/App/lcpan/Cmd/author_rels.pm cp lib/App/lcpan/Cmd/namespaces.pm blib/lib/App/lcpan/Cmd/namespaces.pm cp lib/App/lcpan/Cmd/mods.pm blib/lib/App/lcpan/Cmd/mods.pm cp lib/App/lcpan/Cmd/releases.pm blib/lib/App/lcpan/Cmd/releases.pm cp lib/App/lcpan/Cmd/authors_by_rel_count.pm blib/lib/App/lcpan/Cmd/authors_by_rel_count.pm cp lib/App/lcpan/Cmd/authors.pm blib/lib/App/lcpan/Cmd/authors.pm cp lib/LWP/UserAgent/Patch/FilterLcpan.pm blib/lib/LWP/UserAgent/Patch/FilterLcpan.pm cp lib/App/lcpan/Cmd/dist2rel.pm blib/lib/App/lcpan/Cmd/dist2rel.pm cp lib/App/lcpan/Cmd/mod2dist.pm blib/lib/App/lcpan/Cmd/mod2dist.pm cp lib/App/lcpan/Cmd/rels.pm blib/lib/App/lcpan/Cmd/rels.pm cp lib/App/lcpan/Cmd/author_rdeps.pm blib/lib/App/lcpan/Cmd/author_rdeps.pm cp lib/App/lcpan/Cmd/authors_by_rdep_count.pm blib/lib/App/lcpan/Cmd/authors_by_rdep_count.pm cp lib/App/lcpan/Cmd/distmods.pm blib/lib/App/lcpan/Cmd/distmods.pm cp lib/App/lcpan/Cmd/authors_by_dist_count.pm blib/lib/App/lcpan/Cmd/authors_by_dist_count.pm cp lib/App/lcpan/Cmd/mod2rel.pm blib/lib/App/lcpan/Cmd/mod2rel.pm cp bin/lcpanm blib/script/lcpanm "/Users/fly1800/ap1800-297214/bin/perl-dynamic" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/lcpanm cp bin/lcpan blib/script/lcpan "/Users/fly1800/ap1800-297214/bin/perl-dynamic" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/lcpan Manifying 2 pod documents Manifying 33 pod documents PERLANCAR/App-lcpan-0.64.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 "/Users/fly1800/ap1800-297214/bin/perl-dynamic" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t # Failed test 'LWP/UserAgent/Patch/FilterLcpan.pm loaded ok' # at t/00-compile.t line 72. # got: '65280' # expected: '0' "gen_modified_sub" is not exported by the Perinci::Sub::Util module Can't continue after import errors at /Users/fly1800/cpanfly-5.18/var/megalib/SHARYANTO/Array/Util.pm line 11. BEGIN failed--compilation aborted at /Users/fly1800/cpanfly-5.18/var/megalib/SHARYANTO/Array/Util.pm line 11. Compilation failed in require at /Users/fly1800/cpanfly-5.18/var/megalib/Module/Patch.pm line 14. BEGIN failed--compilation aborted at /Users/fly1800/cpanfly-5.18/var/megalib/Module/Patch.pm line 14. Compilation failed in require at /Users/fly1800/cpanfly-5.18/var/cpan/build/App-lcpan-0.64-1m6psA/blib/lib/LWP/UserAgent/Patch/FilterLcpan.pm line 11. BEGIN failed--compilation aborted at /Users/fly1800/cpanfly-5.18/var/cpan/build/App-lcpan-0.64-1m6psA/blib/lib/LWP/UserAgent/Patch/FilterLcpan.pm line 11. Compilation failed in require at -e line 1. # Failed test 'bin/lcpanm compiled ok' # at t/00-compile.t line 98. # got: '512' # expected: '0' Can't locate Perinci/CmdLine/Util/Config.pm in @INC (you may need to install the Perinci::CmdLine::Util::Config module) (@INC contains: /Users/fly1800/cpanfly-5.18/var/cpan/build/App-lcpan-0.64-1m6psA/blib/arch /Users/fly1800/cpanfly-5.18/var/cpan/build/App-lcpan-0.64-1m6psA/blib/lib /Users/fly1800/cpanfly-5.18/var/cpan/build/App-lcpan-0.64-1m6psA/blib/lib /Users/fly1800/cpanfly-5.18/var/cpan/build/App-lcpan-0.64-1m6psA/blib/arch /Users/fly1800/cpanfly-5.18/var/megalib /Users/fly1800/cpanfly-5.18/var/megalib /Users/fly1800/Library/ActivePerl-5.18/lib /Users/fly1800/ap1800-297214/site/lib /Users/fly1800/ap1800-297214/lib .) at bin/lcpanm line 13.BEGIN failed--compilation aborted at bin/lcpanm line 13. at t/00-compile.t line 107, line 2. # Looks like you failed 2 tests of 35. t/00-compile.t ................... 1..35 ok 1 - App/lcpan.pm loaded ok ok 2 - App/lcpan/Cmd/author_dists.pm loaded ok ok 3 - App/lcpan/Cmd/author_mods.pm loaded ok ok 4 - App/lcpan/Cmd/author_rdeps.pm loaded ok ok 5 - App/lcpan/Cmd/author_rels.pm loaded ok ok 6 - App/lcpan/Cmd/authors.pm loaded ok ok 7 - App/lcpan/Cmd/authors_by_dist_count.pm loaded ok ok 8 - App/lcpan/Cmd/authors_by_mod_count.pm loaded ok ok 9 - App/lcpan/Cmd/authors_by_rdep_count.pm loaded ok ok 10 - App/lcpan/Cmd/authors_by_rel_count.pm loaded ok ok 11 - App/lcpan/Cmd/copy_mod.pm loaded ok ok 12 - App/lcpan/Cmd/copy_rel.pm loaded ok ok 13 - App/lcpan/Cmd/deps.pm loaded ok ok 14 - App/lcpan/Cmd/dist2rel.pm loaded ok ok 15 - App/lcpan/Cmd/distmods.pm loaded ok ok 16 - App/lcpan/Cmd/dists.pm loaded ok ok 17 - App/lcpan/Cmd/dists_by_dep_count.pm loaded ok ok 18 - App/lcpan/Cmd/extract_mod.pm loaded ok ok 19 - App/lcpan/Cmd/extract_rel.pm loaded ok ok 20 - App/lcpan/Cmd/mod2dist.pm loaded ok ok 21 - App/lcpan/Cmd/mod2rel.pm loaded ok ok 22 - App/lcpan/Cmd/mods.pm loaded ok ok 23 - App/lcpan/Cmd/mods_by_rdep_count.pm loaded ok ok 24 - App/lcpan/Cmd/mods_from_same_dist.pm loaded ok ok 25 - App/lcpan/Cmd/modules.pm loaded ok ok 26 - App/lcpan/Cmd/namespaces.pm loaded ok ok 27 - App/lcpan/Cmd/rdeps.pm loaded ok ok 28 - App/lcpan/Cmd/releases.pm loaded ok ok 29 - App/lcpan/Cmd/rels.pm loaded ok ok 30 - App/lcpan/Cmd/reset.pm loaded ok ok 31 - App/lcpan/Cmd/stats.pm loaded ok ok 32 - App/lcpan/Cmd/update.pm loaded ok not ok 33 - LWP/UserAgent/Patch/FilterLcpan.pm loaded ok ok 34 - bin/lcpan compiled ok not ok 35 - bin/lcpanm compiled ok Dubious, test returned 2 (wstat 512, 0x200) Failed 2/35 subtests t/author-sql_schema_versioned.t .. skipped: these tests are for testing by the author 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: 512 Tests: 35 Failed: 2) Failed tests: 33, 35 Non-zero exit status: 2 Files=5, Tests=35, 2 wallclock secs ( 0.05 usr 0.01 sys + 1.43 cusr 0.41 csys = 1.90 CPU) Result: FAIL Failed 1/5 test programs. 2/35 subtests failed. make: *** [test_dynamic] Error 255 PERLANCAR/App-lcpan-0.64.tar.gz 3 dependencies missing (LWP::UserAgent::Patch::FilterMirrorMaxSize,Perinci::CmdLine::Util::Config,App::ShellCompleter::cpanm); 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/App-lcpan-0.64.tar.gz Finished 2016-01-17T07:15:53