PATH=/usr/bin:/bin:/home/fly1800/cpanfly-5.18/var/megalib/bin Start 2016-02-05T12:15:06 ActivePerl-1800 CPAN-2.10 Reading '/home/fly1800/cpanfly-5.18/var/cpan/Metadata' Database was generated on Fri, 05 Feb 2016 06:17:02 GMT Checksum for /home/fly1800/cpanfly-5.18/var/cpan/sources/authors/id/P/PE/PERLANCAR/Perinci-CmdLine-Lite-1.50.tar.gz ok Perinci-CmdLine-Lite-1.50/ Perinci-CmdLine-Lite-1.50/README Perinci-CmdLine-Lite-1.50/lib/ Perinci-CmdLine-Lite-1.50/lib/Perinci/ Perinci-CmdLine-Lite-1.50/lib/Perinci/CmdLine/ Perinci-CmdLine-Lite-1.50/lib/Perinci/CmdLine/Lite.pm Perinci-CmdLine-Lite-1.50/lib/Perinci/CmdLine/Base.pm Perinci-CmdLine-Lite-1.50/lib/Perinci/CmdLine/Util/ Perinci-CmdLine-Lite-1.50/lib/Perinci/CmdLine/Util/Config.pm Perinci-CmdLine-Lite-1.50/Makefile.PL Perinci-CmdLine-Lite-1.50/share/ Perinci-CmdLine-Lite-1.50/share/templates/ Perinci-CmdLine-Lite-1.50/share/templates/description.txt Perinci-CmdLine-Lite-1.50/share/templates/synopsis.txt Perinci-CmdLine-Lite-1.50/Changes Perinci-CmdLine-Lite-1.50/dist.ini Perinci-CmdLine-Lite-1.50/LICENSE Perinci-CmdLine-Lite-1.50/t/ Perinci-CmdLine-Lite-1.50/t/00-compile.t Perinci-CmdLine-Lite-1.50/t/suite.t Perinci-CmdLine-Lite-1.50/t/release-rinci.t Perinci-CmdLine-Lite-1.50/t/author-pod-syntax.t Perinci-CmdLine-Lite-1.50/t/author-pod-coverage.t Perinci-CmdLine-Lite-1.50/weaver.ini Perinci-CmdLine-Lite-1.50/MANIFEST Perinci-CmdLine-Lite-1.50/META.json Perinci-CmdLine-Lite-1.50/META.yml Perinci-CmdLine-Lite-1.50/devscripts/ Perinci-CmdLine-Lite-1.50/devscripts/bench-startup Configuring P/PE/PERLANCAR/Perinci-CmdLine-Lite-1.50.tar.gz with Makefile.PL >>> /home/fly1800/ap1800-297235/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/fly1800/cpanfly-5.18/var/megalib Want /home/fly1800/ap1800-297235/lib Your perl and your Config.pm seem to have different ideas about the architecture they are running on. Perl thinks: [megalib] Config says: [i686-linux-thread-multi-64int] This may or may not cause problems. Please check your installation of perl if you have problems building this extension. Generating a Unix-style Makefile Writing Makefile for Perinci::CmdLine::Lite Writing MYMETA.yml and MYMETA.json PERLANCAR/Perinci-CmdLine-Lite-1.50.tar.gz /home/fly1800/ap1800-297235/bin/perl-static Makefile.PL -- OK Running make for P/PE/PERLANCAR/Perinci-CmdLine-Lite-1.50.tar.gz ---- Unsatisfied dependencies detected during ---- ---- PERLANCAR/Perinci-CmdLine-Lite-1.50.tar.gz ---- YAML::Old [build_requires] Progress::Any::Output::TermProgressBarColor [requires] Running test for module 'YAML::Old' Checksum for /home/fly1800/cpanfly-5.18/var/cpan/sources/authors/id/I/IN/INGY/YAML-Old-1.07.tar.gz ok YAML-Old-1.07/ YAML-Old-1.07/META.yml YAML-Old-1.07/LICENSE YAML-Old-1.07/Makefile.PL YAML-Old-1.07/README YAML-Old-1.07/t/ YAML-Old-1.07/t/dump-perl-types-512.t YAML-Old-1.07/t/load-spec.t YAML-Old-1.07/t/dump-file-utf8.t YAML-Old-1.07/t/node-info.t YAML-Old-1.07/t/dump-stringify.t YAML-Old-1.07/t/inbox.t YAML-Old-1.07/t/basic-tests.t YAML-Old-1.07/t/references.t YAML-Old-1.07/t/dump-code.t YAML-Old-1.07/t/dump-works.t YAML-Old-1.07/t/load-passes.t YAML-Old-1.07/t/2-scalars.t YAML-Old-1.07/t/dump-file.t YAML-Old-1.07/t/regexp.t YAML-Old-1.07/t/dump-tests-512.t YAML-Old-1.07/t/load-fails.t YAML-Old-1.07/t/bugs-emailed.t YAML-Old-1.07/t/dump-nested.t YAML-Old-1.07/t/dump-synopsis.t YAML-Old-1.07/t/dump-basics.t YAML-Old-1.07/t/marshall.t YAML-Old-1.07/t/TestYAMLBase.pm YAML-Old-1.07/t/load-slides.t YAML-Old-1.07/t/dump-opts.t YAML-Old-1.07/t/dump-perl-types.t YAML-Old-1.07/t/release-pod-syntax.t YAML-Old-1.07/t/freeze-thaw.t YAML-Old-1.07/t/changes.t YAML-Old-1.07/t/export.t YAML-Old-1.07/t/TestYAML.pm YAML-Old-1.07/t/long-quoted-value.yaml YAML-Old-1.07/t/dump-perl-types-514.t YAML-Old-1.07/t/global-api.t YAML-Old-1.07/t/svk.t YAML-Old-1.07/t/dump-tests.t YAML-Old-1.07/t/bugs-rt.t YAML-Old-1.07/t/000-compile-modules.t YAML-Old-1.07/t/test.t YAML-Old-1.07/t/load-works.t YAML-Old-1.07/t/rt-90593.t YAML-Old-1.07/t/dump-tests-514.t YAML-Old-1.07/t/pugs-objects.t YAML-Old-1.07/t/svk-config.yaml YAML-Old-1.07/t/load-tests.t YAML-Old-1.07/t/dump-blessed.t YAML-Old-1.07/t/errors.t YAML-Old-1.07/xt/ YAML-Old-1.07/xt/pmv.t YAML-Old-1.07/xt/meta.t YAML-Old-1.07/xt/pod.t YAML-Old-1.07/lib/ YAML-Old-1.07/lib/YAML/ YAML-Old-1.07/lib/YAML/Old.pm YAML-Old-1.07/lib/YAML/Old.pod YAML-Old-1.07/lib/YAML/Old/ YAML-Old-1.07/lib/YAML/Old/Dumper.pm YAML-Old-1.07/lib/YAML/Old/Marshall.pm YAML-Old-1.07/lib/YAML/Old/Loader.pm YAML-Old-1.07/lib/YAML/Old/Tag.pm YAML-Old-1.07/lib/YAML/Old/Mo.pm YAML-Old-1.07/lib/YAML/Old/Types.pm YAML-Old-1.07/lib/YAML/Old/Error.pm YAML-Old-1.07/lib/YAML/Old/Node.pm YAML-Old-1.07/lib/YAML/Old/Loader/ YAML-Old-1.07/lib/YAML/Old/Loader/Base.pm YAML-Old-1.07/lib/YAML/Old/Dumper/ YAML-Old-1.07/lib/YAML/Old/Dumper/Base.pm YAML-Old-1.07/MANIFEST YAML-Old-1.07/Changes YAML-Old-1.07/CONTRIBUTING YAML-Old-1.07/META.json Configuring I/IN/INGY/YAML-Old-1.07.tar.gz with Makefile.PL >>> /home/fly1800/ap1800-297235/bin/perl-static Makefile.PL Checking if your kit is complete... Looks good Have /home/fly1800/cpanfly-5.18/var/megalib Want /home/fly1800/ap1800-297235/lib Your perl and your Config.pm seem to have different ideas about the architecture they are running on. Perl thinks: [megalib] Config says: [i686-linux-thread-multi-64int] This may or may not cause problems. Please check your installation of perl if you have problems building this extension. "\x{00f6}" does not map to ascii at /home/fly1800/cpanfly-5.18/var/megalib/ExtUtils/MakeMaker.pm line 1182. "\x{00f6}" does not map to ascii at /home/fly1800/cpanfly-5.18/var/megalib/ExtUtils/MakeMaker.pm line 1182. "\x{00f6}" does not map to ascii at /home/fly1800/cpanfly-5.18/var/megalib/ExtUtils/MakeMaker.pm line 1182. "\x{00f6}" does not map to ascii at /home/fly1800/cpanfly-5.18/var/megalib/ExtUtils/MakeMaker.pm line 1182. Generating a Unix-style Makefile Writing Makefile for YAML::Old Writing MYMETA.yml and MYMETA.json INGY/YAML-Old-1.07.tar.gz /home/fly1800/ap1800-297235/bin/perl-static Makefile.PL -- OK Running make for I/IN/INGY/YAML-Old-1.07.tar.gz ---- Unsatisfied dependencies detected during ---- ---- INGY/YAML-Old-1.07.tar.gz ---- Test::YAML [build_requires] Running test for module 'Test::YAML' Checksum for /home/fly1800/cpanfly-5.18/var/cpan/sources/authors/id/I/IN/INGY/Test-YAML-1.06.tar.gz ok Test-YAML-1.06/ Test-YAML-1.06/META.yml Test-YAML-1.06/LICENSE Test-YAML-1.06/Makefile.PL Test-YAML-1.06/README Test-YAML-1.06/t/ Test-YAML-1.06/t/release-pod-syntax.t Test-YAML-1.06/lib/ Test-YAML-1.06/lib/Test/ Test-YAML-1.06/lib/Test/YAML.pm Test-YAML-1.06/lib/Test/YAML.pod Test-YAML-1.06/MANIFEST Test-YAML-1.06/Changes Test-YAML-1.06/CONTRIBUTING Test-YAML-1.06/bin/ Test-YAML-1.06/bin/test-yaml Test-YAML-1.06/META.json Configuring I/IN/INGY/Test-YAML-1.06.tar.gz with Makefile.PL >>> /home/fly1800/ap1800-297235/bin/perl-static Makefile.PL Checking if your kit is complete... Looks good Have /home/fly1800/cpanfly-5.18/var/megalib Want /home/fly1800/ap1800-297235/lib Your perl and your Config.pm seem to have different ideas about the architecture they are running on. Perl thinks: [megalib] Config says: [i686-linux-thread-multi-64int] This may or may not cause problems. Please check your installation of perl if you have problems building this extension. "\x{00f6}" does not map to ascii at /home/fly1800/cpanfly-5.18/var/megalib/ExtUtils/MakeMaker.pm line 1182. "\x{00f6}" does not map to ascii at /home/fly1800/cpanfly-5.18/var/megalib/ExtUtils/MakeMaker.pm line 1182. "\x{00f6}" does not map to ascii at /home/fly1800/cpanfly-5.18/var/megalib/ExtUtils/MakeMaker.pm line 1182. "\x{00f6}" does not map to ascii at /home/fly1800/cpanfly-5.18/var/megalib/ExtUtils/MakeMaker.pm line 1182. Generating a Unix-style Makefile Writing Makefile for Test::YAML Writing MYMETA.yml and MYMETA.json INGY/Test-YAML-1.06.tar.gz /home/fly1800/ap1800-297235/bin/perl-static Makefile.PL -- OK Running make for I/IN/INGY/Test-YAML-1.06.tar.gz >>> make cp lib/Test/YAML.pm blib/lib/Test/YAML.pm cp lib/Test/YAML.pod blib/lib/Test/YAML.pod cp bin/test-yaml blib/script/test-yaml "/home/fly1800/ap1800-297235/bin/perl-static" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/test-yaml Manifying 1 pod document INGY/Test-YAML-1.06.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 "/home/fly1800/ap1800-297235/bin/perl-static" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/release-pod-syntax.t .. skipped: these tests are for release candidate testing Files=1, Tests=0, 0 wallclock secs ( 0.02 usr 0.01 sys + 0.02 cusr 0.00 csys = 0.05 CPU) Result: NOTESTS INGY/Test-YAML-1.06.tar.gz make test TEST_VERBOSE=1 -- OK PPD for Test-YAML-1.06 already made INGY/YAML-Old-1.07.tar.gz Has already been unwrapped into directory /home/fly1800/cpanfly-5.18/var/cpan/build/YAML-Old-1.07-mjagau INGY/YAML-Old-1.07.tar.gz Has already been prepared Running make for I/IN/INGY/YAML-Old-1.07.tar.gz Prepending /home/fly1800/cpanfly-5.18/var/cpan/build/Test-YAML-1.06-ov2S4m/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Test-YAML-1.06-ov2S4m/blib/lib to PERL5LIB for 'make' >>> make cp lib/YAML/Old.pod blib/lib/YAML/Old.pod cp lib/YAML/Old/Tag.pm blib/lib/YAML/Old/Tag.pm cp lib/YAML/Old.pm blib/lib/YAML/Old.pm cp lib/YAML/Old/Loader.pm blib/lib/YAML/Old/Loader.pm cp lib/YAML/Old/Error.pm blib/lib/YAML/Old/Error.pm cp lib/YAML/Old/Mo.pm blib/lib/YAML/Old/Mo.pm cp lib/YAML/Old/Types.pm blib/lib/YAML/Old/Types.pm cp lib/YAML/Old/Loader/Base.pm blib/lib/YAML/Old/Loader/Base.pm cp lib/YAML/Old/Node.pm blib/lib/YAML/Old/Node.pm cp lib/YAML/Old/Marshall.pm blib/lib/YAML/Old/Marshall.pm cp lib/YAML/Old/Dumper/Base.pm blib/lib/YAML/Old/Dumper/Base.pm cp lib/YAML/Old/Dumper.pm blib/lib/YAML/Old/Dumper.pm Manifying 1 pod document INGY/YAML-Old-1.07.tar.gz make -- OK Prepending /home/fly1800/cpanfly-5.18/var/cpan/build/Test-YAML-1.06-ov2S4m/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Test-YAML-1.06-ov2S4m/blib/lib to PERL5LIB for 'test' Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 "/home/fly1800/ap1800-297235/bin/perl-static" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/000-compile-modules.t .. ok 1 - use YAML::Old; ok 2 - use YAML::Old::Error; ok 3 - use YAML::Old::Loader; ok 4 - use YAML::Old::Marshall; ok 5 - use YAML::Old::Types; ok 6 - use YAML::Old::Dumper; ok 7 - use YAML::Old::Node; ok 8 - use YAML::Old::Mo; ok 9 - use YAML::Old::Tag; ok 10 - use YAML::Old::Loader::Base; ok 11 - use YAML::Old::Dumper::Base; 1..11 ok t/2-scalars.t ............ ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 1..10 ok t/basic-tests.t .......... 1..4 ok 1 - A simple map ok 2 - Common String Types ok 3 - Multiple documents ok 4 - Comments ok t/bugs-emailed.t ......... 1..25 ok 1 - Date: Tue, 03 Jan 2006 18:04:56 (n->y) ok 2 - Date: Tue, 03 Jan 2006 18:04:56 (y->n) ok 3 - Date: Wed, 04 Jan 2006 10:23:18 (n->y) ok 4 - Date: Wed, 04 Jan 2006 10:23:18 (y->n) ok 5 - Date: Thu, 3 Mar 2005 14:12:10 (n->y) ok 6 - Date: Thu, 3 Mar 2005 14:12:10 (y->n) ok 7 - Date: Wed, 9 Mar 2005 09:16:19 (n->y) ok 8 - Date: Wed, 9 Mar 2005 09:16:19 (y->n) ok 9 - Date: Fri, 18 Mar 2005 15:08:57 (n->y) ok 10 - Date: Fri, 18 Mar 2005 15:08:57 (y->n) ok 11 - Date: Sun, 20 Mar 2005 16:32:50 ok 12 - Date: Sat, 26 Mar 2005 22:55:55 (n->y) ok 13 - Date: Sat, 26 Mar 2005 22:55:55 (y->n) ok 14 # skip Date: Sun, 8 May 2005 15:42:04 ok 15 - Date: Thu, 12 May 2005 14:57:20 ok 16 - Date: Thu, 09 Jun 2005 18:49:01 (n->y) ok 17 - Date: Thu, 09 Jun 2005 18:49:01 (y->n) ok 18 # skip Date: Mon, 22 Aug 2005 16:52:47 ok 19 # skip Date: Wed, 12 Oct 2005 17:16:48 ok 20 - Date: Mon, 07 Nov 2005 15:49:07 (n->y) ok 21 - Date: Mon, 07 Nov 2005 15:49:07 (y->n) ok 22 - Date: Thu, 24 Nov 2005 10:49:06 (n->y) ok 23 - Date: Thu, 24 Nov 2005 10:49:06 (y->n) ok 24 - Date: Sat, 3 Dec 2005 14:26:23 (n->y) ok 25 - Date: Sat, 3 Dec 2005 14:26:23 (y->n) ok t/bugs-rt.t .............. 1..41 ok 1 # skip Ticket #105-A YAML doesn't serialize odd objects very well ok 2 - Ticket \#105-B YAML doesn't serialize odd objects very well (n->y) ok 3 - Ticket \#105-C YAML doesn't serialize odd objects very well (n->y) ok 4 - Ticket \#105-C YAML doesn't serialize odd objects very well (y->n) ok 5 - Ticket \#105-D YAML doesn't serialize odd objects very well (n->y) ok 6 - Ticket \#105-D YAML doesn't serialize odd objects very well (y->n) ok 7 - Ticket \#105-E YAML doesn't serialize odd objects very well (n->y) ok 8 - Ticket \#105-E YAML doesn't serialize odd objects very well (y->n) ok 9 # skip Ticket #2957 Serializing array-elements with dashes ok 10 # skip Ticket #3015 wish: folding length option for YAML ok 11 - Ticket \#4066 Number vs. string heuristics for dump (n->y) ok 12 - Ticket \#4066 Number vs. string heuristics for dump (y->n) ok 13 # skip Ticket #4784 Can't create YAML::Old::Node from 'REF' ok 14 - Ticket \#4866 Text with embedded newlines (n->y) ok 15 - Ticket \#4866 Text with embedded newlines (y->n) ok 16 - Ticket \#5299 Load(Dump({"hi, world" => 1})) fails (n->y) ok 17 - Ticket \#5299 Load(Dump({"hi, world" => 1})) fails (y->n) ok 18 - Ticket \#5691 Minor doc error in YAML.pod (n->y) ok 19 - Ticket \#5691 Minor doc error in YAML.pod (y->n) ok 20 - Ticket \#6095 Hash keys are not always escaped (n->y) ok 21 - Ticket \#6095 Hash keys are not always escaped (y->n) ok 22 - Ticket \#6139 0.35 can't deserialize blessed scalars (n->y) ok 23 - Ticket \#6139 0.35 can't deserialize blessed scalars (y->n) ok 24 # skip Ticket #7146 scalar with many spaces doesn't round trip ok 25 # skip Ticket #8795 !!perl/code blocks are evaluated in package main ok 26 - Ticket \#8818 YAML::Load fails if the last value in the stream ends with '|' (n->y) ok 27 - Ticket \#8818 YAML::Load fails if the last value in the stream ends with '|' (y->n) ok 28 - Ticket \#12729 < and > need to be quoted ? (n->y) ok 29 - Ticket \#12729 < and > need to be quoted ? (y->n) ok 30 # skip Ticket #12770 YAML crashes when tab used for indenting ok 31 # skip Ticket #12955 DumpCode claims to support a code ref to serialize code, but doesn't ok 32 - Ticket \#12959-a bug - nested inline collections with extra blanks ok 33 - Ticket \#12959-b bug - nested inline collections with extra blanks ok 34 - Ticket \#12959-c bug - nested inline collections with extra blanks ok 35 - Ticket \#12959-d bug - nested inline collections with extra blanks ok 36 # skip Ticket #13016 Plain Multiline Support ok 37 - \#13500 Load(Dump("|foo")) fails (n->y) ok 38 - \#13500 Load(Dump("|foo")) fails (y->n) ok 39 # skip Ticket #13510 Another roundtrip fails ok 40 - Ticket \#14938 Load(Dump(">=")) fails (n->y) ok 41 - Ticket \#14938 Load(Dump(">=")) fails (y->n) ok t/changes.t .............. 1..1 ok 1 # skip Can't parse Changes file yet :( ok t/dump-basics.t .......... 1..7 ok 1 - A map ok 2 - A list ok 3 - A List of maps ok 4 - A map of lists ok 5 - Top level scalar ok 6 - Top level literal scalar ok 7 - Single Dash ok t/dump-blessed.t ......... 1..2 ok 1 - Object class handles marshalling (n->y) ok 2 - Object class handles marshalling (y->n) ok t/dump-code.t ............ 1..7 ok 1 - a code ref (n->y) ok 2 - a code ref (y->n) ok 3 - an array of the same code ref (n->y) ok 4 - an array of the same code ref (y->n) ok 5 - dummy code ref (n->y) ok 6 - dummy code ref (y->n) ok 7 - blessed code ref (n->y) ok t/dump-file-utf8.t ....... 1..6 ok 1 - DumpFile exported ok 2 - LoadFile exported ok 3 - Test source is correctly encoded ok 4 - Output file exists ok 5 - DumpFile YAML encoding is correct ok 6 - LoadFile is ok ok t/dump-file.t ............ 1..3 ok 1 - Dumpfile exported ok 2 - Output file exists ok 3 - DumpFile YAML is correct ok t/dump-nested.t .......... 1..20 ok 1 - (n->y) ok 2 - (y->n) ok 3 - (n->y) ok 4 - (y->n) ok 5 - (n->y) ok 6 - (y->n) ok 7 - (n->y) ok 8 - (y->n) ok 9 - (n->y) ok 10 - (y->n) ok 11 - (n->y) ok 12 - (y->n) ok 13 - (n->y) ok 14 - (y->n) ok 15 - (n->y) ok 16 - (y->n) ok 17 - (n->y) ok 18 - (y->n) ok 19 - (n->y) ok 20 - (y->n) ok t/dump-opts.t ............ 1..19 ok 1 - (n->y) ok 2 - (y->n) ok 3 - (n->y) ok 4 - (n->y) ok 5 - (y->n) ok 6 - (n->y) ok 7 - (y->n) ok 8 - (n->y) ok 9 - (y->n) ok 10 - (n->y) ok 11 - (y->n) ok 12 - (n->y) ok 13 - (y->n) ok 14 - (n->y) ok 15 - (y->n) ok 16 - (n->y) ok 17 - (y->n) ok 18 - (n->y) ok 19 - (y->n) ok t/dump-perl-types-512.t .. skipped: test only for perls before v5.13.5-11-gfb85c04 t/dump-perl-types-514.t .. 1..2 ok 1 - Regular Expression ok 2 - Regular Expression with newline ok t/dump-perl-types.t ...... 1..14 ok 1 - Scalar ok 2 - Hash ok 3 - Array ok 4 - Code ok 5 - Scalar Reference ok 6 - Scalar Glob ok 7 - Array Glob ok 8 - Code Glob ok 9 - Blessed Empty Hash ok 10 - Blessed Populated Hash ok 11 - Blessed Empty Array ok 12 - Blessed Populated Array ok 13 - Blessed Empty String ok 14 - Blessed Populated String ok t/dump-stringify.t ....... 1..6 ok 1 - Global stringification default dump ok 2 - Global stringification enabled dump ok 3 - Global stringification disabled dump ok 4 - Local stringification default dump ok 5 - Local stringification enabled dump ok 6 - Local stringification disabled dump ok t/dump-synopsis.t ........ 1..1 ok 1 - Basic YAML::Old::Dumper usage worked as expected ok t/dump-tests-512.t ....... skipped: test only for perls before v5.13.5-11-gfb85c04 t/dump-tests-514.t ....... 1..1 ok 1 - (n->y) ok t/dump-tests.t ........... 1..57 ok 1 - (n->y) ok 2 - (y->n) ok 3 - (n->y) ok 4 - (y->n) ok 5 - (n->y) ok 6 - (y->n) ok 7 - (n->y) ok 8 - (y->n) ok 9 - (n->y) ok 10 - (y->n) ok 11 - (n->y) ok 12 - (y->n) ok 13 - (n->y) ok 14 - (y->n) ok 15 - (n->y) ok 16 - (y->n) ok 17 - (n->y) ok 18 - (y->n) ok 19 - (n->y) ok 20 - (y->n) ok 21 - (n->y) ok 22 - (y->n) ok 23 - (n->y) ok 24 - (y->n) ok 25 - (n->y) ok 26 - Strings with nulls (n->y) ok 27 - Strings with nulls (y->n) ok 28 - (n->y) ok 29 - (n->y) ok 30 - (y->n) ok 31 - (n->y) ok 32 - (y->n) ok 33 - (n->y) ok 34 - (y->n) ok 35 - (n->y) ok 36 - (n->y) ok 37 - (n->y) ok 38 - (n->y) ok 39 - (n->y) ok 40 - (y->n) ok 41 - (n->y) ok 42 - (y->n) ok 43 - (n->y) ok 44 - (y->n) ok 45 - (n->y) ok 46 - (y->n) ok 47 - (n->y) ok 48 - (y->n) ok 49 - (n->y) ok 50 - (y->n) ok 51 - (n->y) ok 52 - (y->n) ok 53 - (n->y) ok 54 - (n->y) ok 55 - (n->y) ok 56 - (n->y) ok 57 - (y->n) ok t/dump-works.t ........... ok 1 - A one key hash 1..1 ok t/errors.t ............... 1..35 ok 1 - YAML_PARSE_ERR_BAD_CHARS ok 2 - YAML_PARSE_ERR_NO_FINAL_NEWLINE ok 3 - YAML_PARSE_ERR_BAD_MAJOR_VERSION ok 4 - YAML_PARSE_WARN_BAD_MINOR_VERSION ok 5 - YAML_PARSE_WARN_MULTIPLE_DIRECTIVES ok 6 - YAML_PARSE_ERR_TEXT_AFTER_INDICATOR ok 7 - YAML_PARSE_ERR_NO_ANCHOR ok 8 - YAML_PARSE_ERR_INCONSISTENT_INDENTATION ok 9 - YAML_PARSE_ERR_SINGLE_LINE ok 10 - YAML_PARSE_ERR_BAD_ANCHOR ok 11 - YAML_PARSE_ERR_MANY_EXPLICIT ok 12 - YAML_PARSE_ERR_MANY_IMPLICIT ok 13 - YAML_PARSE_ERR_MANY_ANCHOR ok 14 - YAML_PARSE_ERR_ANCHOR_ALIAS ok 15 - YAML_PARSE_ERR_BAD_ALIAS ok 16 - YAML_PARSE_ERR_MANY_ALIAS ok 17 - YAML_LOAD_ERR_NO_DEFAULT_VALUE ok 18 - YAML_LOAD_ERR_BAD_MAP_ELEMENT ok 19 - YAML_LOAD_WARN_DUPLICATE_KEY ok 20 - YAML_LOAD_ERR_BAD_SEQ_ELEMENT ok 21 - YAML_PARSE_ERR_INLINE_MAP ok 22 - YAML_PARSE_ERR_INLINE_SEQUENCE ok 23 - YAML_PARSE_ERR_BAD_DOUBLE ok 24 - YAML_PARSE_ERR_BAD_SINGLE ok 25 - YAML_PARSE_ERR_BAD_INLINE_IMPLICIT ok 26 - YAML_PARSE_ERR_BAD_IMPLICIT ok 27 - YAML_PARSE_ERR_INCONSISTENT_INDENTATION ok 28 - YAML_LOAD_WARN_GLOB_NAME ok 29 - YAML_LOAD_WARN_BAD_GLOB_ELEM ok 30 - YAML_PARSE_ERR_ZERO_INDENT ok 31 - YAML_LOAD_ERR_FILE_INPUT ok 32 - YAML_DUMP_ERR_FILE_OUTPUT ok 33 - YAML_DUMP_ERR_NO_HEADER ok 34 - YAML_DUMP_ERR_NO_HEADER ok 35 - YAML_DUMP_ERR_NO_HEADER ok t/export.t ............... 1..3 ok 1 - Dump() is exported ok 2 - Load() is exported ok 3 - Store() is not exported ok t/freeze-thaw.t .......... 1..9 ok 1 - Dump exported ok 2 - Load exported ok 3 - freeze exported ok 4 - thaw exported ok 5 - freeze works ok 6 - freeze produces same thing as Dump ok 7 - thaw produces same thing as Load ok 8 - freeze/thaw makes a clone ok 9 - Melted object really is a hash ok t/global-api.t ........... 1..4 ok 1 - Dump got to the business end ok 2 - Load got to the business end ok 3 - YAML::Old::Dump got to the business end ok 4 - YAML::Old::Load got to the business end ok t/inbox.t ................ 1..3 ok 1 # skip fix this next release ok 2 # skip fix this next release ok 3 # skip fix this next release ok t/load-fails.t ........... 1..4 ok 1 ok 2 ok 3 ok 4 ok t/load-passes.t .......... 1..8 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok t/load-slides.t .......... 1..28 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 ok 14 ok 15 ok 16 ok 17 ok 18 ok 19 ok 20 ok 21 ok 22 ok 23 ok 24 ok 25 ok 26 ok 27 ok 28 ok t/load-spec.t ............ 1..52 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 ok 14 ok 15 ok 16 ok 17 ok 18 ok 19 ok 20 ok 21 ok 22 ok 23 ok 24 ok 25 ok 26 ok 27 ok 28 ok 29 ok 30 ok 31 ok 32 ok 33 ok 34 ok 35 ok 36 ok 37 ok 38 ok 39 ok 40 ok 41 ok 42 ok 43 ok 44 ok 45 ok 46 ok 47 ok 48 ok 49 ok 50 ok 51 ok 52 ok t/load-tests.t ........... 1..28 ok 1 - a yaml error log ok 2 - comments and some top level documents ok 3 - an array of assorted junk ok 4 - a bunch of small top level thingies ok 5 - a headerless sequence and a map ok 6 - comments in various places ok 7 - several docs, some empty ok 8 - a perl reference to a scalar ok 9 - date loading ok 10 - sequence with trailing comment ok 11 - a simple literal block ok 12 - an unchomped literal ok 13 - a chomped literal ok 14 - assorted numerics ok 15 - an empty string top level doc ok 16 - an array of various undef ok 17 - !!perl/array ok 18 - !!perl/array: ok 19 - !!perl/array:moose ok 20 - foo ok 21 - foo ok 22 - foo ok 23 - foo ok 24 - foo ok 25 - foo ok 26 - foo ok 27 - foo ok 28 - foo ok t/load-works.t ........... ok 1 - A one key hash 1..1 ok t/marshall.t ............. 1..10 ok 1 - Serialize a hash object as a sequence (n->y) ok 2 - Serialize a hash object as a sequence (y->n) ok 3 - Use a non-standard tag (n->y) ok 4 - Use a non-standard tag (y->n) ok 5 - super calls to mixins work (n->y) ok 6 - super calls to mixins work (y->n) ok 7 - yaml_dump doesn't mutate original hash (n->y) ok 8 - first key exists ok 9 - second key exists ok 10 - extra key not added ok t/node-info.t ............ 1..16 ok 1 - Hash Ref ok 2 - Array Ref ok 3 - Scalar ok 4 - Scalar Ref ok 5 - Scalar Ref Ref ok 6 - Code Ref ok 7 - Code Ref Ref ok 8 - Glob ok 9 - Regular Expression ok 10 - Blessed Hash Ref ok 11 - Blessed Array Ref ok 12 - Blessed Scalar Ref ok 13 - Blessed Code Ref ok 14 - Blessed Glob ok 15 - Not Stringified Hash Object ok 16 - Stringified Hash Object ok t/pugs-objects.t ......... 1..2 ok 1 - Turn Perl object to Pugs object (n->y) ok 2 - Turn Perl object to Pugs object (y->n) ok t/references.t ........... 1..10 ok 1 - A scalar ref (n->y) ok 2 - A scalar ref (y->n) ok 3 - A ref to a scalar ref (n->y) ok 4 - A ref to a scalar ref (y->n) ok 5 - A ref to a ref to a scalar ref (n->y) ok 6 - A ref to a ref to a scalar ref (y->n) ok 7 - A blessed container reference (n->y) ok 8 - A blessed container reference (y->n) ok 9 - A blessed scalar reference (n->y) ok 10 - A blessed scalar reference (y->n) ok t/regexp.t ............... 1..11 ok 1 - Regexps load ok 2 - Regexps dump ok 3 - The regexp is a Regexp ok 4 - The regexp works ok 5 - Regexps load ok 6 - The regexp is a Classy :( ok 7 - The regexp works ok 8 - Regexps load ok 9 - Regexps dump ok 10 - The regexp is a Regexp ok 11 - The regexp works ok t/release-pod-syntax.t ... skipped: these tests are for release candidate testing Out of memory! # Looks like your test exited with 1 before it could output anything. t/rt-90593.t ............. 1..2 Dubious, test returned 1 (wstat 256, 0x100) Failed 2/2 subtests t/svk.t .................. 1..3 ok 1 - loaded svk file is a hash ok 2 - at least first two lines of file are right ok 3 - svk data roundtrips! ok t/test.t ................. 1..1 ok 1 - TestYAML framework loads ok Test Summary Report ------------------- t/rt-90593.t (Wstat: 256 Tests: 0 Failed: 0) Non-zero exit status: 1 Parse errors: Bad plan. You planned 2 tests but ran 0. Files=42, Tests=466, 7 wallclock secs ( 0.15 usr 0.06 sys + 6.77 cusr 0.81 csys = 7.79 CPU) Result: FAIL Failed 1/42 test programs. 0/466 subtests failed. make: *** [test_dynamic] Error 255 INGY/YAML-Old-1.07.tar.gz make test TEST_VERBOSE=1 -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports INGY/YAML-Old-1.07.tar.gz Running test for module 'Progress::Any::Output::TermProgressBarColor' Prepending /home/fly1800/cpanfly-5.18/var/cpan/build/Test-YAML-1.06-ov2S4m/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Test-YAML-1.06-ov2S4m/blib/lib to PERL5LIB for 'get' Checksum for /home/fly1800/cpanfly-5.18/var/cpan/sources/authors/id/P/PE/PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.21.tar.gz ok Progress-Any-Output-TermProgressBarColor-0.21/ Progress-Any-Output-TermProgressBarColor-0.21/Changes Progress-Any-Output-TermProgressBarColor-0.21/LICENSE Progress-Any-Output-TermProgressBarColor-0.21/MANIFEST Progress-Any-Output-TermProgressBarColor-0.21/lib/ Progress-Any-Output-TermProgressBarColor-0.21/lib/Progress/ Progress-Any-Output-TermProgressBarColor-0.21/lib/Progress/Any/ Progress-Any-Output-TermProgressBarColor-0.21/lib/Progress/Any/Output/ Progress-Any-Output-TermProgressBarColor-0.21/lib/Progress/Any/Output/TermProgressBarColor.pm Progress-Any-Output-TermProgressBarColor-0.21/README Progress-Any-Output-TermProgressBarColor-0.21/META.json Progress-Any-Output-TermProgressBarColor-0.21/Makefile.PL Progress-Any-Output-TermProgressBarColor-0.21/dist.ini Progress-Any-Output-TermProgressBarColor-0.21/t/ Progress-Any-Output-TermProgressBarColor-0.21/t/release-rinci.t Progress-Any-Output-TermProgressBarColor-0.21/t/release-pod-coverage.t Progress-Any-Output-TermProgressBarColor-0.21/t/00-compile.t Progress-Any-Output-TermProgressBarColor-0.21/t/01-basic.t Progress-Any-Output-TermProgressBarColor-0.21/t/release-pod-syntax.t Progress-Any-Output-TermProgressBarColor-0.21/weaver.ini Progress-Any-Output-TermProgressBarColor-0.21/META.yml Prepending /home/fly1800/cpanfly-5.18/var/cpan/build/Test-YAML-1.06-ov2S4m/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Test-YAML-1.06-ov2S4m/blib/lib to PERL5LIB for 'prepare' Configuring P/PE/PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.21.tar.gz with Makefile.PL >>> /home/fly1800/ap1800-297235/bin/perl-static Makefile.PL Checking if your kit is complete... Looks good Have /home/fly1800/cpanfly-5.18/var/megalib Want /home/fly1800/ap1800-297235/lib Your perl and your Config.pm seem to have different ideas about the architecture they are running on. Perl thinks: [megalib] Config says: [i686-linux-thread-multi-64int] This may or may not cause problems. Please check your installation of perl if you have problems building this extension. Generating a Unix-style Makefile Writing Makefile for Progress::Any::Output::TermProgressBarColor Writing MYMETA.yml and MYMETA.json PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.21.tar.gz /home/fly1800/ap1800-297235/bin/perl-static Makefile.PL -- OK Running make for P/PE/PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.21.tar.gz Prepending /home/fly1800/cpanfly-5.18/var/cpan/build/Test-YAML-1.06-ov2S4m/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Test-YAML-1.06-ov2S4m/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.21.tar.gz make -- OK Prepending /home/fly1800/cpanfly-5.18/var/cpan/build/Test-YAML-1.06-ov2S4m/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Test-YAML-1.06-ov2S4m/blib/lib to PERL5LIB for 'test' Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 "/home/fly1800/ap1800-297235/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. # ' 10% []1s left ' # doesn't match '(?^:foo)' # Looks like you failed 1 test of 2. # Failed test 'default' # at t/01-basic.t line 20. # Failed test at t/01-basic.t line 28. # 'Use of uninitialized value $cd in numeric ge (>=) at /home/fly1800/cpanfly-5.18/var/megalib/Color/ANSI/Util.pm line 281. # Use of uninitialized value $cd in numeric ge (>=) at /home/fly1800/cpanfly-5.18/var/megalib/Color/ANSI/Util.pm line 283. # Use of uninitialized value $cd in numeric ge (>=) at /home/fly1800/cpanfly-5.18/var/megalib/Color/ANSI/Util.pm line 281. # Use of uninitialized value $cd in numeric ge (>=) at /home/fly1800/cpanfly-5.18/var/megalib/Color/ANSI/Util.pm line 283. #  20% []1s left ' # doesn't match '(?^:foo)' # Looks like you failed 1 test of 2. # Failed test 'fh option' # at t/01-basic.t line 30. # Failed test at t/01-basic.t line 41. # ' 30% []1s left ' # doesn't match '(?^:foo)' # Looks like you failed 1 test of 2. # Failed test 'default (wide)' # at t/01-basic.t line 43. # Looks like you failed 3 tests of 3. t/01-basic.t .............. # Subtest: default not ok 1 ok 2 1..2 not ok 1 - default # Subtest: fh option not ok 1 ok 2 1..2 not ok 2 - fh option # Subtest: default (wide) not ok 1 ok 2 1..2 not ok 3 - default (wide) 1..3 Dubious, test returned 3 (wstat 768, 0x300) Failed 3/3 subtests t/release-pod-coverage.t .. skipped: these tests are for release candidate testing t/release-pod-syntax.t .... skipped: these tests are for release candidate testing t/release-rinci.t ......... skipped: these tests are for release candidate testing Test Summary Report ------------------- t/01-basic.t (Wstat: 768 Tests: 3 Failed: 3) Failed tests: 1-3 Non-zero exit status: 3 Files=5, Tests=4, 0 wallclock secs ( 0.03 usr 0.01 sys + 0.29 cusr 0.05 csys = 0.38 CPU) Result: FAIL Failed 1/5 test programs. 3/4 subtests failed. make: *** [test_dynamic] Error 255 PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.21.tar.gz make test TEST_VERBOSE=1 -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.21.tar.gz PERLANCAR/Perinci-CmdLine-Lite-1.50.tar.gz Has already been unwrapped into directory /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-CmdLine-Lite-1.50-DrDdVP PERLANCAR/Perinci-CmdLine-Lite-1.50.tar.gz Has already been prepared Running make for P/PE/PERLANCAR/Perinci-CmdLine-Lite-1.50.tar.gz Prepending /home/fly1800/cpanfly-5.18/var/cpan/build/Test-YAML-1.06-ov2S4m/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Test-YAML-1.06-ov2S4m/blib/lib to PERL5LIB for 'make' Warning: Prerequisite 'Progress::Any::Output::TermProgressBarColor => 0.17' for 'PERLANCAR/Perinci-CmdLine-Lite-1.50.tar.gz' failed when processing 'PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.21.tar.gz' with 'make_test => NO'. Continuing, but chances to succeed are limited. Warning: Prerequisite 'YAML::Old => 0' for 'PERLANCAR/Perinci-CmdLine-Lite-1.50.tar.gz' failed when processing 'INGY/YAML-Old-1.07.tar.gz' with 'make_test => NO'. Continuing, but chances to succeed are limited. >>> make cp share/templates/synopsis.txt blib/lib/auto/share/dist/Perinci-CmdLine-Lite/templates/synopsis.txt cp share/templates/description.txt blib/lib/auto/share/dist/Perinci-CmdLine-Lite/templates/description.txt cp lib/Perinci/CmdLine/Lite.pm blib/lib/Perinci/CmdLine/Lite.pm 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 Manifying 3 pod documents PERLANCAR/Perinci-CmdLine-Lite-1.50.tar.gz make -- OK Prepending /home/fly1800/cpanfly-5.18/var/cpan/build/Test-YAML-1.06-ov2S4m/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Test-YAML-1.06-ov2S4m/blib/lib to PERL5LIB for 'test' Running make test >>> make test TEST_VERBOSE=1 Skip blib/lib/auto/share/dist/Perinci-CmdLine-Lite/templates/synopsis.txt (unchanged) Skip blib/lib/auto/share/dist/Perinci-CmdLine-Lite/templates/description.txt (unchanged) PERL_DL_NONLAZY=1 "/home/fly1800/ap1800-297235/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/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 179. # got: '200' # expected: '0' # Script's stdout: # Script's stderr: <> # Failed test 'stdout_like' # at /home/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 192. # 'cli1XsVH2aX: 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/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # BEGIN failed--compilation aborted at /home/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # Compilation failed in require at /home/fly1800/cpanfly-5.18/var/megalib/Perinci/Access/Lite.pm line 62. # ' # doesn't match '(?^:wet)' # Looks like you failed 2 tests of 2. # Failed test 'dry-run (via env, 0)' # at /home/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 225. # Failed test 'exit_code' # at /home/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 179. # got: '200' # expected: '0' # Script's stdout: # Script's stderr: <> # Failed test 'stdout_like' # at /home/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 192. # 'cliGjuBW9g9: 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/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # BEGIN failed--compilation aborted at /home/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # Compilation failed in require at /home/fly1800/cpanfly-5.18/var/megalib/Perinci/Access/Lite.pm line 62. # ' # doesn't match '(?^:dry)' # Looks like you failed 2 tests of 2. # Failed test 'dry-run (via env, 1)' # at /home/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 225. # Failed test 'exit_code' # at /home/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 179. # got: '200' # expected: '0' # Script's stdout: # Script's stderr: <> # Failed test 'stdout_like' # at /home/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 192. # 'clippS_IvUS: 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/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # BEGIN failed--compilation aborted at /home/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # Compilation failed in require at /home/fly1800/cpanfly-5.18/var/megalib/Perinci/Access/Lite.pm line 62. # ' # doesn't match '(?^:dry)' # Looks like you failed 2 tests of 2. # Failed test 'dry-run (via cmdline opt)' # at /home/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 225. # Looks like you failed 3 tests of 4. # Failed test 'dry-run' # at /home/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 292. # Failed test 'exit_code' # at /home/fly1800/cpanfly-5.18/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/fly1800/cpanfly-5.18/var/megalib/Perinci/Sub/Complete.pm line 13. # BEGIN failed--compilation aborted at /home/fly1800/cpanfly-5.18/var/megalib/Perinci/Sub/Complete.pm line 13. # Compilation failed in require at /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-CmdLine-Lite-1.50-DrDdVP/blib/lib/Perinci/CmdLine/Base.pm line 543. # > # Failed test 'answer' # at /home/fly1800/cpanfly-5.18/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/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 225. # Failed test 'exit_code' # at /home/fly1800/cpanfly-5.18/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/fly1800/cpanfly-5.18/var/megalib/Perinci/Sub/Complete.pm line 13. # BEGIN failed--compilation aborted at /home/fly1800/cpanfly-5.18/var/megalib/Perinci/Sub/Complete.pm line 13. # Compilation failed in require at /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-CmdLine-Lite-1.50-DrDdVP/blib/lib/Perinci/CmdLine/Base.pm line 543. # > # Failed test 'answer' # at /home/fly1800/cpanfly-5.18/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/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 225. # Failed test 'exit_code' # at /home/fly1800/cpanfly-5.18/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/fly1800/cpanfly-5.18/var/megalib/Perinci/Sub/Complete.pm line 13. # BEGIN failed--compilation aborted at /home/fly1800/cpanfly-5.18/var/megalib/Perinci/Sub/Complete.pm line 13. # Compilation failed in require at /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-CmdLine-Lite-1.50-DrDdVP/blib/lib/Perinci/CmdLine/Base.pm line 543. # > # Failed test 'answer' # at /home/fly1800/cpanfly-5.18/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/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 225. # Looks like you failed 3 tests of 4. # Failed test 'completion' # at /home/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 292. # Failed test 'exit_code' # at /home/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 179. # got: '200' # expected: '0' # Script's stdout: # Script's stderr: <> # Failed test 'stdout_like' # at /home/fly1800/cpanfly-5.18/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/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # BEGIN failed--compilation aborted at /home/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # Compilation failed in require at /home/fly1800/cpanfly-5.18/var/megalib/Perinci/Access/Lite.pm line 62. # ' # doesn't match '(?^s:^6$)' # Looks like you failed 2 tests of 2. # Failed test 'env read' # at /home/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 225. # Failed test 'exit_code' # at /home/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 179. # got: '200' # expected: '0' # Script's stdout: # Script's stderr: <> # Failed test 'stdout_like' # at /home/fly1800/cpanfly-5.18/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/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # BEGIN failed--compilation aborted at /home/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # Compilation failed in require at /home/fly1800/cpanfly-5.18/var/megalib/Perinci/Access/Lite.pm line 62. # ' # doesn't match '(?^s:^3$)' # Looks like you failed 2 tests of 2. # Failed test 'turned off via --no-env' # at /home/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 225. # Failed test 'exit_code' # at /home/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 179. # got: '200' # expected: '0' # Script's stdout: # Script's stderr: <> # Failed test 'stdout_like' # at /home/fly1800/cpanfly-5.18/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/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # BEGIN failed--compilation aborted at /home/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # Compilation failed in require at /home/fly1800/cpanfly-5.18/var/megalib/Perinci/Access/Lite.pm line 62. # ' # doesn't match '(?^s:^18$)' # Looks like you failed 2 tests of 2. # Failed test 'attr:env_name' # at /home/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 225. # Looks like you failed 3 tests of 4. # Failed test 'env' # at /home/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 292. # Failed test 'exit_code' # at /home/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 179. # got: '200' # expected: '0' # Script's stdout: # Script's stderr: <> # Failed test 'stdout_like' # at /home/fly1800/cpanfly-5.18/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/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # BEGIN failed--compilation aborted at /home/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # Compilation failed in require at /home/fly1800/cpanfly-5.18/var/megalib/Perinci/Access/Lite.pm line 62. # ' # 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/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 225. # Failed test 'exit_code' # at /home/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 179. # got: '200' # expected: '0' # Script's stdout: # Script's stderr: <> # Failed test 'stdout_like' # at /home/fly1800/cpanfly-5.18/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/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # BEGIN failed--compilation aborted at /home/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # Compilation failed in require at /home/fly1800/cpanfly-5.18/var/megalib/Perinci/Access/Lite.pm line 62. # ' # doesn't match '(?^:^a=104\nb=\nc=\nd=\ne=$)' # Looks like you failed 2 tests of 2. # Failed test 'attr:config_filename' # at /home/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 225. # Failed test 'exit_code' # at /home/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 179. # got: '200' # expected: '0' # Script's stdout: # Script's stderr: <> # Failed test 'stdout_like' # at /home/fly1800/cpanfly-5.18/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/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # BEGIN failed--compilation aborted at /home/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # Compilation failed in require at /home/fly1800/cpanfly-5.18/var/megalib/Perinci/Access/Lite.pm line 62. # ' # doesn't match '(?^:^a=\nb=\nc=\nd=\ne=$)' # Looks like you failed 2 tests of 2. # Failed test 'common option: --no-config' # at /home/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 225. # Failed test 'exit_code' # at /home/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 179. # got: '200' # expected: '0' # Script's stdout: # Script's stderr: <> # Failed test 'stdout_like' # at /home/fly1800/cpanfly-5.18/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/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # BEGIN failed--compilation aborted at /home/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # Compilation failed in require at /home/fly1800/cpanfly-5.18/var/megalib/Perinci/Access/Lite.pm line 62. # ' # 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/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 225. # Failed test 'exit_code' # at /home/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 179. # got: '200' # expected: '0' # Script's stdout: # Script's stderr: <> # Failed test 'stdout_like' # at /home/fly1800/cpanfly-5.18/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/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # BEGIN failed--compilation aborted at /home/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # Compilation failed in require at /home/fly1800/cpanfly-5.18/var/megalib/Perinci/Access/Lite.pm line 62. # ' # 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/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 225. # Failed test 'exit_code' # at /home/fly1800/cpanfly-5.18/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/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 225. # Failed test 'exit_code' # at /home/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 179. # got: '200' # expected: '0' # Script's stdout: # Script's stderr: <> # Failed test 'stdout_like' # at /home/fly1800/cpanfly-5.18/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/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # BEGIN failed--compilation aborted at /home/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # Compilation failed in require at /home/fly1800/cpanfly-5.18/var/megalib/Perinci/Access/Lite.pm line 62. # ' # 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/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 225. # Failed test 'exit_code' # at /home/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 179. # got: '200' # expected: '0' # Script's stdout: # Script's stderr: <> # Failed test 'stdout_like' # at /home/fly1800/cpanfly-5.18/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/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # BEGIN failed--compilation aborted at /home/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # Compilation failed in require at /home/fly1800/cpanfly-5.18/var/megalib/Perinci/Access/Lite.pm line 62. # ' # doesn't match '(?^:^a=102\nb=201\nc=201\nd=\ne=$)' # Looks like you failed 2 tests of 2. # Failed test 'subcommand' # at /home/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 225. # Failed test 'exit_code' # at /home/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 179. # got: '200' # expected: '0' # Script's stdout: # Script's stderr: <> # Failed test 'stdout_like' # at /home/fly1800/cpanfly-5.18/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/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # BEGIN failed--compilation aborted at /home/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # Compilation failed in require at /home/fly1800/cpanfly-5.18/var/megalib/Perinci/Access/Lite.pm line 62. # ' # 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/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 225. # Failed test 'exit_code' # at /home/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 179. # got: '200' # expected: '0' # Script's stdout: # Script's stderr: <> # Failed test 'stdout_like' # at /home/fly1800/cpanfly-5.18/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/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # BEGIN failed--compilation aborted at /home/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # Compilation failed in require at /home/fly1800/cpanfly-5.18/var/megalib/Perinci/Access/Lite.pm line 62. # ' # 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/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 225. # Failed test 'exit_code' # at /home/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 179. # got: '200' # expected: '0' # Script's stdout: # Script's stderr: <> # Failed test 'stdout_like' # at /home/fly1800/cpanfly-5.18/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/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # BEGIN failed--compilation aborted at /home/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # Compilation failed in require at /home/fly1800/cpanfly-5.18/var/megalib/Perinci/Access/Lite.pm line 62. # ' # doesn't match '(?^:^0$)' # Looks like you failed 2 tests of 2. # Failed test 'array-ify if argument is array' # at /home/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 225. # Failed test 'exit_code' # at /home/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 179. # got: '200' # expected: '0' # Script's stdout: # Script's stderr: <> # Failed test 'stdout_like' # at /home/fly1800/cpanfly-5.18/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/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # BEGIN failed--compilation aborted at /home/fly1800/cpanfly-5.18/var/megalib/Perinci/Examples.pm line 13. # Compilation failed in require at /home/fly1800/cpanfly-5.18/var/megalib/Perinci/Access/Lite.pm line 62. # ' # 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/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 225. # Looks like you failed 12 tests of 13. # Failed test 'config file' # at /home/fly1800/cpanfly-5.18/var/megalib/Test/Perinci/CmdLine.pm line 292. # there are failing tests, not deleting tempdir /tmp/VxU0vlSdn5 # Looks like you failed 4 tests of 17. t/suite.t ................ # Subtest: help action ok 1 - dummy # Subtest: --help # Generated CLI script at /tmp/VxU0vlSdn5/cliEHRCfThi # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cliEHRCfThi', # '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/VxU0vlSdn5/cli7gTu3fq2 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cli7gTu3fq2', # '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/VxU0vlSdn5/cliYV3EXAZl # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cliYV3EXAZl', # '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/VxU0vlSdn5/cligSdMeNxU # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cligSdMeNxU', # '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/VxU0vlSdn5/cliCwjIEzmN # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cliCwjIEzmN', # '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/VxU0vlSdn5/cli_euCmnAF # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cli_euCmnAF', # '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/VxU0vlSdn5/clichSRNZnX # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/clichSRNZnX', # '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/VxU0vlSdn5/cliOa5EzouC # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'default_subcommand' => 'noop', # 'output_file' => '/tmp/VxU0vlSdn5/cliOa5EzouC', # '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/VxU0vlSdn5/clihAoMzB9A # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'default_subcommand' => 'odd_even', # 'output_file' => '/tmp/VxU0vlSdn5/clihAoMzB9A', # '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/VxU0vlSdn5/cliRJWEuT9O # 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/VxU0vlSdn5/cliRJWEuT9O', # '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/VxU0vlSdn5/cliXt6AnVYS # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cliXt6AnVYS', # '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/VxU0vlSdn5/clicOuQnjdl # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/clicOuQnjdl', # '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/VxU0vlSdn5/cli2yG7eAD6 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cli2yG7eAD6', # '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/VxU0vlSdn5/cliwCbiCIfJ # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cliwCbiCIfJ', # '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/VxU0vlSdn5/cli70h57gg2 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cli70h57gg2', # '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/VxU0vlSdn5/clidA4m26cr # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/clidA4m26cr', # '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/VxU0vlSdn5/cliFZ7G4GsM # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'default_subcommand' => 'noop', # 'output_file' => '/tmp/VxU0vlSdn5/cliFZ7G4GsM', # '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/VxU0vlSdn5/clihyNQwGXV # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/clihyNQwGXV', # '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/VxU0vlSdn5/cliYtGnCuMG # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cliYtGnCuMG', # '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/VxU0vlSdn5/cliYR0CtkKT # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cliYR0CtkKT', # '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/VxU0vlSdn5/cliU8VUYUx1 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cliU8VUYUx1', # '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/VxU0vlSdn5/cliZzVWQyJB # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cliZzVWQyJB', # '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/VxU0vlSdn5/cli_YpFIztm # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cli_YpFIztm', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file' # } # argv: [ # '--a1', # '/tmp/VxU0vlSdn5/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/VxU0vlSdn5/clilMkwr4BA # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/clilMkwr4BA', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file' # } # argv: [ # '--json', # '--a1', # '/tmp/VxU0vlSdn5/infile1' # ] # Script's stdout: <["200","OK","a1=foo\na2=[]",{"func.args":{"-cmdline_src_a1":"file","-cmdline_srcfilenames_a1":["/tmp/VxU0vlSdn5/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/VxU0vlSdn5/clibYKIlxlT # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/clibYKIlxlT', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file' # } # argv: [ # '--a1', # '/tmp/VxU0vlSdn5/infile1', # '--a2', # '/tmp/VxU0vlSdn5/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/VxU0vlSdn5/cliwXerPnpn # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cliwXerPnpn', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file' # } # argv: [ # '--json', # '--a1', # '/tmp/VxU0vlSdn5/infile1', # '--a2', # '/tmp/VxU0vlSdn5/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/VxU0vlSdn5/infile1"],"-cmdline_srcfilenames_a2":["/tmp/VxU0vlSdn5/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/VxU0vlSdn5/cliczGUEoX4 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cliczGUEoX4', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file' # } # argv: [ # '--a1', # '/tmp/VxU0vlSdn5/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/VxU0vlSdn5/cliSjkI6vGg # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cliSjkI6vGg', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file' # } # argv: [ # '--a2', # '/tmp/VxU0vlSdn5/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/VxU0vlSdn5/cliuXobzjBt # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cliuXobzjBt', # '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/VxU0vlSdn5/clitu1_rpt4 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/clitu1_rpt4', # '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/VxU0vlSdn5/cligAV1e7Ov # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cligAV1e7Ov', # '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/VxU0vlSdn5/cliKNgIDXak # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cliKNgIDXak', # '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/VxU0vlSdn5/cli9ftIqlhT # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cli9ftIqlhT', # '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/VxU0vlSdn5/clic9_KWfcO # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/clic9_KWfcO', # '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/VxU0vlSdn5/cliEkhhkZM0 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cliEkhhkZM0', # '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/VxU0vlSdn5/cli_LymMaAC # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cli_LymMaAC', # '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/VxU0vlSdn5/clibesPn9ue # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/clibesPn9ue', # '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/VxU0vlSdn5/cliGljN13x6 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cliGljN13x6', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_file_str' # } # argv: [ # '/tmp/VxU0vlSdn5/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/VxU0vlSdn5/clirnvJ3XrQ # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/clirnvJ3XrQ', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_file_str' # } # argv: [ # '/tmp/VxU0vlSdn5/infile1', # '/tmp/VxU0vlSdn5/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/VxU0vlSdn5/cliVKDKlDVH # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cliVKDKlDVH', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_file_str' # } # argv: [ # '--json', # '/tmp/VxU0vlSdn5/infile1' # ] # Script's stdout: <["200","OK","a1=foo",{"func.args":{"-cmdline_src_a1":"stdin_or_file","-cmdline_srcfilenames_a1":["/tmp/VxU0vlSdn5/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/VxU0vlSdn5/cliRziIfRE9 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cliRziIfRE9', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_file_str' # } # argv: [ # '/tmp/VxU0vlSdn5/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/VxU0vlSdn5/clit3LkaRif # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/clit3LkaRif', # '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/VxU0vlSdn5/clikOfZX0xe # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/clikOfZX0xe', # '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/VxU0vlSdn5/cliXrLvTVzI # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cliXrLvTVzI', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_files_array' # } # argv: [ # '/tmp/VxU0vlSdn5/infile1', # '/tmp/VxU0vlSdn5/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/VxU0vlSdn5/cli7KYV8S1o # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cli7KYV8S1o', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_files_str' # } # argv: [ # '--json', # '/tmp/VxU0vlSdn5/infile1' # ] # Script's stdout: <["200","OK","a1=foo",{"func.args":{"-cmdline_src_a1":"stdin_or_files","-cmdline_srcfilenames_a1":["/tmp/VxU0vlSdn5/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/VxU0vlSdn5/clioHY2OFw6 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/clioHY2OFw6', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_files_str' # } # argv: [ # '/tmp/VxU0vlSdn5/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/VxU0vlSdn5/cli4CzqwF_K # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cli4CzqwF_K', # '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/VxU0vlSdn5/clinrnBiXcN # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/clinrnBiXcN', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_files_array' # } # argv: [] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 6 - stdin_or_files stdin str 1..6 ok 10 - cmdline_src (stdin_or_files) # Subtest: dry-run ok 1 - dummy # Subtest: dry-run (via env, 0) # Generated CLI script at /tmp/VxU0vlSdn5/cli1XsVH2aX # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cli1XsVH2aX', # '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/VxU0vlSdn5/cliGjuBW9g9 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cliGjuBW9g9', # '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/VxU0vlSdn5/clippS_IvUS # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/clippS_IvUS', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/test_dry_run' # } # argv: [ # '--dry-run' # ] # Script's stdout: # Script's stderr: <> not ok 1 - exit_code not ok 2 - stdout_like 1..2 not ok 4 - dry-run (via cmdline opt) 1..4 not ok 11 - dry-run # Subtest: tx ok 1 - dummy # Subtest: dry_run (using tx) (w/o) 1..0 # SKIP Has one of the exclude_tag: tx ok 2 # skip Has one of the exclude_tag: tx # Subtest: dry_run (using tx) (w/) 1..0 # SKIP Has one of the exclude_tag: tx ok 3 # skip Has one of the exclude_tag: tx 1..3 ok 12 - tx # Subtest: streaming ok 1 - dummy # Subtest: stream input, simple type, chomp on # Generated CLI script at /tmp/VxU0vlSdn5/cli3xELH2mi # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cli3xELH2mi', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/Stream/count_lines' # } # argv: [ # '/tmp/VxU0vlSdn5/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/VxU0vlSdn5/cliNP0D5_0r # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cliNP0D5_0r', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/Stream/wc' # } # argv: [ # '/tmp/VxU0vlSdn5/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/VxU0vlSdn5/cliQMxCVzFb # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cliQMxCVzFb', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/Stream/wc_keys' # } # argv: [ # '/tmp/VxU0vlSdn5/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/VxU0vlSdn5/cli1AiDlVMO # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cli1AiDlVMO', # '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/VxU0vlSdn5/cliC0Uzgi_h # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cliC0Uzgi_h', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/Stream/square_nums' # } # argv: [ # '/tmp/VxU0vlSdn5/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 13 - streaming # Subtest: result metadata ok 1 - dummy # Subtest: cmdline.exit_code # Generated CLI script at /tmp/VxU0vlSdn5/cliEyAToIhY # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cliEyAToIhY', # '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/VxU0vlSdn5/cliVOd8Xphg # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cliVOd8Xphg', # '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/VxU0vlSdn5/cliJikXdGhN # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cliJikXdGhN', # '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/VxU0vlSdn5/cliJUvHE_rn # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cliJUvHE_rn', # '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/VxU0vlSdn5/cliWVx1azi4 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cliWVx1azi4', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineResMeta/skip_format' # } # argv: [] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 6 - cmdline.skip_format 1..6 ok 14 - result metadata # Subtest: completion ok 1 - dummy # Subtest: self-completion works # Generated CLI script at /tmp/VxU0vlSdn5/cliSfOdEZq_ # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cliSfOdEZq_', # '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/fly1800/cpanfly-5.18/var/megalib/Perinci/Sub/Complete.pm line 13. # BEGIN failed--compilation aborted at /home/fly1800/cpanfly-5.18/var/megalib/Perinci/Sub/Complete.pm line 13. # Compilation failed in require at /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-CmdLine-Lite-1.50-DrDdVP/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/VxU0vlSdn5/cli9hwSfuno # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cli9hwSfuno', # '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/fly1800/cpanfly-5.18/var/megalib/Perinci/Sub/Complete.pm line 13. # BEGIN failed--compilation aborted at /home/fly1800/cpanfly-5.18/var/megalib/Perinci/Sub/Complete.pm line 13. # Compilation failed in require at /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-CmdLine-Lite-1.50-DrDdVP/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/VxU0vlSdn5/cliVEwDuDcA # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cliVEwDuDcA', # '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/fly1800/cpanfly-5.18/var/megalib/Perinci/Sub/Complete.pm line 13. # BEGIN failed--compilation aborted at /home/fly1800/cpanfly-5.18/var/megalib/Perinci/Sub/Complete.pm line 13. # Compilation failed in require at /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-CmdLine-Lite-1.50-DrDdVP/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 15 - completion # Subtest: env ok 1 - dummy # Subtest: env read # Generated CLI script at /tmp/VxU0vlSdn5/cliaIDfpQro # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cliaIDfpQro', # '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/VxU0vlSdn5/cliibew6bcr # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cliibew6bcr', # '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/VxU0vlSdn5/cliC5kVWCYu # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'env_name' => 'foo_opt', # 'output_file' => '/tmp/VxU0vlSdn5/cliC5kVWCYu', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 1, # 'script_name' => 'sum-nums', # 'url' => '/Perinci/Examples/sum' # } # argv: [ # '3' # ] # Script's stdout: # Script's stderr: <> not ok 1 - exit_code not ok 2 - stdout_like 1..2 not ok 4 - attr:env_name 1..4 not ok 16 - env # Subtest: config file ok 1 - dummy # Subtest: attr:config_dirs # Generated CLI script at /tmp/VxU0vlSdn5/cli9h5AB9B2 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/VxU0vlSdn5' # ], # 'output_file' => '/tmp/VxU0vlSdn5/cli9h5AB9B2', # '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/VxU0vlSdn5/cliXwR1ehTP # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/VxU0vlSdn5' # ], # 'config_filename' => 'prog2.conf', # 'output_file' => '/tmp/VxU0vlSdn5/cliXwR1ehTP', # '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/VxU0vlSdn5/cliPKAHR_pn # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/VxU0vlSdn5' # ], # 'output_file' => '/tmp/VxU0vlSdn5/cliPKAHR_pn', # '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/VxU0vlSdn5/cliJf_XXlNK # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/VxU0vlSdn5/cliJf_XXlNK', # 'overwrite' => 1, # 'read_config' => 1, # 'read_env' => 0, # 'script_name' => 'prog', # 'url' => '/Perinci/Examples/noop2' # } # argv: [ # '--config-path', # '/tmp/VxU0vlSdn5/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/VxU0vlSdn5/cliprGUcHsj # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/VxU0vlSdn5' # ], # 'output_file' => '/tmp/VxU0vlSdn5/cliprGUcHsj', # '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/VxU0vlSdn5/cli9Ce8LmBk # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/VxU0vlSdn5' # ], # 'output_file' => '/tmp/VxU0vlSdn5/cli9Ce8LmBk', # '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/VxU0vlSdn5/clil8gh9jKc # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/VxU0vlSdn5' # ], # 'output_file' => '/tmp/VxU0vlSdn5/clil8gh9jKc', # '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/VxU0vlSdn5/cliwqoFobN8 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/VxU0vlSdn5' # ], # 'output_file' => '/tmp/VxU0vlSdn5/cliwqoFobN8', # '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/VxU0vlSdn5/clifaSUND7h # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/VxU0vlSdn5' # ], # 'output_file' => '/tmp/VxU0vlSdn5/clifaSUND7h', # '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/VxU0vlSdn5/cliVyZuk8Gt # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/VxU0vlSdn5' # ], # 'output_file' => '/tmp/VxU0vlSdn5/cliVyZuk8Gt', # '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/VxU0vlSdn5/cliv4NJk2Xq # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/VxU0vlSdn5' # ], # 'output_file' => '/tmp/VxU0vlSdn5/cliv4NJk2Xq', # '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/VxU0vlSdn5/clijXnPFhMX # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/VxU0vlSdn5' # ], # 'output_file' => '/tmp/VxU0vlSdn5/clijXnPFhMX', # 'overwrite' => 1, # 'read_config' => 1, # 'read_env' => 0, # 'script_name' => 'prog3', # 'url' => '/Perinci/Examples/noop2' # } # argv: [] # Script's stdout: # Script's stderr: <> not ok 1 - exit_code not ok 2 - stdout_like 1..2 not ok 13 - can also set common option 1..13 not ok 17 - config file 1..17 Dubious, test returned 4 (wstat 1024, 0x400) Failed 4/17 subtests Test Summary Report ------------------- t/suite.t (Wstat: 1024 Tests: 17 Failed: 4) Failed tests: 11, 15-17 Non-zero exit status: 4 Files=5, Tests=20, 11 wallclock secs ( 0.12 usr 0.09 sys + 9.56 cusr 1.26 csys = 11.03 CPU) Result: FAIL Failed 1/5 test programs. 4/20 subtests failed. make: *** [test_dynamic] Error 4 PERLANCAR/Perinci-CmdLine-Lite-1.50.tar.gz one dependency not OK (YAML::Old); 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/Perinci-CmdLine-Lite-1.50.tar.gz VmSize: 154616 kB Finished 2016-02-05T12:15:35