PATH=/usr/bin:/bin:/home/fly1800/cpanfly-5.18/var/megalib/bin Start 2016-03-16T04:06:55 ActivePerl-1800 CPAN-2.10 Reading '/home/fly1800/cpanfly-5.18/var/cpan/Metadata' Database was generated on Wed, 16 Mar 2016 05:41:02 GMT Fetching with LWP: http://ppm.activestate.com/CPAN/authors/id/P/PE/PERLANCAR/Perinci-CmdLine-Lite-1.52.tar.gz Checksum for /home/fly1800/cpanfly-5.18/var/cpan/sources/authors/id/P/PE/PERLANCAR/Perinci-CmdLine-Lite-1.52.tar.gz ok Perinci-CmdLine-Lite-1.52/ Perinci-CmdLine-Lite-1.52/devscripts/ Perinci-CmdLine-Lite-1.52/devscripts/bench-startup Perinci-CmdLine-Lite-1.52/Changes Perinci-CmdLine-Lite-1.52/LICENSE Perinci-CmdLine-Lite-1.52/MANIFEST Perinci-CmdLine-Lite-1.52/lib/ Perinci-CmdLine-Lite-1.52/lib/Perinci/ Perinci-CmdLine-Lite-1.52/lib/Perinci/CmdLine/ Perinci-CmdLine-Lite-1.52/lib/Perinci/CmdLine/Util/ Perinci-CmdLine-Lite-1.52/lib/Perinci/CmdLine/Util/Config.pm Perinci-CmdLine-Lite-1.52/lib/Perinci/CmdLine/Base.pm Perinci-CmdLine-Lite-1.52/lib/Perinci/CmdLine/Lite.pm Perinci-CmdLine-Lite-1.52/README Perinci-CmdLine-Lite-1.52/META.json Perinci-CmdLine-Lite-1.52/Makefile.PL Perinci-CmdLine-Lite-1.52/dist.ini Perinci-CmdLine-Lite-1.52/t/ Perinci-CmdLine-Lite-1.52/t/release-rinci.t Perinci-CmdLine-Lite-1.52/t/suite.t Perinci-CmdLine-Lite-1.52/t/author-pod-coverage.t Perinci-CmdLine-Lite-1.52/t/00-compile.t Perinci-CmdLine-Lite-1.52/t/author-pod-syntax.t Perinci-CmdLine-Lite-1.52/share/ Perinci-CmdLine-Lite-1.52/share/templates/ Perinci-CmdLine-Lite-1.52/share/templates/synopsis.txt Perinci-CmdLine-Lite-1.52/share/templates/description.txt Perinci-CmdLine-Lite-1.52/weaver.ini Perinci-CmdLine-Lite-1.52/META.yml Configuring P/PE/PERLANCAR/Perinci-CmdLine-Lite-1.52.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.52.tar.gz /home/fly1800/ap1800-297235/bin/perl-static Makefile.PL -- OK Running make for P/PE/PERLANCAR/Perinci-CmdLine-Lite-1.52.tar.gz ---- Unsatisfied dependencies detected during ---- ---- PERLANCAR/Perinci-CmdLine-Lite-1.52.tar.gz ---- Progress::Any::Output::TermProgressBarColor [requires] YAML::Old [build_requires] Running test for module 'Progress::Any::Output::TermProgressBarColor' Checksum for /home/fly1800/cpanfly-5.18/var/cpan/sources/authors/id/P/PE/PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.22.tar.gz ok Progress-Any-Output-TermProgressBarColor-0.22/ Progress-Any-Output-TermProgressBarColor-0.22/README Progress-Any-Output-TermProgressBarColor-0.22/lib/ Progress-Any-Output-TermProgressBarColor-0.22/lib/Progress/ Progress-Any-Output-TermProgressBarColor-0.22/lib/Progress/Any/ Progress-Any-Output-TermProgressBarColor-0.22/lib/Progress/Any/Output/ Progress-Any-Output-TermProgressBarColor-0.22/lib/Progress/Any/Output/TermProgressBarColor.pm Progress-Any-Output-TermProgressBarColor-0.22/Makefile.PL Progress-Any-Output-TermProgressBarColor-0.22/Changes Progress-Any-Output-TermProgressBarColor-0.22/dist.ini Progress-Any-Output-TermProgressBarColor-0.22/LICENSE Progress-Any-Output-TermProgressBarColor-0.22/t/ Progress-Any-Output-TermProgressBarColor-0.22/t/00-compile.t Progress-Any-Output-TermProgressBarColor-0.22/t/01-basic.t Progress-Any-Output-TermProgressBarColor-0.22/t/author-pod-syntax.t Progress-Any-Output-TermProgressBarColor-0.22/t/author-pod-coverage.t Progress-Any-Output-TermProgressBarColor-0.22/weaver.ini Progress-Any-Output-TermProgressBarColor-0.22/MANIFEST Progress-Any-Output-TermProgressBarColor-0.22/META.json Progress-Any-Output-TermProgressBarColor-0.22/META.yml Configuring P/PE/PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.22.tar.gz with Makefile.PL >>> /home/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.22.tar.gz /home/fly1800/ap1800-297235/bin/perl-static Makefile.PL -- OK Running make for P/PE/PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.22.tar.gz >>> make cp lib/Progress/Any/Output/TermProgressBarColor.pm blib/lib/Progress/Any/Output/TermProgressBarColor.pm Manifying 1 pod document PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.22.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/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/author-pod-coverage.t .. skipped: these tests are for testing by the author t/author-pod-syntax.t .... skipped: these tests are for testing by the author Test Summary Report ------------------- t/01-basic.t (Wstat: 768 Tests: 3 Failed: 3) Failed tests: 1-3 Non-zero exit status: 3 Files=4, Tests=4, 0 wallclock secs ( 0.04 usr 0.02 sys + 0.26 cusr 0.04 csys = 0.36 CPU) Result: FAIL Failed 1/4 test programs. 3/4 subtests failed. make: *** [test_dynamic] Error 255 PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.22.tar.gz make test TEST_VERBOSE=1 -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.22.tar.gz 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.pod blib/lib/Test/YAML.pod cp lib/Test/YAML.pm blib/lib/Test/YAML.pm 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-0UezCZ 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-yiqqr1/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Test-YAML-1.06-yiqqr1/blib/lib to PERL5LIB for 'make' >>> make cp lib/YAML/Old/Marshall.pm blib/lib/YAML/Old/Marshall.pm cp lib/YAML/Old/Loader/Base.pm blib/lib/YAML/Old/Loader/Base.pm cp lib/YAML/Old/Types.pm blib/lib/YAML/Old/Types.pm cp lib/YAML/Old/Node.pm blib/lib/YAML/Old/Node.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/Dumper.pm blib/lib/YAML/Old/Dumper.pm cp lib/YAML/Old/Loader.pm blib/lib/YAML/Old/Loader.pm cp lib/YAML/Old.pm blib/lib/YAML/Old.pm cp lib/YAML/Old/Dumper/Base.pm blib/lib/YAML/Old/Dumper/Base.pm cp lib/YAML/Old/Tag.pm blib/lib/YAML/Old/Tag.pm cp lib/YAML/Old.pod blib/lib/YAML/Old.pod 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-yiqqr1/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Test-YAML-1.06-yiqqr1/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, 8 wallclock secs ( 0.09 usr 0.20 sys + 6.63 cusr 0.94 csys = 7.86 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 PERLANCAR/Perinci-CmdLine-Lite-1.52.tar.gz Has already been unwrapped into directory /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-CmdLine-Lite-1.52-h4Hb2z PERLANCAR/Perinci-CmdLine-Lite-1.52.tar.gz Has already been prepared Running make for P/PE/PERLANCAR/Perinci-CmdLine-Lite-1.52.tar.gz Prepending /home/fly1800/cpanfly-5.18/var/cpan/build/Test-YAML-1.06-yiqqr1/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Test-YAML-1.06-yiqqr1/blib/lib to PERL5LIB for 'make' Warning: Prerequisite 'YAML::Old => 0' for 'PERLANCAR/Perinci-CmdLine-Lite-1.52.tar.gz' failed when processing 'INGY/YAML-Old-1.07.tar.gz' with 'make_test => NO'. Continuing, but chances to succeed are limited. Warning: Prerequisite 'Progress::Any::Output::TermProgressBarColor => 0.17' for 'PERLANCAR/Perinci-CmdLine-Lite-1.52.tar.gz' failed when processing 'PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.22.tar.gz' with 'make_test => NO'. Continuing, but chances to succeed are limited. >>> make cp share/templates/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/Base.pm blib/lib/Perinci/CmdLine/Base.pm cp lib/Perinci/CmdLine/Lite.pm blib/lib/Perinci/CmdLine/Lite.pm cp lib/Perinci/CmdLine/Util/Config.pm blib/lib/Perinci/CmdLine/Util/Config.pm Manifying 3 pod documents PERLANCAR/Perinci-CmdLine-Lite-1.52.tar.gz make -- OK Prepending /home/fly1800/cpanfly-5.18/var/cpan/build/Test-YAML-1.06-yiqqr1/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Test-YAML-1.06-yiqqr1/blib/lib to PERL5LIB for 'test' Running make test >>> make test TEST_VERBOSE=1 Skip blib/lib/auto/share/dist/Perinci-CmdLine-Lite/templates/description.txt (unchanged) Skip blib/lib/auto/share/dist/Perinci-CmdLine-Lite/templates/synopsis.txt (unchanged) PERL_DL_NONLAZY=1 "/home/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. # 'cli3pmxTpRM: 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. # 'cliPTbLBso5: 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. # 'cliI7oV3_qL: 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.52-h4Hb2z/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.52-h4Hb2z/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.52-h4Hb2z/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/FZp45dTOuI # Looks like you failed 4 tests of 18. t/suite.t ................ # Subtest: help action ok 1 - dummy # Subtest: --help # Generated CLI script at /tmp/FZp45dTOuI/clil9cxP6RT # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/clil9cxP6RT', # '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/FZp45dTOuI/clibQP52LTj # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/clibQP52LTj', # '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/FZp45dTOuI/cliWM9qwFeo # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cliWM9qwFeo', # '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/FZp45dTOuI/clirsjKLuLm # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/clirsjKLuLm', # '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/FZp45dTOuI/cliI6CudqTU # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cliI6CudqTU', # '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/FZp45dTOuI/cliuYnz00S0 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cliuYnz00S0', # '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/FZp45dTOuI/cliOBKKhbSo # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cliOBKKhbSo', # '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/FZp45dTOuI/cliaLSyFeWb # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'default_subcommand' => 'noop', # 'output_file' => '/tmp/FZp45dTOuI/cliaLSyFeWb', # '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/FZp45dTOuI/cliOMoQjtuT # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'default_subcommand' => 'odd_even', # 'output_file' => '/tmp/FZp45dTOuI/cliOMoQjtuT', # '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/FZp45dTOuI/cli9SZbwy4H # 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/FZp45dTOuI/cli9SZbwy4H', # '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/FZp45dTOuI/clilxP_yKtZ # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/clilxP_yKtZ', # '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/FZp45dTOuI/cli6lWjifBc # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cli6lWjifBc', # '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/FZp45dTOuI/cli90GaD9Hh # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cli90GaD9Hh', # '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/FZp45dTOuI/cliP6QlTjIA # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cliP6QlTjIA', # '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/FZp45dTOuI/cliMuDFRhHL # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cliMuDFRhHL', # '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/FZp45dTOuI/cliq3AW_YFl # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cliq3AW_YFl', # '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/FZp45dTOuI/cliflZPvDKe # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'default_subcommand' => 'noop', # 'output_file' => '/tmp/FZp45dTOuI/cliflZPvDKe', # '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/FZp45dTOuI/cli62lIujlt # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cli62lIujlt', # '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/FZp45dTOuI/cliXfYXbW2t # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cliXfYXbW2t', # '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/FZp45dTOuI/cliNtoGNIJC # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cliNtoGNIJC', # '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/FZp45dTOuI/cliFoXnKsSU # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cliFoXnKsSU', # '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/FZp45dTOuI/cliX02JlLSJ # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cliX02JlLSJ', # '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/FZp45dTOuI/cliqPwAQ1GO # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cliqPwAQ1GO', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file' # } # argv: [ # '--a1', # '/tmp/FZp45dTOuI/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/FZp45dTOuI/cliex89hpZb # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cliex89hpZb', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file' # } # argv: [ # '--json', # '--a1', # '/tmp/FZp45dTOuI/infile1' # ] # Script's stdout: <[200,"OK","a1=foo\na2=[]",{"func.args":{"-cmdline_src_a1":"file","-cmdline_srcfilenames_a1":["/tmp/FZp45dTOuI/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/FZp45dTOuI/cliBTLRRLCn # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cliBTLRRLCn', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file' # } # argv: [ # '--a1', # '/tmp/FZp45dTOuI/infile1', # '--a2', # '/tmp/FZp45dTOuI/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/FZp45dTOuI/clio1ObBGLU # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/clio1ObBGLU', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file' # } # argv: [ # '--json', # '--a1', # '/tmp/FZp45dTOuI/infile1', # '--a2', # '/tmp/FZp45dTOuI/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/FZp45dTOuI/infile1"],"-cmdline_srcfilenames_a2":["/tmp/FZp45dTOuI/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/FZp45dTOuI/cliVoOJhytz # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cliVoOJhytz', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file' # } # argv: [ # '--a1', # '/tmp/FZp45dTOuI/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/FZp45dTOuI/clih2uKEybm # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/clih2uKEybm', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file' # } # argv: [ # '--a2', # '/tmp/FZp45dTOuI/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/FZp45dTOuI/cliLGFM5KLg # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cliLGFM5KLg', # '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/FZp45dTOuI/cliuaEijG6e # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cliuaEijG6e', # '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/FZp45dTOuI/cliuslYBQEv # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cliuslYBQEv', # '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/FZp45dTOuI/cli8PthqNcR # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cli8PthqNcR', # '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/FZp45dTOuI/cliG5tVemxQ # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cliG5tVemxQ', # '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/FZp45dTOuI/cli3Q2Kx5Mf # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cli3Q2Kx5Mf', # '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/FZp45dTOuI/clirkhmRo7L # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/clirkhmRo7L', # '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/FZp45dTOuI/cliv0AmzaUN # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cliv0AmzaUN', # '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/FZp45dTOuI/cliBMzsSFwK # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cliBMzsSFwK', # '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/FZp45dTOuI/clig8wDP2HE # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/clig8wDP2HE', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_file_str' # } # argv: [ # '/tmp/FZp45dTOuI/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/FZp45dTOuI/clivUWjUecj # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/clivUWjUecj', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_file_str' # } # argv: [ # '/tmp/FZp45dTOuI/infile1', # '/tmp/FZp45dTOuI/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/FZp45dTOuI/cliymouT4Ig # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cliymouT4Ig', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_file_str' # } # argv: [ # '--json', # '/tmp/FZp45dTOuI/infile1' # ] # Script's stdout: <[200,"OK","a1=foo",{"func.args":{"-cmdline_src_a1":"stdin_or_file","-cmdline_srcfilenames_a1":["/tmp/FZp45dTOuI/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/FZp45dTOuI/cliPjYmVEiz # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cliPjYmVEiz', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_file_str' # } # argv: [ # '/tmp/FZp45dTOuI/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/FZp45dTOuI/cliFTsQVaaD # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cliFTsQVaaD', # '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/FZp45dTOuI/cliaWg12Y9s # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cliaWg12Y9s', # '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/FZp45dTOuI/cli01ne7aeV # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cli01ne7aeV', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_files_array' # } # argv: [ # '/tmp/FZp45dTOuI/infile1', # '/tmp/FZp45dTOuI/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/FZp45dTOuI/clihUVajsF2 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/clihUVajsF2', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_files_str' # } # argv: [ # '--json', # '/tmp/FZp45dTOuI/infile1' # ] # Script's stdout: <[200,"OK","a1=foo",{"func.args":{"-cmdline_src_a1":"stdin_or_files","-cmdline_srcfilenames_a1":["/tmp/FZp45dTOuI/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/FZp45dTOuI/clikkIBkbrs # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/clikkIBkbrs', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_files_str' # } # argv: [ # '/tmp/FZp45dTOuI/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/FZp45dTOuI/cliPMnodvAh # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cliPMnodvAh', # '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/FZp45dTOuI/cliFqKD2PUg # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cliFqKD2PUg', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_files_array' # } # argv: [] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 6 - stdin_or_files stdin str 1..6 ok 10 - cmdline_src (stdin_or_files) # Subtest: cmdline_src (stdin_or_args) ok 1 - dummy # Subtest: from arg # Generated CLI script at /tmp/FZp45dTOuI/cli2WlcilF5 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cli2WlcilF5', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_args_array' # } # argv: [ # '--a1', # 'x' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 2 - from arg # Subtest: from stdin # Generated CLI script at /tmp/FZp45dTOuI/cliDaNzkeVA # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cliDaNzkeVA', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_args_array' # } # argv: [] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 3 - from stdin 1..3 ok 11 - cmdline_src (stdin_or_args) # Subtest: dry-run ok 1 - dummy # Subtest: dry-run (via env, 0) # Generated CLI script at /tmp/FZp45dTOuI/cli3pmxTpRM # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cli3pmxTpRM', # '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/FZp45dTOuI/cliPTbLBso5 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cliPTbLBso5', # '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/FZp45dTOuI/cliI7oV3_qL # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cliI7oV3_qL', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/test_dry_run' # } # argv: [ # '--dry-run' # ] # Script's stdout: # Script's stderr: <> not ok 1 - exit_code not ok 2 - stdout_like 1..2 not ok 4 - dry-run (via cmdline opt) 1..4 not ok 12 - dry-run # Subtest: tx ok 1 - dummy # Subtest: dry_run (using tx) (w/o) 1..0 # SKIP Has one of the exclude_tag: tx ok 2 # skip Has one of the exclude_tag: tx # Subtest: dry_run (using tx) (w/) 1..0 # SKIP Has one of the exclude_tag: tx ok 3 # skip Has one of the exclude_tag: tx 1..3 ok 13 - tx # Subtest: streaming ok 1 - dummy # Subtest: stream input, simple type, chomp on # Generated CLI script at /tmp/FZp45dTOuI/clipo1Hjvi5 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/clipo1Hjvi5', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/Stream/count_lines' # } # argv: [ # '/tmp/FZp45dTOuI/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/FZp45dTOuI/cliFZCpuilP # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cliFZCpuilP', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/Stream/wc' # } # argv: [ # '/tmp/FZp45dTOuI/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/FZp45dTOuI/cliUqa3Olcl # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cliUqa3Olcl', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/Stream/wc_keys' # } # argv: [ # '/tmp/FZp45dTOuI/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/FZp45dTOuI/cliQ9jkw9_C # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cliQ9jkw9_C', # '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/FZp45dTOuI/cli0t8VrEEr # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cli0t8VrEEr', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/Stream/square_nums' # } # argv: [ # '/tmp/FZp45dTOuI/infile-int' # ] # Script's stdout: <1 # 9 # 25 # > # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 12 - stream input+result, simple type, float validation # Subtest: stream input+result, simple type, float validation, error 1..0 # SKIP Has one of the exclude_tag: validate-streaming-input ok 13 # skip Has one of the exclude_tag: validate-streaming-input 1..13 ok 14 - streaming # Subtest: result metadata ok 1 - dummy # Subtest: cmdline.exit_code # Generated CLI script at /tmp/FZp45dTOuI/clikBnbkG68 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/clikBnbkG68', # '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/FZp45dTOuI/clipvRsR7zi # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/clipvRsR7zi', # '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/FZp45dTOuI/cliSKZiULdd # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cliSKZiULdd', # '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/FZp45dTOuI/cli4MqilgCK # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cli4MqilgCK', # '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/FZp45dTOuI/cli4SEAJvWv # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cli4SEAJvWv', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineResMeta/skip_format' # } # argv: [] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 6 - cmdline.skip_format 1..6 ok 15 - result metadata # Subtest: completion ok 1 - dummy # Subtest: self-completion works # Generated CLI script at /tmp/FZp45dTOuI/cli1Q_90jNc # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cli1Q_90jNc', # '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.52-h4Hb2z/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/FZp45dTOuI/cli1hQmOWCY # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cli1hQmOWCY', # '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.52-h4Hb2z/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/FZp45dTOuI/cli0rxOGJbI # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cli0rxOGJbI', # '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.52-h4Hb2z/blib/lib/Perinci/CmdLine/Base.pm line 543. # > not ok 1 - exit_code not ok 2 - answer 1..2 not ok 4 - completion of subcommand option 1..4 not ok 16 - completion # Subtest: env ok 1 - dummy # Subtest: env read # Generated CLI script at /tmp/FZp45dTOuI/cliJM5c_mOy # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cliJM5c_mOy', # '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/FZp45dTOuI/cli6DTSQBs4 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/cli6DTSQBs4', # '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/FZp45dTOuI/clie3f0_i1y # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'env_name' => 'foo_opt', # 'output_file' => '/tmp/FZp45dTOuI/clie3f0_i1y', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 1, # 'script_name' => 'sum-nums', # 'url' => '/Perinci/Examples/sum' # } # argv: [ # '3' # ] # Script's stdout: # Script's stderr: <> not ok 1 - exit_code not ok 2 - stdout_like 1..2 not ok 4 - attr:env_name 1..4 not ok 17 - env # Subtest: config file ok 1 - dummy # Subtest: attr:config_dirs # Generated CLI script at /tmp/FZp45dTOuI/clij2J2_Qwf # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/FZp45dTOuI' # ], # 'output_file' => '/tmp/FZp45dTOuI/clij2J2_Qwf', # '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/FZp45dTOuI/clit_1Fc6Eo # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/FZp45dTOuI' # ], # 'config_filename' => 'prog2.conf', # 'output_file' => '/tmp/FZp45dTOuI/clit_1Fc6Eo', # '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/FZp45dTOuI/cliU5DMJdqr # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/FZp45dTOuI' # ], # 'output_file' => '/tmp/FZp45dTOuI/cliU5DMJdqr', # '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/FZp45dTOuI/clilsttgIA_ # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/FZp45dTOuI/clilsttgIA_', # 'overwrite' => 1, # 'read_config' => 1, # 'read_env' => 0, # 'script_name' => 'prog', # 'url' => '/Perinci/Examples/noop2' # } # argv: [ # '--config-path', # '/tmp/FZp45dTOuI/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/FZp45dTOuI/cliNCOlv1Tv # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/FZp45dTOuI' # ], # 'output_file' => '/tmp/FZp45dTOuI/cliNCOlv1Tv', # '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/FZp45dTOuI/cliv889x10J # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/FZp45dTOuI' # ], # 'output_file' => '/tmp/FZp45dTOuI/cliv889x10J', # '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/FZp45dTOuI/cliO8yK7vTf # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/FZp45dTOuI' # ], # 'output_file' => '/tmp/FZp45dTOuI/cliO8yK7vTf', # '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/FZp45dTOuI/cliJ77ibZ4S # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/FZp45dTOuI' # ], # 'output_file' => '/tmp/FZp45dTOuI/cliJ77ibZ4S', # '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/FZp45dTOuI/cliFwps0lfK # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/FZp45dTOuI' # ], # 'output_file' => '/tmp/FZp45dTOuI/cliFwps0lfK', # '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/FZp45dTOuI/cli3VbOU5xV # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/FZp45dTOuI' # ], # 'output_file' => '/tmp/FZp45dTOuI/cli3VbOU5xV', # '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/FZp45dTOuI/clikgsdOXgs # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/FZp45dTOuI' # ], # 'output_file' => '/tmp/FZp45dTOuI/clikgsdOXgs', # '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/FZp45dTOuI/cli0KbrnGcG # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/FZp45dTOuI' # ], # 'output_file' => '/tmp/FZp45dTOuI/cli0KbrnGcG', # 'overwrite' => 1, # 'read_config' => 1, # 'read_env' => 0, # 'script_name' => 'prog3', # 'url' => '/Perinci/Examples/noop2' # } # argv: [] # Script's stdout: # Script's stderr: <> not ok 1 - exit_code not ok 2 - stdout_like 1..2 not ok 13 - can also set common option 1..13 not ok 18 - config file 1..18 Dubious, test returned 4 (wstat 1024, 0x400) Failed 4/18 subtests Test Summary Report ------------------- t/suite.t (Wstat: 1024 Tests: 18 Failed: 4) Failed tests: 12, 16-18 Non-zero exit status: 4 Files=5, Tests=21, 12 wallclock secs ( 0.11 usr 0.12 sys + 9.56 cusr 1.45 csys = 11.24 CPU) Result: FAIL Failed 1/5 test programs. 4/21 subtests failed. make: *** [test_dynamic] Error 4 PERLANCAR/Perinci-CmdLine-Lite-1.52.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.52.tar.gz VmSize: 160068 kB Finished 2016-03-16T04:07:26