PATH=/usr/bin:/bin:/home/fly1400/cpanfly-5.14/var/megalib/bin
Start 2016-03-12T12:01:09
ActivePerl-1400 CPAN-2.10
Reading '/home/fly1400/cpanfly-5.14/var/cpan/Metadata'
Database was generated on Sat, 12 Mar 2016 05:17:02 GMT
Fetching with LWP:
http://ppm.activestate.com/CPAN/authors/id/P/PE/PERLANCAR/App-lcpan-0.83.tar.gz
Checksum for /home/fly1400/cpanfly-5.14/var/cpan/sources/authors/id/P/PE/PERLANCAR/App-lcpan-0.83.tar.gz ok
App-lcpan-0.83/
App-lcpan-0.83/Changes
App-lcpan-0.83/t/
App-lcpan-0.83/t/release-sql_schema_versioned.t
App-lcpan-0.83/t/author-pod-coverage.t
App-lcpan-0.83/t/author-pod-syntax.t
App-lcpan-0.83/t/release-rinci.t
App-lcpan-0.83/t/00-compile.t
App-lcpan-0.83/lib/
App-lcpan-0.83/lib/LWP/
App-lcpan-0.83/lib/LWP/UserAgent/
App-lcpan-0.83/lib/LWP/UserAgent/Patch/
App-lcpan-0.83/lib/LWP/UserAgent/Patch/FilterLcpan.pm
App-lcpan-0.83/lib/App/
App-lcpan-0.83/lib/App/lcpan.pm
App-lcpan-0.83/lib/App/lcpan/
App-lcpan-0.83/lib/App/lcpan/PodParser.pm
App-lcpan-0.83/lib/App/lcpan/Manual/
App-lcpan-0.83/lib/App/lcpan/Manual/Cookbook.pod
App-lcpan-0.83/lib/App/lcpan/Cmd/
App-lcpan-0.83/lib/App/lcpan/Cmd/author_deps.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/mod2rel.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/authors_by_rel_count.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/mod2author.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/author_mods.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/mentions.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/mentions_by_script.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/deps.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/scripts_by_mention_count.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/copy_script.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/authors.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/author_deps_by_dependent_count.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/extract_rel.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/related_mods.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/mods_by_mention_count.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/mentions_for_mod.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/dists.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/rels.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/dist_scripts.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/copy_mod.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/authors_by_mod_count.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/script2author.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/mentions_by_mod.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/script2rel.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/mods_by_rdep_count.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/dists_by_dep_count.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/dist2rel.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/mods.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/copy_rel.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/stats.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/authors_by_filesize.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/reset.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/releases.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/modules.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/mentions_for_script.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/author_rels.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/update.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/subnames_by_count.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/doc.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/script2dist.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/authors_by_rdep_count.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/mod2dist.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/scripts_from_same_dist.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/namespaces.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/extract_script.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/extract_mod.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/dist_mods.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/deps_by_dependent_count.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/scripts.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/author_rdeps.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/mentions_for_all_mods.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/authors_by_mod_mention_count.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/subs.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/changes.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/authors_by_script_count.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/stats_last_index_time.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/author_dists.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/mods_from_same_dist.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/contents.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/author_scripts.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/authors_by_dist_count.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/dist2author.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/rdeps.pm
App-lcpan-0.83/lib/App/lcpan/Cmd/script2mod.pm
App-lcpan-0.83/weaver.ini
App-lcpan-0.83/META.yml
App-lcpan-0.83/LICENSE
App-lcpan-0.83/MANIFEST
App-lcpan-0.83/META.json
App-lcpan-0.83/dist.ini
App-lcpan-0.83/bin/
App-lcpan-0.83/bin/lcpanm
App-lcpan-0.83/bin/lcpan
App-lcpan-0.83/README
App-lcpan-0.83/Makefile.PL
Configuring P/PE/PERLANCAR/App-lcpan-0.83.tar.gz with Makefile.PL
>>> /home/fly1400/ap1400/bin/perl-static 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 /home/fly1400/cpanfly-5.14/var/megalib
Want /home/fly1400/ap1400/lib
Your perl and your Config.pm seem to have different ideas about the
architecture they are running on.
Perl thinks: [megalib]
Config says: [x86_64-linux-thread-multi]
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
Modifying Makefile to generate shell completion on install
PERLANCAR/App-lcpan-0.83.tar.gz
/home/fly1400/ap1400/bin/perl-static Makefile.PL -- OK
Running make for P/PE/PERLANCAR/App-lcpan-0.83.tar.gz
---- Unsatisfied dependencies detected during ----
---- PERLANCAR/App-lcpan-0.83.tar.gz ----
LWP::UserAgent::Patch::FilterMirrorMaxSize [requires]
Perinci::CmdLine::Util::Config [requires]
App::ShellCompleter::cpanm [requires]
Running test for module 'LWP::UserAgent::Patch::FilterMirrorMaxSize'
Checksum for /home/fly1400/cpanfly-5.14/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
Configuring P/PE/PERLANCAR/LWP-UserAgent-Patch-FilterMirror-0.05.tar.gz with Makefile.PL
>>> /home/fly1400/ap1400/bin/perl-static Makefile.PL
Checking if your kit is complete...
Looks good
Have /home/fly1400/cpanfly-5.14/var/megalib
Want /home/fly1400/ap1400/lib
Your perl and your Config.pm seem to have different ideas about the
architecture they are running on.
Perl thinks: [megalib]
Config says: [x86_64-linux-thread-multi]
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
PERLANCAR/LWP-UserAgent-Patch-FilterMirror-0.05.tar.gz
/home/fly1400/ap1400/bin/perl-static Makefile.PL -- OK
Running make for P/PE/PERLANCAR/LWP-UserAgent-Patch-FilterMirror-0.05.tar.gz
>>> 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 "/home/fly1400/ap1400/bin/perl-static" "-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 /home/fly1400/cpanfly-5.14/var/megalib/SHARYANTO/Array/Util.pm line 11.
BEGIN failed--compilation aborted at /home/fly1400/cpanfly-5.14/var/megalib/SHARYANTO/Array/Util.pm line 11.
Compilation failed in require at /home/fly1400/cpanfly-5.14/var/megalib/Module/Patch.pm line 14.
BEGIN failed--compilation aborted at /home/fly1400/cpanfly-5.14/var/megalib/Module/Patch.pm line 14.
Compilation failed in require at /data/fly1400/cpan/build/LWP-UserAgent-Patch-FilterMirror-0.05-uElkdu/blib/lib/LWP/UserAgent/Patch/FilterMirror.pm line 7.
BEGIN failed--compilation aborted at /data/fly1400/cpan/build/LWP-UserAgent-Patch-FilterMirror-0.05-uElkdu/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 /home/fly1400/cpanfly-5.14/var/megalib/SHARYANTO/Array/Util.pm line 11.
BEGIN failed--compilation aborted at /home/fly1400/cpanfly-5.14/var/megalib/SHARYANTO/Array/Util.pm line 11.
Compilation failed in require at /home/fly1400/cpanfly-5.14/var/megalib/Module/Patch.pm line 14.
BEGIN failed--compilation aborted at /home/fly1400/cpanfly-5.14/var/megalib/Module/Patch.pm line 14.
Compilation failed in require at /data/fly1400/cpan/build/LWP-UserAgent-Patch-FilterMirror-0.05-uElkdu/blib/lib/LWP/UserAgent/Patch/FilterMirrorMaxSize.pm line 8.
BEGIN failed--compilation aborted at /data/fly1400/cpan/build/LWP-UserAgent-Patch-FilterMirror-0.05-uElkdu/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.03 usr 0.01 sys + 0.22 cusr 0.05 csys = 0.31 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 test for module 'Perinci::CmdLine::Util::Config'
Checksum for /home/fly1400/cpanfly-5.14/var/cpan/sources/authors/id/P/PE/PERLANCAR/Perinci-CmdLine-Lite-1.51.tar.gz ok
Perinci-CmdLine-Lite-1.51/
Perinci-CmdLine-Lite-1.51/README
Perinci-CmdLine-Lite-1.51/lib/
Perinci-CmdLine-Lite-1.51/lib/Perinci/
Perinci-CmdLine-Lite-1.51/lib/Perinci/CmdLine/
Perinci-CmdLine-Lite-1.51/lib/Perinci/CmdLine/Lite.pm
Perinci-CmdLine-Lite-1.51/lib/Perinci/CmdLine/Base.pm
Perinci-CmdLine-Lite-1.51/lib/Perinci/CmdLine/Util/
Perinci-CmdLine-Lite-1.51/lib/Perinci/CmdLine/Util/Config.pm
Perinci-CmdLine-Lite-1.51/Makefile.PL
Perinci-CmdLine-Lite-1.51/share/
Perinci-CmdLine-Lite-1.51/share/templates/
Perinci-CmdLine-Lite-1.51/share/templates/description.txt
Perinci-CmdLine-Lite-1.51/share/templates/synopsis.txt
Perinci-CmdLine-Lite-1.51/Changes
Perinci-CmdLine-Lite-1.51/dist.ini
Perinci-CmdLine-Lite-1.51/LICENSE
Perinci-CmdLine-Lite-1.51/t/
Perinci-CmdLine-Lite-1.51/t/00-compile.t
Perinci-CmdLine-Lite-1.51/t/suite.t
Perinci-CmdLine-Lite-1.51/t/release-rinci.t
Perinci-CmdLine-Lite-1.51/t/author-pod-syntax.t
Perinci-CmdLine-Lite-1.51/t/author-pod-coverage.t
Perinci-CmdLine-Lite-1.51/weaver.ini
Perinci-CmdLine-Lite-1.51/MANIFEST
Perinci-CmdLine-Lite-1.51/META.json
Perinci-CmdLine-Lite-1.51/META.yml
Perinci-CmdLine-Lite-1.51/devscripts/
Perinci-CmdLine-Lite-1.51/devscripts/bench-startup
Configuring P/PE/PERLANCAR/Perinci-CmdLine-Lite-1.51.tar.gz with Makefile.PL
>>> /home/fly1400/ap1400/bin/perl-static Makefile.PL
Warning: prerequisite Progress::Any::Output::TermProgressBarColor 0.17 not found. We have 0.10.
Checking if your kit is complete...
Looks good
Have /home/fly1400/cpanfly-5.14/var/megalib
Want /home/fly1400/ap1400/lib
Your perl and your Config.pm seem to have different ideas about the
architecture they are running on.
Perl thinks: [megalib]
Config says: [x86_64-linux-thread-multi]
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
PERLANCAR/Perinci-CmdLine-Lite-1.51.tar.gz
/home/fly1400/ap1400/bin/perl-static Makefile.PL -- OK
Running make for P/PE/PERLANCAR/Perinci-CmdLine-Lite-1.51.tar.gz
---- Unsatisfied dependencies detected during ----
---- PERLANCAR/Perinci-CmdLine-Lite-1.51.tar.gz ----
Progress::Any::Output::TermProgressBarColor [requires]
Running test for module 'Progress::Any::Output::TermProgressBarColor'
Fetching with LWP:
http://ppm.activestate.com/CPAN/authors/id/P/PE/PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.22.tar.gz
Checksum for /home/fly1400/cpanfly-5.14/var/cpan/sources/authors/id/P/PE/PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.22.tar.gz ok
Progress-Any-Output-TermProgressBarColor-0.22/
Progress-Any-Output-TermProgressBarColor-0.22/README
Progress-Any-Output-TermProgressBarColor-0.22/lib/
Progress-Any-Output-TermProgressBarColor-0.22/lib/Progress/
Progress-Any-Output-TermProgressBarColor-0.22/lib/Progress/Any/
Progress-Any-Output-TermProgressBarColor-0.22/lib/Progress/Any/Output/
Progress-Any-Output-TermProgressBarColor-0.22/lib/Progress/Any/Output/TermProgressBarColor.pm
Progress-Any-Output-TermProgressBarColor-0.22/Makefile.PL
Progress-Any-Output-TermProgressBarColor-0.22/Changes
Progress-Any-Output-TermProgressBarColor-0.22/dist.ini
Progress-Any-Output-TermProgressBarColor-0.22/LICENSE
Progress-Any-Output-TermProgressBarColor-0.22/t/
Progress-Any-Output-TermProgressBarColor-0.22/t/00-compile.t
Progress-Any-Output-TermProgressBarColor-0.22/t/01-basic.t
Progress-Any-Output-TermProgressBarColor-0.22/t/author-pod-syntax.t
Progress-Any-Output-TermProgressBarColor-0.22/t/author-pod-coverage.t
Progress-Any-Output-TermProgressBarColor-0.22/weaver.ini
Progress-Any-Output-TermProgressBarColor-0.22/MANIFEST
Progress-Any-Output-TermProgressBarColor-0.22/META.json
Progress-Any-Output-TermProgressBarColor-0.22/META.yml
Configuring P/PE/PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.22.tar.gz with Makefile.PL
>>> /home/fly1400/ap1400/bin/perl-static Makefile.PL
Warning: prerequisite Text::ANSI::Util 0.22 not found. We have 0.21.
Checking if your kit is complete...
Looks good
Have /home/fly1400/cpanfly-5.14/var/megalib
Want /home/fly1400/ap1400/lib
Your perl and your Config.pm seem to have different ideas about the
architecture they are running on.
Perl thinks: [megalib]
Config says: [x86_64-linux-thread-multi]
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
PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.22.tar.gz
/home/fly1400/ap1400/bin/perl-static Makefile.PL -- OK
Running make for P/PE/PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.22.tar.gz
---- Unsatisfied dependencies detected during ----
---- PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.22.tar.gz ----
Text::ANSI::Util [requires]
Running test for module 'Text::ANSI::Util'
Fetching with LWP:
http://ppm.activestate.com/CPAN/authors/id/P/PE/PERLANCAR/Text-ANSI-Util-0.22.tar.gz
Checksum for /home/fly1400/cpanfly-5.14/var/cpan/sources/authors/id/P/PE/PERLANCAR/Text-ANSI-Util-0.22.tar.gz ok
Text-ANSI-Util-0.22/
Text-ANSI-Util-0.22/README
Text-ANSI-Util-0.22/lib/
Text-ANSI-Util-0.22/lib/Text/
Text-ANSI-Util-0.22/lib/Text/ANSI/
Text-ANSI-Util-0.22/lib/Text/ANSI/BaseUtil.pm
Text-ANSI-Util-0.22/lib/Text/ANSI/Util.pm
Text-ANSI-Util-0.22/Makefile.PL
Text-ANSI-Util-0.22/Changes
Text-ANSI-Util-0.22/dist.ini
Text-ANSI-Util-0.22/LICENSE
Text-ANSI-Util-0.22/t/
Text-ANSI-Util-0.22/t/00-compile.t
Text-ANSI-Util-0.22/t/01-latin.t
Text-ANSI-Util-0.22/t/author-pod-syntax.t
Text-ANSI-Util-0.22/t/author-pod-coverage.t
Text-ANSI-Util-0.22/weaver.ini
Text-ANSI-Util-0.22/MANIFEST
Text-ANSI-Util-0.22/META.json
Text-ANSI-Util-0.22/META.yml
Configuring P/PE/PERLANCAR/Text-ANSI-Util-0.22.tar.gz with Makefile.PL
>>> /home/fly1400/ap1400/bin/perl-static Makefile.PL
Checking if your kit is complete...
Looks good
Have /home/fly1400/cpanfly-5.14/var/megalib
Want /home/fly1400/ap1400/lib
Your perl and your Config.pm seem to have different ideas about the
architecture they are running on.
Perl thinks: [megalib]
Config says: [x86_64-linux-thread-multi]
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 Text::ANSI::Util
PERLANCAR/Text-ANSI-Util-0.22.tar.gz
/home/fly1400/ap1400/bin/perl-static Makefile.PL -- OK
Running make for P/PE/PERLANCAR/Text-ANSI-Util-0.22.tar.gz
>>> make
cp lib/Text/ANSI/Util.pm blib/lib/Text/ANSI/Util.pm
cp lib/Text/ANSI/BaseUtil.pm blib/lib/Text/ANSI/BaseUtil.pm
Manifying 2 pod documents
PERLANCAR/Text-ANSI-Util-0.22.tar.gz
make -- OK
Running make test
>>> make test TEST_VERBOSE=1
PERL_DL_NONLAZY=1 "/home/fly1400/ap1400/bin/perl-static" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
t/00-compile.t ...........
1..2
ok 1 - Text/ANSI/BaseUtil.pm loaded ok
ok 2 - Text/ANSI/Util.pm loaded ok
ok
# "\e[31m12\e[0mfoo\e[31m\e[32m78\e[0m"
t/01-latin.t .............
# Subtest: ta_detect
ok 1 - neg 1
ok 2 - neg 2
ok 3 - pos 1
ok 4 - pos 2
1..4
ok 1 - ta_detect
# Subtest: ta_strip
ok 1
ok 2
ok 3
1..3
ok 2 - ta_strip
# Subtest: ta_extract_codes
ok 1
ok 2
ok 3
1..3
ok 3 - ta_extract_codes
# Subtest: ta_split_codes
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
1..7
ok 4 - ta_split_codes
# Subtest: ta_split_codes_single
ok 1
1..1
ok 5 - ta_split_codes_single
# Subtest: ta_length
ok 1
ok 2
ok 3
ok 4
1..4
ok 6 - ta_length
# Subtest: ta_length_height
ok 1
ok 2
ok 3
ok 4
ok 5
1..5
ok 7 - ta_length_height
# Subtest: ta_wrap
ok 1 - single paragraph
ok 2 - multiple paragraph
ok 3 - no terminating newline
ok 4 - truncate long word 1
ok 5 - truncate long word 2
ok 6 - truncate long word 3 (broken in v0.08)
ok 7 - color code in parabreak
ok 8 - opt return_stats
1..8
ok 8 - ta_wrap
# Subtest: ta_trunc
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
1..6
ok 9 - ta_trunc
# Subtest: ta_pad
ok 1 - empty
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
1..7
ok 10 - ta_pad
# Subtest: ta_highlight
ok 1
1..1
ok 11 - ta_highlight
# Subtest: ta_highlight_all
ok 1
1..1
ok 12 - ta_highlight_all
# Subtest: ta_add_color_resets
ok 1
1..1
ok 13 - ta_add_color_resets
# Subtest: ta_substr
ok 1
ok 2
1..2
ok 14 - ta_substr
1..14
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
All tests successful.
Files=4, Tests=16, 0 wallclock secs ( 0.04 usr 0.02 sys + 0.21 cusr 0.04 csys = 0.31 CPU)
Result: PASS
PERLANCAR/Text-ANSI-Util-0.22.tar.gz
make test TEST_VERBOSE=1 -- OK
perlancar <perlancar@gmail.com>
Routines for text containing ANSI color codes
>>> (cd /home/fly1400/cpanfly-5.14/var/cpan/build/Text-ANSI-Util-0.22-ThSBRE && tar cvf - Text-ANSI-Util-0.22.ppd blib) | gzip -c >/home/fly1400/cpanfly-5.14/var/REPO/P/PE/PERLANCAR/Text-ANSI-Util-0.22.tar.gz
Text-ANSI-Util-0.22.ppd
blib/
blib/lib/
blib/lib/Text/
blib/lib/Text/ANSI/
blib/lib/Text/ANSI/Util.pm
blib/lib/Text/ANSI/BaseUtil.pm
blib/man3/
blib/man3/Text::ANSI::BaseUtil.3
blib/man3/Text::ANSI::Util.3
>>> mv /home/fly1400/cpanfly-5.14/var/cpan/build/Text-ANSI-Util-0.22-ThSBRE/Text-ANSI-Util-0.22.ppd /home/fly1400/cpanfly-5.14/var/REPO/P/PE/PERLANCAR
PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.22.tar.gz
Has already been unwrapped into directory /home/fly1400/cpanfly-5.14/var/cpan/build/Progress-Any-Output-TermProgressBarColor-0.22-_bU5l1
PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.22.tar.gz
Has already been prepared
Running make for P/PE/PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.22.tar.gz
Prepending /home/fly1400/cpanfly-5.14/var/cpan/build/Text-ANSI-Util-0.22-ThSBRE/blib/arch /home/fly1400/cpanfly-5.14/var/cpan/build/Text-ANSI-Util-0.22-ThSBRE/blib/lib to PERL5LIB for 'make'
>>> 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.22.tar.gz
make -- OK
Prepending /home/fly1400/cpanfly-5.14/var/cpan/build/Text-ANSI-Util-0.22-ThSBRE/blib/arch /home/fly1400/cpanfly-5.14/var/cpan/build/Text-ANSI-Util-0.22-ThSBRE/blib/lib to PERL5LIB for 'test'
Running make test
>>> make test TEST_VERBOSE=1
PERL_DL_NONLAZY=1 "/home/fly1400/ap1400/bin/perl-static" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
t/00-compile.t ...........
1..1
ok 1 - Progress/Any/Output/TermProgressBarColor.pm loaded ok
ok
# Failed test at t/01-basic.t line 18.
# '[33;1m 10% [][33;1m1s left [0m'
# 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 /home/fly1400/cpanfly-5.14/var/megalib/Color/ANSI/Util.pm line 281.
# Use of uninitialized value $cd in numeric ge (>=) at /home/fly1400/cpanfly-5.14/var/megalib/Color/ANSI/Util.pm line 283.
# Use of uninitialized value $cd in numeric ge (>=) at /home/fly1400/cpanfly-5.14/var/megalib/Color/ANSI/Util.pm line 281.
# Use of uninitialized value $cd in numeric ge (>=) at /home/fly1400/cpanfly-5.14/var/megalib/Color/ANSI/Util.pm line 283.
# [33;1m 20% [][33;1m1s left [0m'
# 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.
# '[33;1m 30% [][33;1m1s left [0m'
# 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/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-basic.t (Wstat: 768 Tests: 3 Failed: 3)
Failed tests: 1-3
Non-zero exit status: 3
Files=4, Tests=4, 1 wallclock secs ( 0.03 usr 0.02 sys + 0.25 cusr 0.06 csys = 0.36 CPU)
Result: FAIL
Failed 1/4 test programs. 3/4 subtests failed.
make: *** [test_dynamic] Error 255
PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.22.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.22.tar.gz
PERLANCAR/Perinci-CmdLine-Lite-1.51.tar.gz
Has already been unwrapped into directory /home/fly1400/cpanfly-5.14/var/cpan/build/Perinci-CmdLine-Lite-1.51-MadO35
PERLANCAR/Perinci-CmdLine-Lite-1.51.tar.gz
Has already been prepared
Running make for P/PE/PERLANCAR/Perinci-CmdLine-Lite-1.51.tar.gz
Prepending /home/fly1400/cpanfly-5.14/var/cpan/build/Text-ANSI-Util-0.22-ThSBRE/blib/arch /home/fly1400/cpanfly-5.14/var/cpan/build/Text-ANSI-Util-0.22-ThSBRE/blib/lib to PERL5LIB for 'make'
Warning: Prerequisite 'Progress::Any::Output::TermProgressBarColor => 0.17' for 'PERLANCAR/Perinci-CmdLine-Lite-1.51.tar.gz' failed when processing 'PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.22.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/Util/Config.pm blib/lib/Perinci/CmdLine/Util/Config.pm
cp lib/Perinci/CmdLine/Lite.pm blib/lib/Perinci/CmdLine/Lite.pm
Manifying 3 pod documents
PERLANCAR/Perinci-CmdLine-Lite-1.51.tar.gz
make -- OK
Prepending /home/fly1400/cpanfly-5.14/var/cpan/build/Text-ANSI-Util-0.22-ThSBRE/blib/arch /home/fly1400/cpanfly-5.14/var/cpan/build/Text-ANSI-Util-0.22-ThSBRE/blib/lib to PERL5LIB for 'test'
Running make test
>>> make test TEST_VERBOSE=1
Skip blib/lib/auto/share/dist/Perinci-CmdLine-Lite/templates/description.txt (unchanged)
Skip blib/lib/auto/share/dist/Perinci-CmdLine-Lite/templates/synopsis.txt (unchanged)
PERL_DL_NONLAZY=1 "/home/fly1400/ap1400/bin/perl-static" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
t/00-compile.t ...........
1..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 /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 179.
# got: '200'
# expected: '0'
# Script's stdout:
# Script's stderr: <>
# Failed test 'stdout_like'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 192.
# 'cli3quzJXe1: ERROR 500: Can't load module Perinci::Examples: "gen_modified_sub" is not exported by the Perinci::Sub::Util module
# Can't continue after import errors at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Examples.pm line 13.
# BEGIN failed--compilation aborted at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Examples.pm line 13.
# Compilation failed in require at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Access/Lite.pm line 54.
# '
# doesn't match '(?^:wet)'
# Looks like you failed 2 tests of 2.
# Failed test 'dry-run (via env, 0)'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 225.
# Failed test 'exit_code'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 179.
# got: '200'
# expected: '0'
# Script's stdout:
# Script's stderr: <>
# Failed test 'stdout_like'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 192.
# 'cli1vFO30SG: ERROR 500: Can't load module Perinci::Examples: "gen_modified_sub" is not exported by the Perinci::Sub::Util module
# Can't continue after import errors at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Examples.pm line 13.
# BEGIN failed--compilation aborted at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Examples.pm line 13.
# Compilation failed in require at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Access/Lite.pm line 54.
# '
# doesn't match '(?^:dry)'
# Looks like you failed 2 tests of 2.
# Failed test 'dry-run (via env, 1)'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 225.
# Failed test 'exit_code'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 179.
# got: '200'
# expected: '0'
# Script's stdout:
# Script's stderr: <>
# Failed test 'stdout_like'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 192.
# 'cliIxGZNIqQ: ERROR 500: Can't load module Perinci::Examples: "gen_modified_sub" is not exported by the Perinci::Sub::Util module
# Can't continue after import errors at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Examples.pm line 13.
# BEGIN failed--compilation aborted at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Examples.pm line 13.
# Compilation failed in require at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Access/Lite.pm line 54.
# '
# doesn't match '(?^:dry)'
# Looks like you failed 2 tests of 2.
# Failed test 'dry-run (via cmdline opt)'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 225.
# Looks like you failed 3 tests of 4.
# Failed test 'dry-run'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 292.
# Failed test 'exit_code'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 179.
# 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 /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Sub/Complete.pm line 13.
# BEGIN failed--compilation aborted at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Sub/Complete.pm line 13.
# Compilation failed in require at /data/fly1400/cpan/build/Perinci-CmdLine-Lite-1.51-MadO35/blib/lib/Perinci/CmdLine/Base.pm line 543.
# >
# Failed test 'answer'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 256.
# 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 /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 225.
# Failed test 'exit_code'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 179.
# 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 /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Sub/Complete.pm line 13.
# BEGIN failed--compilation aborted at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Sub/Complete.pm line 13.
# Compilation failed in require at /data/fly1400/cpan/build/Perinci-CmdLine-Lite-1.51-MadO35/blib/lib/Perinci/CmdLine/Base.pm line 543.
# >
# Failed test 'answer'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 256.
# 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 /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 225.
# Failed test 'exit_code'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 179.
# 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 /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Sub/Complete.pm line 13.
# BEGIN failed--compilation aborted at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Sub/Complete.pm line 13.
# Compilation failed in require at /data/fly1400/cpan/build/Perinci-CmdLine-Lite-1.51-MadO35/blib/lib/Perinci/CmdLine/Base.pm line 543.
# >
# Failed test 'answer'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 256.
# 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 /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 225.
# Looks like you failed 3 tests of 4.
# Failed test 'completion'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 292.
# Failed test 'exit_code'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 179.
# got: '200'
# expected: '0'
# Script's stdout:
# Script's stderr: <>
# Failed test 'stdout_like'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 192.
# 'sum-nums: ERROR 500: Can't load module Perinci::Examples: "gen_modified_sub" is not exported by the Perinci::Sub::Util module
# Can't continue after import errors at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Examples.pm line 13.
# BEGIN failed--compilation aborted at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Examples.pm line 13.
# Compilation failed in require at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Access/Lite.pm line 54.
# '
# doesn't match '(?^s:^6$)'
# Looks like you failed 2 tests of 2.
# Failed test 'env read'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 225.
# Failed test 'exit_code'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 179.
# got: '200'
# expected: '0'
# Script's stdout:
# Script's stderr: <>
# Failed test 'stdout_like'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 192.
# 'sum-nums: ERROR 500: Can't load module Perinci::Examples: "gen_modified_sub" is not exported by the Perinci::Sub::Util module
# Can't continue after import errors at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Examples.pm line 13.
# BEGIN failed--compilation aborted at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Examples.pm line 13.
# Compilation failed in require at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Access/Lite.pm line 54.
# '
# doesn't match '(?^s:^3$)'
# Looks like you failed 2 tests of 2.
# Failed test 'turned off via --no-env'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 225.
# Failed test 'exit_code'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 179.
# got: '200'
# expected: '0'
# Script's stdout:
# Script's stderr: <>
# Failed test 'stdout_like'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 192.
# 'sum-nums: ERROR 500: Can't load module Perinci::Examples: "gen_modified_sub" is not exported by the Perinci::Sub::Util module
# Can't continue after import errors at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Examples.pm line 13.
# BEGIN failed--compilation aborted at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Examples.pm line 13.
# Compilation failed in require at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Access/Lite.pm line 54.
# '
# doesn't match '(?^s:^18$)'
# Looks like you failed 2 tests of 2.
# Failed test 'attr:env_name'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 225.
# Looks like you failed 3 tests of 4.
# Failed test 'env'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 292.
# Failed test 'exit_code'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 179.
# got: '200'
# expected: '0'
# Script's stdout:
# Script's stderr: <>
# Failed test 'stdout_like'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 192.
# 'prog: ERROR 500: Can't load module Perinci::Examples: "gen_modified_sub" is not exported by the Perinci::Sub::Util module
# Can't continue after import errors at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Examples.pm line 13.
# BEGIN failed--compilation aborted at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Examples.pm line 13.
# Compilation failed in require at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Access/Lite.pm line 54.
# '
# doesn't match '(?^:^a=101\nb=201\nc=\nd=\ne=$)'
# Looks like you failed 2 tests of 2.
# Failed test 'attr:config_dirs'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 225.
# Failed test 'exit_code'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 179.
# got: '200'
# expected: '0'
# Script's stdout:
# Script's stderr: <>
# Failed test 'stdout_like'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 192.
# 'prog: ERROR 500: Can't load module Perinci::Examples: "gen_modified_sub" is not exported by the Perinci::Sub::Util module
# Can't continue after import errors at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Examples.pm line 13.
# BEGIN failed--compilation aborted at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Examples.pm line 13.
# Compilation failed in require at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Access/Lite.pm line 54.
# '
# doesn't match '(?^:^a=104\nb=\nc=\nd=\ne=$)'
# Looks like you failed 2 tests of 2.
# Failed test 'attr:config_filename'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 225.
# Failed test 'exit_code'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 179.
# got: '200'
# expected: '0'
# Script's stdout:
# Script's stderr: <>
# Failed test 'stdout_like'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 192.
# 'prog: ERROR 500: Can't load module Perinci::Examples: "gen_modified_sub" is not exported by the Perinci::Sub::Util module
# Can't continue after import errors at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Examples.pm line 13.
# BEGIN failed--compilation aborted at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Examples.pm line 13.
# Compilation failed in require at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Access/Lite.pm line 54.
# '
# doesn't match '(?^:^a=\nb=\nc=\nd=\ne=$)'
# Looks like you failed 2 tests of 2.
# Failed test 'common option: --no-config'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 225.
# Failed test 'exit_code'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 179.
# got: '200'
# expected: '0'
# Script's stdout:
# Script's stderr: <>
# Failed test 'stdout_like'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 192.
# 'prog: ERROR 500: Can't load module Perinci::Examples: "gen_modified_sub" is not exported by the Perinci::Sub::Util module
# Can't continue after import errors at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Examples.pm line 13.
# BEGIN failed--compilation aborted at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Examples.pm line 13.
# Compilation failed in require at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Access/Lite.pm line 54.
# '
# 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 /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 225.
# Failed test 'exit_code'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 179.
# got: '200'
# expected: '0'
# Script's stdout:
# Script's stderr: <>
# Failed test 'stdout_like'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 192.
# 'prog: ERROR 500: Can't load module Perinci::Examples: "gen_modified_sub" is not exported by the Perinci::Sub::Util module
# Can't continue after import errors at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Examples.pm line 13.
# BEGIN failed--compilation aborted at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Examples.pm line 13.
# Compilation failed in require at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Access/Lite.pm line 54.
# '
# 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 /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 225.
# Failed test 'exit_code'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 179.
# 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 /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 225.
# Failed test 'exit_code'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 179.
# got: '200'
# expected: '0'
# Script's stdout:
# Script's stderr: <>
# Failed test 'stdout_like'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 192.
# 'foo: ERROR 500: Can't load module Perinci::Examples: "gen_modified_sub" is not exported by the Perinci::Sub::Util module
# Can't continue after import errors at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Examples.pm line 13.
# BEGIN failed--compilation aborted at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Examples.pm line 13.
# Compilation failed in require at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Access/Lite.pm line 54.
# '
# 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 /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 225.
# Failed test 'exit_code'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 179.
# got: '200'
# expected: '0'
# Script's stdout:
# Script's stderr: <>
# Failed test 'stdout_like'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 192.
# 'prog: ERROR 500: Can't load module Perinci::Examples: "gen_modified_sub" is not exported by the Perinci::Sub::Util module
# Can't continue after import errors at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Examples.pm line 13.
# BEGIN failed--compilation aborted at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Examples.pm line 13.
# Compilation failed in require at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Access/Lite.pm line 54.
# '
# doesn't match '(?^:^a=102\nb=201\nc=201\nd=\ne=$)'
# Looks like you failed 2 tests of 2.
# Failed test 'subcommand'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 225.
# Failed test 'exit_code'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 179.
# got: '200'
# expected: '0'
# Script's stdout:
# Script's stderr: <>
# Failed test 'stdout_like'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 192.
# 'prog-old: ERROR 500: Can't load module Perinci::Examples: "gen_modified_sub" is not exported by the Perinci::Sub::Util module
# Can't continue after import errors at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Examples.pm line 13.
# BEGIN failed--compilation aborted at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Examples.pm line 13.
# Compilation failed in require at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Access/Lite.pm line 54.
# '
# 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 /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 225.
# Failed test 'exit_code'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 179.
# got: '200'
# expected: '0'
# Script's stdout:
# Script's stderr: <>
# Failed test 'stdout_like'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 192.
# 'prog: ERROR 500: Can't load module Perinci::Examples: "gen_modified_sub" is not exported by the Perinci::Sub::Util module
# Can't continue after import errors at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Examples.pm line 13.
# BEGIN failed--compilation aborted at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Examples.pm line 13.
# Compilation failed in require at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Access/Lite.pm line 54.
# '
# 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 /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 225.
# Failed test 'exit_code'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 179.
# got: '200'
# expected: '0'
# Script's stdout:
# Script's stderr: <>
# Failed test 'stdout_like'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 192.
# 'sum: ERROR 500: Can't load module Perinci::Examples: "gen_modified_sub" is not exported by the Perinci::Sub::Util module
# Can't continue after import errors at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Examples.pm line 13.
# BEGIN failed--compilation aborted at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Examples.pm line 13.
# Compilation failed in require at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Access/Lite.pm line 54.
# '
# doesn't match '(?^:^0$)'
# Looks like you failed 2 tests of 2.
# Failed test 'array-ify if argument is array'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 225.
# Failed test 'exit_code'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 179.
# got: '200'
# expected: '0'
# Script's stdout:
# Script's stderr: <>
# Failed test 'stdout_like'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 192.
# 'prog3: ERROR 500: Can't load module Perinci::Examples: "gen_modified_sub" is not exported by the Perinci::Sub::Util module
# Can't continue after import errors at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Examples.pm line 13.
# BEGIN failed--compilation aborted at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Examples.pm line 13.
# Compilation failed in require at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Access/Lite.pm line 54.
# '
# 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 /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 225.
# Looks like you failed 12 tests of 13.
# Failed test 'config file'
# at /home/fly1400/cpanfly-5.14/var/megalib/Test/Perinci/CmdLine.pm line 292.
# there are failing tests, not deleting tempdir /tmp/vgWlCRISxt
# Looks like you failed 4 tests of 18.
t/suite.t ................
# Subtest: help action
ok 1 - dummy
# Subtest: --help
# Generated CLI script at /tmp/vgWlCRISxt/cliNYSfbPol
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/cliNYSfbPol',
# '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/vgWlCRISxt/climv_c86tG
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/climv_c86tG',
# '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/vgWlCRISxt/cliADFklHYj
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/cliADFklHYj',
# '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/vgWlCRISxt/cliGnfecyHr
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/cliGnfecyHr',
# '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/vgWlCRISxt/cli3UOk8_WU
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/cli3UOk8_WU',
# '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/vgWlCRISxt/cli_tK5pv0o
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/cli_tK5pv0o',
# '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/vgWlCRISxt/cli76t8HT_s
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/cli76t8HT_s',
# '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/vgWlCRISxt/cli0tvnFmaC
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'default_subcommand' => 'noop',
# 'output_file' => '/tmp/vgWlCRISxt/cli0tvnFmaC',
# '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/vgWlCRISxt/cliOvCAktPE
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'default_subcommand' => 'odd_even',
# 'output_file' => '/tmp/vgWlCRISxt/cliOvCAktPE',
# '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/vgWlCRISxt/cli5qiVAvoW
# 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/vgWlCRISxt/cli5qiVAvoW',
# '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/vgWlCRISxt/clixDi3dX_v
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/clixDi3dX_v',
# '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/vgWlCRISxt/cliq4dQR_0R
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/cliq4dQR_0R',
# '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/vgWlCRISxt/cliaDtj_lhp
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/cliaDtj_lhp',
# '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/vgWlCRISxt/clicjqnP1AQ
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/clicjqnP1AQ',
# '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/vgWlCRISxt/cliRMAscEvL
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/cliRMAscEvL',
# '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/vgWlCRISxt/cliGNMDBGjY
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/cliGNMDBGjY',
# '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/vgWlCRISxt/cliewOYC5ab
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'default_subcommand' => 'noop',
# 'output_file' => '/tmp/vgWlCRISxt/cliewOYC5ab',
# '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/vgWlCRISxt/cli5NrDKKMR
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/cli5NrDKKMR',
# '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/vgWlCRISxt/clil4UHhBoU
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/clil4UHhBoU',
# '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/vgWlCRISxt/clie3eCh0V9
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/clie3eCh0V9',
# '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/vgWlCRISxt/cligFRzJar3
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/cligFRzJar3',
# '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/vgWlCRISxt/clibFmjrP1Z
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/clibFmjrP1Z',
# '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/vgWlCRISxt/cliEpWbiskT
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/cliEpWbiskT',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file'
# }
# argv: [
# '--a1',
# '/tmp/vgWlCRISxt/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/vgWlCRISxt/clidcG5cZZf
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/clidcG5cZZf',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file'
# }
# argv: [
# '--json',
# '--a1',
# '/tmp/vgWlCRISxt/infile1'
# ]
# Script's stdout: <[200,"OK","a1=foo\na2=[]",{"func.args":{"-cmdline_src_a1":"file","-cmdline_srcfilenames_a1":["/tmp/vgWlCRISxt/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/vgWlCRISxt/clif32ZFxHJ
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/clif32ZFxHJ',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file'
# }
# argv: [
# '--a1',
# '/tmp/vgWlCRISxt/infile1',
# '--a2',
# '/tmp/vgWlCRISxt/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/vgWlCRISxt/clirRHFORYK
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/clirRHFORYK',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file'
# }
# argv: [
# '--json',
# '--a1',
# '/tmp/vgWlCRISxt/infile1',
# '--a2',
# '/tmp/vgWlCRISxt/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/vgWlCRISxt/infile1"],"-cmdline_srcfilenames_a2":["/tmp/vgWlCRISxt/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/vgWlCRISxt/clihvWV8cKm
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/clihvWV8cKm',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file'
# }
# argv: [
# '--a1',
# '/tmp/vgWlCRISxt/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/vgWlCRISxt/cliq_uvIZP8
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/cliq_uvIZP8',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file'
# }
# argv: [
# '--a2',
# '/tmp/vgWlCRISxt/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/vgWlCRISxt/cli0fzZWdnb
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/cli0fzZWdnb',
# '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/vgWlCRISxt/cliNv9xc1zp
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/cliNv9xc1zp',
# '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/vgWlCRISxt/cli2SLXMRRN
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/cli2SLXMRRN',
# '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/vgWlCRISxt/cliKZ5ncd2l
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/cliKZ5ncd2l',
# '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/vgWlCRISxt/cligCVW3jQW
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/cligCVW3jQW',
# '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/vgWlCRISxt/clipB1Q5_BB
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/clipB1Q5_BB',
# '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/vgWlCRISxt/cliNyfpP9LR
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/cliNyfpP9LR',
# '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/vgWlCRISxt/cliRmcu1kwH
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/cliRmcu1kwH',
# '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/vgWlCRISxt/cliEjgOaL0B
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/cliEjgOaL0B',
# '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/vgWlCRISxt/clir3BlEnMg
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/clir3BlEnMg',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_file_str'
# }
# argv: [
# '/tmp/vgWlCRISxt/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/vgWlCRISxt/cliaJbofwRy
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/cliaJbofwRy',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_file_str'
# }
# argv: [
# '/tmp/vgWlCRISxt/infile1',
# '/tmp/vgWlCRISxt/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/vgWlCRISxt/cliG93Z6Bk8
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/cliG93Z6Bk8',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_file_str'
# }
# argv: [
# '--json',
# '/tmp/vgWlCRISxt/infile1'
# ]
# Script's stdout: <[200,"OK","a1=foo",{"func.args":{"-cmdline_src_a1":"stdin_or_file","-cmdline_srcfilenames_a1":["/tmp/vgWlCRISxt/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/vgWlCRISxt/cli9snrNqfI
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/cli9snrNqfI',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_file_str'
# }
# argv: [
# '/tmp/vgWlCRISxt/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/vgWlCRISxt/cli6qZhGOEC
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/cli6qZhGOEC',
# '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/vgWlCRISxt/cliE7G62WHY
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/cliE7G62WHY',
# '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/vgWlCRISxt/clidholNvS4
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/clidholNvS4',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_files_array'
# }
# argv: [
# '/tmp/vgWlCRISxt/infile1',
# '/tmp/vgWlCRISxt/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/vgWlCRISxt/cliDFtyXf13
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/cliDFtyXf13',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_files_str'
# }
# argv: [
# '--json',
# '/tmp/vgWlCRISxt/infile1'
# ]
# Script's stdout: <[200,"OK","a1=foo",{"func.args":{"-cmdline_src_a1":"stdin_or_files","-cmdline_srcfilenames_a1":["/tmp/vgWlCRISxt/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/vgWlCRISxt/cliYqSYFBFL
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/cliYqSYFBFL',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_files_str'
# }
# argv: [
# '/tmp/vgWlCRISxt/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/vgWlCRISxt/clitMwHCkTJ
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/clitMwHCkTJ',
# '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/vgWlCRISxt/clihjRPZmJ1
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/clihjRPZmJ1',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_files_array'
# }
# argv: []
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 6 - stdin_or_files stdin str
1..6
ok 10 - cmdline_src (stdin_or_files)
# Subtest: cmdline_src (stdin_or_args)
ok 1 - dummy
# Subtest: from arg
# Generated CLI script at /tmp/vgWlCRISxt/cliNTwAi4Ew
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/cliNTwAi4Ew',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_args_array'
# }
# argv: [
# '--a1',
# 'x'
# ]
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 2 - from arg
# Subtest: from stdin
# Generated CLI script at /tmp/vgWlCRISxt/cli_ymCNUUp
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/cli_ymCNUUp',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_args_array'
# }
# argv: []
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 3 - from stdin
1..3
ok 11 - cmdline_src (stdin_or_args)
# Subtest: dry-run
ok 1 - dummy
# Subtest: dry-run (via env, 0)
# Generated CLI script at /tmp/vgWlCRISxt/cli3quzJXe1
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/cli3quzJXe1',
# '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/vgWlCRISxt/cli1vFO30SG
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/cli1vFO30SG',
# '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/vgWlCRISxt/cliIxGZNIqQ
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/cliIxGZNIqQ',
# '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 12 - dry-run
# Subtest: tx
ok 1 - dummy
# Subtest: dry_run (using tx) (w/o)
1..0 # SKIP Has one of the exclude_tag: tx
ok 2 # skip Has one of the exclude_tag: tx
# Subtest: dry_run (using tx) (w/)
1..0 # SKIP Has one of the exclude_tag: tx
ok 3 # skip Has one of the exclude_tag: tx
1..3
ok 13 - tx
# Subtest: streaming
ok 1 - dummy
# Subtest: stream input, simple type, chomp on
# Generated CLI script at /tmp/vgWlCRISxt/clisl1yDblh
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/clisl1yDblh',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/Stream/count_lines'
# }
# argv: [
# '/tmp/vgWlCRISxt/infile-str'
# ]
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 2 - stream input, simple type, chomp on
# Subtest: stream input, simple type, chomp off
# Generated CLI script at /tmp/vgWlCRISxt/cliET7maZP9
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/cliET7maZP9',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/Stream/wc'
# }
# argv: [
# '/tmp/vgWlCRISxt/infile-str'
# ]
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 3 - stream input, simple type, chomp off
# Subtest: stream input, json stream
# Generated CLI script at /tmp/vgWlCRISxt/cliI8GDwhwf
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/cliI8GDwhwf',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/Stream/wc_keys'
# }
# argv: [
# '/tmp/vgWlCRISxt/infile-hash-json'
# ]
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 4 - stream input, json stream
# Subtest: stream input, simple type, word validation
1..0 # SKIP Has one of the exclude_tag: validate-streaming-input
ok 5 # skip Has one of the exclude_tag: validate-streaming-input
# Subtest: stream input, simple types, word validation, error
1..0 # SKIP Has one of the exclude_tag: validate-streaming-input
ok 6 # skip Has one of the exclude_tag: validate-streaming-input
# Subtest: stream input, simple types, word validation, error
1..0 # SKIP Has one of the exclude_tag: validate-streaming-input
ok 7 # skip Has one of the exclude_tag: validate-streaming-input
# Subtest: stream input, json stream, error
1..0 # SKIP Has one of the exclude_tag: validate-streaming-input
ok 8 # skip Has one of the exclude_tag: validate-streaming-input
# Subtest: stream result, simple types, word validation
1..0 # SKIP Has one of the exclude_tag: validate-streaming-result
ok 9 # skip Has one of the exclude_tag: validate-streaming-result
# Subtest: stream result, simple types, word validation, error
1..0 # SKIP Has one of the exclude_tag: validate-streaming-result
ok 10 # skip Has one of the exclude_tag: validate-streaming-result
# Subtest: stream result, json stream
# Generated CLI script at /tmp/vgWlCRISxt/clic3kUWsEY
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/clic3kUWsEY',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/Stream/produce_hashes'
# }
# argv: [
# '-n',
# '3'
# ]
# Script's stdout: <{"num":1}
# {"num":2}
# {"num":3}
# >
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 11 - stream result, json stream
# Subtest: stream input+result, simple type, float validation
# Generated CLI script at /tmp/vgWlCRISxt/clillaTArGj
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/clillaTArGj',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/Stream/square_nums'
# }
# argv: [
# '/tmp/vgWlCRISxt/infile-int'
# ]
# Script's stdout: <1
# 9
# 25
# >
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 12 - stream input+result, simple type, float validation
# Subtest: stream input+result, simple type, float validation, error
1..0 # SKIP Has one of the exclude_tag: validate-streaming-input
ok 13 # skip Has one of the exclude_tag: validate-streaming-input
1..13
ok 14 - streaming
# Subtest: result metadata
ok 1 - dummy
# Subtest: cmdline.exit_code
# Generated CLI script at /tmp/vgWlCRISxt/clikXSJX6SJ
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/clikXSJX6SJ',
# '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/vgWlCRISxt/cliTZbLGYiN
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/cliTZbLGYiN',
# '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/vgWlCRISxt/clivK5XyAxH
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/clivK5XyAxH',
# '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/vgWlCRISxt/clieyyI3BVd
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/clieyyI3BVd',
# '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/vgWlCRISxt/clifqjR8WOe
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/clifqjR8WOe',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineResMeta/skip_format'
# }
# argv: []
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 6 - cmdline.skip_format
1..6
ok 15 - result metadata
# Subtest: completion
ok 1 - dummy
# Subtest: self-completion works
# Generated CLI script at /tmp/vgWlCRISxt/clibb0IjT2e
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/clibb0IjT2e',
# '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 /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Sub/Complete.pm line 13.
# BEGIN failed--compilation aborted at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Sub/Complete.pm line 13.
# Compilation failed in require at /data/fly1400/cpan/build/Perinci-CmdLine-Lite-1.51-MadO35/blib/lib/Perinci/CmdLine/Base.pm line 543.
# >
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/vgWlCRISxt/cliD3rhs8vz
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/cliD3rhs8vz',
# '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 /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Sub/Complete.pm line 13.
# BEGIN failed--compilation aborted at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Sub/Complete.pm line 13.
# Compilation failed in require at /data/fly1400/cpan/build/Perinci-CmdLine-Lite-1.51-MadO35/blib/lib/Perinci/CmdLine/Base.pm line 543.
# >
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/vgWlCRISxt/cliynDveufO
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/cliynDveufO',
# '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 /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Sub/Complete.pm line 13.
# BEGIN failed--compilation aborted at /home/fly1400/cpanfly-5.14/var/megalib/Perinci/Sub/Complete.pm line 13.
# Compilation failed in require at /data/fly1400/cpan/build/Perinci-CmdLine-Lite-1.51-MadO35/blib/lib/Perinci/CmdLine/Base.pm line 543.
# >
not ok 1 - exit_code
not ok 2 - answer
1..2
not ok 4 - completion of subcommand option
1..4
not ok 16 - completion
# Subtest: env
ok 1 - dummy
# Subtest: env read
# Generated CLI script at /tmp/vgWlCRISxt/cliQoQVKH2O
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/cliQoQVKH2O',
# '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/vgWlCRISxt/cli37uLeTd0
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/cli37uLeTd0',
# '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/vgWlCRISxt/cliPbqyBH_O
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'env_name' => 'foo_opt',
# 'output_file' => '/tmp/vgWlCRISxt/cliPbqyBH_O',
# '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 17 - env
# Subtest: config file
ok 1 - dummy
# Subtest: attr:config_dirs
# Generated CLI script at /tmp/vgWlCRISxt/cliq8F5dwKY
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'config_dirs' => [
# '/tmp/vgWlCRISxt'
# ],
# 'output_file' => '/tmp/vgWlCRISxt/cliq8F5dwKY',
# '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/vgWlCRISxt/clieR4TsLBY
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'config_dirs' => [
# '/tmp/vgWlCRISxt'
# ],
# 'config_filename' => 'prog2.conf',
# 'output_file' => '/tmp/vgWlCRISxt/clieR4TsLBY',
# '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/vgWlCRISxt/cliRDf3RTPV
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'config_dirs' => [
# '/tmp/vgWlCRISxt'
# ],
# 'output_file' => '/tmp/vgWlCRISxt/cliRDf3RTPV',
# '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/vgWlCRISxt/cli5StE8wYw
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/vgWlCRISxt/cli5StE8wYw',
# 'overwrite' => 1,
# 'read_config' => 1,
# 'read_env' => 0,
# 'script_name' => 'prog',
# 'url' => '/Perinci/Examples/noop2'
# }
# argv: [
# '--config-path',
# '/tmp/vgWlCRISxt/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/vgWlCRISxt/clicrXfHFlb
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'config_dirs' => [
# '/tmp/vgWlCRISxt'
# ],
# 'output_file' => '/tmp/vgWlCRISxt/clicrXfHFlb',
# '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/vgWlCRISxt/clidEPRDx0q
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'config_dirs' => [
# '/tmp/vgWlCRISxt'
# ],
# 'output_file' => '/tmp/vgWlCRISxt/clidEPRDx0q',
# '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/vgWlCRISxt/cli4qHBEVyW
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'config_dirs' => [
# '/tmp/vgWlCRISxt'
# ],
# 'output_file' => '/tmp/vgWlCRISxt/cli4qHBEVyW',
# '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/vgWlCRISxt/cliCw9STe5T
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'config_dirs' => [
# '/tmp/vgWlCRISxt'
# ],
# 'output_file' => '/tmp/vgWlCRISxt/cliCw9STe5T',
# '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/vgWlCRISxt/cliZSazcvEA
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'config_dirs' => [
# '/tmp/vgWlCRISxt'
# ],
# 'output_file' => '/tmp/vgWlCRISxt/cliZSazcvEA',
# '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/vgWlCRISxt/cliywFxp7pS
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'config_dirs' => [
# '/tmp/vgWlCRISxt'
# ],
# 'output_file' => '/tmp/vgWlCRISxt/cliywFxp7pS',
# '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/vgWlCRISxt/clipRDrBeVU
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'config_dirs' => [
# '/tmp/vgWlCRISxt'
# ],
# 'output_file' => '/tmp/vgWlCRISxt/clipRDrBeVU',
# '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/vgWlCRISxt/cliQIw_6nCI
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'config_dirs' => [
# '/tmp/vgWlCRISxt'
# ],
# 'output_file' => '/tmp/vgWlCRISxt/cliQIw_6nCI',
# '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 18 - config file
1..18
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/18 subtests
Test Summary Report
-------------------
t/suite.t (Wstat: 1024 Tests: 18 Failed: 4)
Failed tests: 12, 16-18
Non-zero exit status: 4
Files=5, Tests=21, 15 wallclock secs ( 0.12 usr 0.10 sys + 10.01 cusr 1.74 csys = 11.97 CPU)
Result: FAIL
Failed 1/5 test programs. 4/21 subtests failed.
make: *** [test_dynamic] Error 4
PERLANCAR/Perinci-CmdLine-Lite-1.51.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.51.tar.gz
Running test for module 'App::ShellCompleter::cpanm'
Prepending /home/fly1400/cpanfly-5.14/var/cpan/build/Text-ANSI-Util-0.22-ThSBRE/blib/arch /home/fly1400/cpanfly-5.14/var/cpan/build/Text-ANSI-Util-0.22-ThSBRE/blib/lib to PERL5LIB for 'get'
Checksum for /home/fly1400/cpanfly-5.14/var/cpan/sources/authors/id/P/PE/PERLANCAR/App-ShellCompleter-cpanm-0.16.tar.gz ok
App-ShellCompleter-cpanm-0.16/
App-ShellCompleter-cpanm-0.16/bin/
App-ShellCompleter-cpanm-0.16/bin/_cpanm
App-ShellCompleter-cpanm-0.16/README
App-ShellCompleter-cpanm-0.16/lib/
App-ShellCompleter-cpanm-0.16/lib/App/
App-ShellCompleter-cpanm-0.16/lib/App/ShellCompleter/
App-ShellCompleter-cpanm-0.16/lib/App/ShellCompleter/cpanm.pm
App-ShellCompleter-cpanm-0.16/Makefile.PL
App-ShellCompleter-cpanm-0.16/Changes
App-ShellCompleter-cpanm-0.16/dist.ini
App-ShellCompleter-cpanm-0.16/LICENSE
App-ShellCompleter-cpanm-0.16/t/
App-ShellCompleter-cpanm-0.16/t/00-compile.t
App-ShellCompleter-cpanm-0.16/t/author-pod-syntax.t
App-ShellCompleter-cpanm-0.16/t/author-pod-coverage.t
App-ShellCompleter-cpanm-0.16/weaver.ini
App-ShellCompleter-cpanm-0.16/MANIFEST
App-ShellCompleter-cpanm-0.16/META.json
App-ShellCompleter-cpanm-0.16/META.yml
Prepending /home/fly1400/cpanfly-5.14/var/cpan/build/Text-ANSI-Util-0.22-ThSBRE/blib/arch /home/fly1400/cpanfly-5.14/var/cpan/build/Text-ANSI-Util-0.22-ThSBRE/blib/lib to PERL5LIB for 'prepare'
Configuring P/PE/PERLANCAR/App-ShellCompleter-cpanm-0.16.tar.gz with Makefile.PL
>>> /home/fly1400/ap1400/bin/perl-static Makefile.PL
Warning: prerequisite Perinci::CmdLine::Util::Config 0 not found.
Checking if your kit is complete...
Looks good
Have /home/fly1400/cpanfly-5.14/var/megalib
Want /home/fly1400/ap1400/lib
Your perl and your Config.pm seem to have different ideas about the
architecture they are running on.
Perl thinks: [megalib]
Config says: [x86_64-linux-thread-multi]
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
Modifying Makefile to generate shell completion on install
PERLANCAR/App-ShellCompleter-cpanm-0.16.tar.gz
/home/fly1400/ap1400/bin/perl-static Makefile.PL -- OK
Running make for P/PE/PERLANCAR/App-ShellCompleter-cpanm-0.16.tar.gz
Prepending /home/fly1400/cpanfly-5.14/var/cpan/build/Text-ANSI-Util-0.22-ThSBRE/blib/arch /home/fly1400/cpanfly-5.14/var/cpan/build/Text-ANSI-Util-0.22-ThSBRE/blib/lib to PERL5LIB for 'make'
---- Unsatisfied dependencies detected during ----
---- PERLANCAR/App-ShellCompleter-cpanm-0.16.tar.gz ----
Perinci::CmdLine::Util::Config [requires]
Running test for module 'Perinci::CmdLine::Util::Config'
PERLANCAR/Perinci-CmdLine-Lite-1.51.tar.gz
Has already been unwrapped into directory /home/fly1400/cpanfly-5.14/var/cpan/build/Perinci-CmdLine-Lite-1.51-MadO35
PERLANCAR/Perinci-CmdLine-Lite-1.51.tar.gz
Has already been prepared
PERLANCAR/Perinci-CmdLine-Lite-1.51.tar.gz
Has already been made
PERLANCAR/Perinci-CmdLine-Lite-1.51.tar.gz
Won't repeat unsuccessful test during this command
PERLANCAR/App-ShellCompleter-cpanm-0.16.tar.gz
Has already been unwrapped into directory /home/fly1400/cpanfly-5.14/var/cpan/build/App-ShellCompleter-cpanm-0.16-JnYonq
PERLANCAR/App-ShellCompleter-cpanm-0.16.tar.gz
Has already been prepared
Running make for P/PE/PERLANCAR/App-ShellCompleter-cpanm-0.16.tar.gz
Prepending /home/fly1400/cpanfly-5.14/var/cpan/build/Text-ANSI-Util-0.22-ThSBRE/blib/arch /home/fly1400/cpanfly-5.14/var/cpan/build/Text-ANSI-Util-0.22-ThSBRE/blib/lib to PERL5LIB for 'make'
Warning: Prerequisite 'Perinci::CmdLine::Util::Config => 0' for 'PERLANCAR/App-ShellCompleter-cpanm-0.16.tar.gz' failed when processing 'PERLANCAR/Perinci-CmdLine-Lite-1.51.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
"/home/fly1400/ap1400/bin/perl-static" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/_cpanm
Manifying 1 pod document
Manifying 1 pod document
PERLANCAR/App-ShellCompleter-cpanm-0.16.tar.gz
make -- OK
Prepending /home/fly1400/cpanfly-5.14/var/cpan/build/Text-ANSI-Util-0.22-ThSBRE/blib/arch /home/fly1400/cpanfly-5.14/var/cpan/build/Text-ANSI-Util-0.22-ThSBRE/blib/lib to PERL5LIB for 'test'
Running make test
>>> make test TEST_VERBOSE=1
PERL_DL_NONLAZY=1 "/home/fly1400/ap1400/bin/perl-static" "-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 (@INC contains: /data/fly1400/cpan/build/App-ShellCompleter-cpanm-0.16-JnYonq/blib/arch /data/fly1400/cpan/build/App-ShellCompleter-cpanm-0.16-JnYonq/blib/lib /data/fly1400/cpan/build/App-ShellCompleter-cpanm-0.16-JnYonq/blib/lib /data/fly1400/cpan/build/App-ShellCompleter-cpanm-0.16-JnYonq/blib/arch /home/fly1400/cpanfly-5.14/var/cpan/build/Text-ANSI-Util-0.22-ThSBRE/blib/arch /home/fly1400/cpanfly-5.14/var/cpan/build/Text-ANSI-Util-0.22-ThSBRE/blib/lib /home/fly1400/cpanfly-5.14/var/megalib /home/fly1400/cpanfly-5.14/var/cpan/build/Text-ANSI-Util-0.22-ThSBRE/blib/arch /home/fly1400/cpanfly-5.14/var/cpan/build/Text-ANSI-Util-0.22-ThSBRE/blib/lib /home/fly1400/cpanfly-5.14/var/megalib /home/fly1400/ap1400/site/lib /home/fly1400/ap1400/lib .) at /home/fly1400/cpanfly-5.14/var/megalib/Complete/File.pm line 10.BEGIN failed--compilation aborted at /home/fly1400/cpanfly-5.14/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/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/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.02 csys = 0.19 CPU)
Result: FAIL
Failed 1/3 test programs. 1/2 subtests failed.
make: *** [test_dynamic] Error 255
PERLANCAR/App-ShellCompleter-cpanm-0.16.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.16.tar.gz
PERLANCAR/App-lcpan-0.83.tar.gz
Has already been unwrapped into directory /home/fly1400/cpanfly-5.14/var/cpan/build/App-lcpan-0.83-Y5XlkO
PERLANCAR/App-lcpan-0.83.tar.gz
Has already been prepared
Running make for P/PE/PERLANCAR/App-lcpan-0.83.tar.gz
Prepending /home/fly1400/cpanfly-5.14/var/cpan/build/Text-ANSI-Util-0.22-ThSBRE/blib/arch /home/fly1400/cpanfly-5.14/var/cpan/build/Text-ANSI-Util-0.22-ThSBRE/blib/lib to PERL5LIB for 'make'
Warning: Prerequisite 'LWP::UserAgent::Patch::FilterMirrorMaxSize => 0' for 'PERLANCAR/App-lcpan-0.83.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.
Warning: Prerequisite 'Perinci::CmdLine::Util::Config => 0' for 'PERLANCAR/App-lcpan-0.83.tar.gz' failed when processing 'PERLANCAR/Perinci-CmdLine-Lite-1.51.tar.gz' with 'make_test => NO'. Continuing, but chances to succeed are limited.
Warning: Prerequisite 'App::ShellCompleter::cpanm => 0' for 'PERLANCAR/App-lcpan-0.83.tar.gz' failed when processing 'PERLANCAR/App-ShellCompleter-cpanm-0.16.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.
>>> make
cp lib/App/lcpan/Cmd/dist2rel.pm blib/lib/App/lcpan/Cmd/dist2rel.pm
cp lib/App/lcpan/Cmd/scripts_from_same_dist.pm blib/lib/App/lcpan/Cmd/scripts_from_same_dist.pm
cp lib/App/lcpan/Cmd/script2author.pm blib/lib/App/lcpan/Cmd/script2author.pm
cp lib/App/lcpan/Cmd/stats.pm blib/lib/App/lcpan/Cmd/stats.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/dists_by_dep_count.pm blib/lib/App/lcpan/Cmd/dists_by_dep_count.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/mods.pm blib/lib/App/lcpan/Cmd/mods.pm
cp lib/App/lcpan/Cmd/deps.pm blib/lib/App/lcpan/Cmd/deps.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/subs.pm blib/lib/App/lcpan/Cmd/subs.pm
cp lib/App/lcpan/Cmd/author_deps_by_dependent_count.pm blib/lib/App/lcpan/Cmd/author_deps_by_dependent_count.pm
cp lib/App/lcpan/Cmd/dist2author.pm blib/lib/App/lcpan/Cmd/dist2author.pm
cp lib/App/lcpan/Cmd/authors_by_script_count.pm blib/lib/App/lcpan/Cmd/authors_by_script_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/author_dists.pm blib/lib/App/lcpan/Cmd/author_dists.pm
cp lib/App/lcpan/Cmd/scripts.pm blib/lib/App/lcpan/Cmd/scripts.pm
cp lib/App/lcpan/Cmd/extract_mod.pm blib/lib/App/lcpan/Cmd/extract_mod.pm
cp lib/App/lcpan/Cmd/dist_mods.pm blib/lib/App/lcpan/Cmd/dist_mods.pm
cp lib/App/lcpan/Cmd/author_rdeps.pm blib/lib/App/lcpan/Cmd/author_rdeps.pm
cp lib/App/lcpan/Cmd/authors_by_mod_mention_count.pm blib/lib/App/lcpan/Cmd/authors_by_mod_mention_count.pm
cp lib/App/lcpan/Cmd/script2mod.pm blib/lib/App/lcpan/Cmd/script2mod.pm
cp lib/App/lcpan/Cmd/mentions_for_mod.pm blib/lib/App/lcpan/Cmd/mentions_for_mod.pm
cp lib/App/lcpan/Cmd/dists.pm blib/lib/App/lcpan/Cmd/dists.pm
cp lib/App/lcpan/Cmd/author_deps.pm blib/lib/App/lcpan/Cmd/author_deps.pm
cp lib/App/lcpan/Cmd/releases.pm blib/lib/App/lcpan/Cmd/releases.pm
cp lib/App/lcpan/Cmd/dist_scripts.pm blib/lib/App/lcpan/Cmd/dist_scripts.pm
cp lib/App/lcpan/Cmd/author_scripts.pm blib/lib/App/lcpan/Cmd/author_scripts.pm
cp lib/App/lcpan/Cmd/copy_rel.pm blib/lib/App/lcpan/Cmd/copy_rel.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/mods_by_mention_count.pm blib/lib/App/lcpan/Cmd/mods_by_mention_count.pm
cp lib/App/lcpan/Cmd/update.pm blib/lib/App/lcpan/Cmd/update.pm
cp lib/App/lcpan/Cmd/mod2dist.pm blib/lib/App/lcpan/Cmd/mod2dist.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/extract_script.pm blib/lib/App/lcpan/Cmd/extract_script.pm
cp lib/App/lcpan/Cmd/author_mods.pm blib/lib/App/lcpan/Cmd/author_mods.pm
cp lib/App/lcpan/Cmd/script2rel.pm blib/lib/App/lcpan/Cmd/script2rel.pm
cp lib/App/lcpan/Cmd/copy_script.pm blib/lib/App/lcpan/Cmd/copy_script.pm
cp lib/App/lcpan.pm blib/lib/App/lcpan.pm
cp lib/App/lcpan/PodParser.pm blib/lib/App/lcpan/PodParser.pm
cp lib/App/lcpan/Cmd/copy_mod.pm blib/lib/App/lcpan/Cmd/copy_mod.pm
cp lib/App/lcpan/Cmd/modules.pm blib/lib/App/lcpan/Cmd/modules.pm
cp lib/App/lcpan/Cmd/mentions_by_mod.pm blib/lib/App/lcpan/Cmd/mentions_by_mod.pm
cp lib/App/lcpan/Cmd/mentions_by_script.pm blib/lib/App/lcpan/Cmd/mentions_by_script.pm
cp lib/App/lcpan/Cmd/deps_by_dependent_count.pm blib/lib/App/lcpan/Cmd/deps_by_dependent_count.pm
cp lib/App/lcpan/Cmd/rels.pm blib/lib/App/lcpan/Cmd/rels.pm
cp lib/App/lcpan/Cmd/reset.pm blib/lib/App/lcpan/Cmd/reset.pm
cp lib/App/lcpan/Cmd/scripts_by_mention_count.pm blib/lib/App/lcpan/Cmd/scripts_by_mention_count.pm
cp lib/App/lcpan/Cmd/changes.pm blib/lib/App/lcpan/Cmd/changes.pm
cp lib/App/lcpan/Cmd/extract_rel.pm blib/lib/App/lcpan/Cmd/extract_rel.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/Manual/Cookbook.pod blib/lib/App/lcpan/Manual/Cookbook.pod
cp lib/App/lcpan/Cmd/mentions.pm blib/lib/App/lcpan/Cmd/mentions.pm
cp lib/App/lcpan/Cmd/rdeps.pm blib/lib/App/lcpan/Cmd/rdeps.pm
cp lib/App/lcpan/Cmd/contents.pm blib/lib/App/lcpan/Cmd/contents.pm
cp lib/App/lcpan/Cmd/mod2rel.pm blib/lib/App/lcpan/Cmd/mod2rel.pm
cp lib/App/lcpan/Cmd/authors_by_filesize.pm blib/lib/App/lcpan/Cmd/authors_by_filesize.pm
cp lib/App/lcpan/Cmd/mod2author.pm blib/lib/App/lcpan/Cmd/mod2author.pm
cp lib/App/lcpan/Cmd/mentions_for_all_mods.pm blib/lib/App/lcpan/Cmd/mentions_for_all_mods.pm
cp lib/App/lcpan/Cmd/author_rels.pm blib/lib/App/lcpan/Cmd/author_rels.pm
cp lib/App/lcpan/Cmd/stats_last_index_time.pm blib/lib/App/lcpan/Cmd/stats_last_index_time.pm
cp lib/App/lcpan/Cmd/subnames_by_count.pm blib/lib/App/lcpan/Cmd/subnames_by_count.pm
cp lib/App/lcpan/Cmd/script2dist.pm blib/lib/App/lcpan/Cmd/script2dist.pm
cp lib/App/lcpan/Cmd/doc.pm blib/lib/App/lcpan/Cmd/doc.pm
cp lib/App/lcpan/Cmd/namespaces.pm blib/lib/App/lcpan/Cmd/namespaces.pm
cp lib/App/lcpan/Cmd/related_mods.pm blib/lib/App/lcpan/Cmd/related_mods.pm
cp lib/App/lcpan/Cmd/mentions_for_script.pm blib/lib/App/lcpan/Cmd/mentions_for_script.pm
cp bin/lcpan blib/script/lcpan
"/home/fly1400/ap1400/bin/perl-static" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/lcpan
cp bin/lcpanm blib/script/lcpanm
"/home/fly1400/ap1400/bin/perl-static" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/lcpanm
Manifying 2 pod documents
Manifying 68 pod documents
PERLANCAR/App-lcpan-0.83.tar.gz
make -- OK
Prepending /home/fly1400/cpanfly-5.14/var/cpan/build/Text-ANSI-Util-0.22-ThSBRE/blib/arch /home/fly1400/cpanfly-5.14/var/cpan/build/Text-ANSI-Util-0.22-ThSBRE/blib/lib to PERL5LIB for 'test'
Running make test
>>> make test TEST_VERBOSE=1
PERL_DL_NONLAZY=1 "/home/fly1400/ap1400/bin/perl-static" "-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 106.
# got: '65280'
# expected: '0'
"gen_modified_sub" is not exported by the Perinci::Sub::Util module
Can't continue after import errors at /home/fly1400/cpanfly-5.14/var/megalib/SHARYANTO/Array/Util.pm line 11.
BEGIN failed--compilation aborted at /home/fly1400/cpanfly-5.14/var/megalib/SHARYANTO/Array/Util.pm line 11.
Compilation failed in require at /home/fly1400/cpanfly-5.14/var/megalib/Module/Patch.pm line 14.
BEGIN failed--compilation aborted at /home/fly1400/cpanfly-5.14/var/megalib/Module/Patch.pm line 14.
Compilation failed in require at /data/fly1400/cpan/build/App-lcpan-0.83-Y5XlkO/blib/lib/LWP/UserAgent/Patch/FilterLcpan.pm line 11.
BEGIN failed--compilation aborted at /data/fly1400/cpan/build/App-lcpan-0.83-Y5XlkO/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 132.
# got: '512'
# expected: '0'
Can't locate Perinci/CmdLine/Util/Config.pm in @INC (@INC contains: /data/fly1400/cpan/build/App-lcpan-0.83-Y5XlkO/blib/arch /data/fly1400/cpan/build/App-lcpan-0.83-Y5XlkO/blib/lib /data/fly1400/cpan/build/App-lcpan-0.83-Y5XlkO/blib/lib /data/fly1400/cpan/build/App-lcpan-0.83-Y5XlkO/blib/arch /home/fly1400/cpanfly-5.14/var/cpan/build/Text-ANSI-Util-0.22-ThSBRE/blib/arch /home/fly1400/cpanfly-5.14/var/cpan/build/Text-ANSI-Util-0.22-ThSBRE/blib/lib /home/fly1400/cpanfly-5.14/var/megalib /home/fly1400/cpanfly-5.14/var/cpan/build/Text-ANSI-Util-0.22-ThSBRE/blib/arch /home/fly1400/cpanfly-5.14/var/cpan/build/Text-ANSI-Util-0.22-ThSBRE/blib/lib /home/fly1400/cpanfly-5.14/var/megalib /home/fly1400/ap1400/site/lib /home/fly1400/ap1400/lib .) at bin/lcpanm line 13.BEGIN failed--compilation aborted at bin/lcpanm line 13. at t/00-compile.t line 141, line 2.
# Looks like you failed 2 tests of 69.
t/00-compile.t ....................
1..69
ok 1 - App/lcpan.pm loaded ok
ok 2 - App/lcpan/Cmd/author_deps.pm loaded ok
ok 3 - App/lcpan/Cmd/author_deps_by_dependent_count.pm loaded ok
ok 4 - App/lcpan/Cmd/author_dists.pm loaded ok
ok 5 - App/lcpan/Cmd/author_mods.pm loaded ok
ok 6 - App/lcpan/Cmd/author_rdeps.pm loaded ok
ok 7 - App/lcpan/Cmd/author_rels.pm loaded ok
ok 8 - App/lcpan/Cmd/author_scripts.pm loaded ok
ok 9 - App/lcpan/Cmd/authors.pm loaded ok
ok 10 - App/lcpan/Cmd/authors_by_dist_count.pm loaded ok
ok 11 - App/lcpan/Cmd/authors_by_filesize.pm loaded ok
ok 12 - App/lcpan/Cmd/authors_by_mod_count.pm loaded ok
ok 13 - App/lcpan/Cmd/authors_by_mod_mention_count.pm loaded ok
ok 14 - App/lcpan/Cmd/authors_by_rdep_count.pm loaded ok
ok 15 - App/lcpan/Cmd/authors_by_rel_count.pm loaded ok
ok 16 - App/lcpan/Cmd/authors_by_script_count.pm loaded ok
ok 17 - App/lcpan/Cmd/changes.pm loaded ok
ok 18 - App/lcpan/Cmd/contents.pm loaded ok
ok 19 - App/lcpan/Cmd/copy_mod.pm loaded ok
ok 20 - App/lcpan/Cmd/copy_rel.pm loaded ok
ok 21 - App/lcpan/Cmd/copy_script.pm loaded ok
ok 22 - App/lcpan/Cmd/deps.pm loaded ok
ok 23 - App/lcpan/Cmd/deps_by_dependent_count.pm loaded ok
ok 24 - App/lcpan/Cmd/dist2author.pm loaded ok
ok 25 - App/lcpan/Cmd/dist2rel.pm loaded ok
ok 26 - App/lcpan/Cmd/dist_mods.pm loaded ok
ok 27 - App/lcpan/Cmd/dist_scripts.pm loaded ok
ok 28 - App/lcpan/Cmd/dists.pm loaded ok
ok 29 - App/lcpan/Cmd/dists_by_dep_count.pm loaded ok
ok 30 - App/lcpan/Cmd/doc.pm loaded ok
ok 31 - App/lcpan/Cmd/extract_mod.pm loaded ok
ok 32 - App/lcpan/Cmd/extract_rel.pm loaded ok
ok 33 - App/lcpan/Cmd/extract_script.pm loaded ok
ok 34 - App/lcpan/Cmd/mentions.pm loaded ok
ok 35 - App/lcpan/Cmd/mentions_by_mod.pm loaded ok
ok 36 - App/lcpan/Cmd/mentions_by_script.pm loaded ok
ok 37 - App/lcpan/Cmd/mentions_for_all_mods.pm loaded ok
ok 38 - App/lcpan/Cmd/mentions_for_mod.pm loaded ok
ok 39 - App/lcpan/Cmd/mentions_for_script.pm loaded ok
ok 40 - App/lcpan/Cmd/mod2author.pm loaded ok
ok 41 - App/lcpan/Cmd/mod2dist.pm loaded ok
ok 42 - App/lcpan/Cmd/mod2rel.pm loaded ok
ok 43 - App/lcpan/Cmd/mods.pm loaded ok
ok 44 - App/lcpan/Cmd/mods_by_mention_count.pm loaded ok
ok 45 - App/lcpan/Cmd/mods_by_rdep_count.pm loaded ok
ok 46 - App/lcpan/Cmd/mods_from_same_dist.pm loaded ok
ok 47 - App/lcpan/Cmd/modules.pm loaded ok
ok 48 - App/lcpan/Cmd/namespaces.pm loaded ok
ok 49 - App/lcpan/Cmd/rdeps.pm loaded ok
ok 50 - App/lcpan/Cmd/related_mods.pm loaded ok
ok 51 - App/lcpan/Cmd/releases.pm loaded ok
ok 52 - App/lcpan/Cmd/rels.pm loaded ok
ok 53 - App/lcpan/Cmd/reset.pm loaded ok
ok 54 - App/lcpan/Cmd/script2author.pm loaded ok
ok 55 - App/lcpan/Cmd/script2dist.pm loaded ok
ok 56 - App/lcpan/Cmd/script2mod.pm loaded ok
ok 57 - App/lcpan/Cmd/script2rel.pm loaded ok
ok 58 - App/lcpan/Cmd/scripts.pm loaded ok
ok 59 - App/lcpan/Cmd/scripts_by_mention_count.pm loaded ok
ok 60 - App/lcpan/Cmd/scripts_from_same_dist.pm loaded ok
ok 61 - App/lcpan/Cmd/stats.pm loaded ok
ok 62 - App/lcpan/Cmd/stats_last_index_time.pm loaded ok
ok 63 - App/lcpan/Cmd/subnames_by_count.pm loaded ok
ok 64 - App/lcpan/Cmd/subs.pm loaded ok
ok 65 - App/lcpan/Cmd/update.pm loaded ok
ok 66 - App/lcpan/PodParser.pm loaded ok
not ok 67 - LWP/UserAgent/Patch/FilterLcpan.pm loaded ok
ok 68 - bin/lcpan compiled ok
not ok 69 - bin/lcpanm compiled ok
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/69 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
t/release-rinci.t ................. skipped: these tests are for release candidate testing
t/release-sql_schema_versioned.t .. skipped: these tests are for release candidate testing
Test Summary Report
-------------------
t/00-compile.t (Wstat: 512 Tests: 69 Failed: 2)
Failed tests: 67, 69
Non-zero exit status: 2
Files=5, Tests=69, 5 wallclock secs ( 0.04 usr 0.04 sys + 3.46 cusr 0.59 csys = 4.13 CPU)
Result: FAIL
Failed 1/5 test programs. 2/69 subtests failed.
make: *** [test_dynamic] Error 255
PERLANCAR/App-lcpan-0.83.tar.gz
3 dependencies missing (App::ShellCompleter::cpanm,Perinci::CmdLine::Util::Config,LWP::UserAgent::Patch::FilterMirrorMaxSize); 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.83.tar.gz
VmSize: 280420 kB
Finished 2016-03-12T12:01:51