PATH=/usr/bin:/bin Start 2016-01-23T08:00:21 ActivePerl-1800 CPAN-2.10 Reading '/home/fly1800/cpanfly-5.18/var/cpan/Metadata' Database was generated on Sat, 23 Jan 2016 06:53:33 GMT Fetching with LWP: http://ppm.activestate.com/CPAN/authors/id/P/PE/PERLANCAR/Perinci-CmdLine-Lite-1.49.tar.gz Fetching with LWP: http://ppm.activestate.com/CPAN/authors/id/P/PE/PERLANCAR/CHECKSUMS Checksum for /home/fly1800/cpanfly-5.18/var/cpan/sources/authors/id/P/PE/PERLANCAR/Perinci-CmdLine-Lite-1.49.tar.gz ok Perinci-CmdLine-Lite-1.49/ Perinci-CmdLine-Lite-1.49/devscripts/ Perinci-CmdLine-Lite-1.49/devscripts/bench-startup Perinci-CmdLine-Lite-1.49/Changes Perinci-CmdLine-Lite-1.49/LICENSE Perinci-CmdLine-Lite-1.49/MANIFEST Perinci-CmdLine-Lite-1.49/lib/ Perinci-CmdLine-Lite-1.49/lib/Perinci/ Perinci-CmdLine-Lite-1.49/lib/Perinci/CmdLine/ Perinci-CmdLine-Lite-1.49/lib/Perinci/CmdLine/Util/ Perinci-CmdLine-Lite-1.49/lib/Perinci/CmdLine/Util/Config.pm Perinci-CmdLine-Lite-1.49/lib/Perinci/CmdLine/Base.pm Perinci-CmdLine-Lite-1.49/lib/Perinci/CmdLine/Lite.pm Perinci-CmdLine-Lite-1.49/README Perinci-CmdLine-Lite-1.49/META.json Perinci-CmdLine-Lite-1.49/Makefile.PL Perinci-CmdLine-Lite-1.49/dist.ini Perinci-CmdLine-Lite-1.49/t/ Perinci-CmdLine-Lite-1.49/t/release-rinci.t Perinci-CmdLine-Lite-1.49/t/suite.t Perinci-CmdLine-Lite-1.49/t/author-pod-coverage.t Perinci-CmdLine-Lite-1.49/t/00-compile.t Perinci-CmdLine-Lite-1.49/t/author-pod-syntax.t Perinci-CmdLine-Lite-1.49/share/ Perinci-CmdLine-Lite-1.49/share/templates/ Perinci-CmdLine-Lite-1.49/share/templates/synopsis.txt Perinci-CmdLine-Lite-1.49/share/templates/description.txt Perinci-CmdLine-Lite-1.49/weaver.ini Perinci-CmdLine-Lite-1.49/META.yml Configuring P/PE/PERLANCAR/Perinci-CmdLine-Lite-1.49.tar.gz with Makefile.PL >>> /home/fly1800/ap1800-297235/bin/perl-static Makefile.PL Warning: prerequisite Config::IOD::Reader 0.20 not found. We have 0.19. 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: [x86_64-linux-thread-multi] This may or may not cause problems. Please check your installation of perl if you have problems building this extension. Generating a Unix-style Makefile Writing Makefile for Perinci::CmdLine::Lite Writing MYMETA.yml and MYMETA.json PERLANCAR/Perinci-CmdLine-Lite-1.49.tar.gz /home/fly1800/ap1800-297235/bin/perl-static Makefile.PL -- OK Running make for P/PE/PERLANCAR/Perinci-CmdLine-Lite-1.49.tar.gz ---- Unsatisfied dependencies detected during ---- ---- PERLANCAR/Perinci-CmdLine-Lite-1.49.tar.gz ---- Config::IOD::Reader [requires] Progress::Any::Output::TermProgressBarColor [requires] Test::Perinci::CmdLine [build_requires] Running test for module 'Config::IOD::Reader' Fetching with LWP: http://ppm.activestate.com/CPAN/authors/id/P/PE/PERLANCAR/Config-IOD-Reader-0.20.tar.gz Checksum for /home/fly1800/cpanfly-5.18/var/cpan/sources/authors/id/P/PE/PERLANCAR/Config-IOD-Reader-0.20.tar.gz ok Config-IOD-Reader-0.20/ Config-IOD-Reader-0.20/Changes Config-IOD-Reader-0.20/LICENSE Config-IOD-Reader-0.20/MANIFEST Config-IOD-Reader-0.20/lib/ Config-IOD-Reader-0.20/lib/Config/ Config-IOD-Reader-0.20/lib/Config/IOD/ Config-IOD-Reader-0.20/lib/Config/IOD/Reader.pm Config-IOD-Reader-0.20/lib/Config/IOD/Expr.pm Config-IOD-Reader-0.20/lib/Config/IOD/Base.pm Config-IOD-Reader-0.20/lib/Test/ Config-IOD-Reader-0.20/lib/Test/Config/ Config-IOD-Reader-0.20/lib/Test/Config/IOD/ Config-IOD-Reader-0.20/lib/Test/Config/IOD/Common.pm Config-IOD-Reader-0.20/README Config-IOD-Reader-0.20/META.json Config-IOD-Reader-0.20/Makefile.PL Config-IOD-Reader-0.20/dist.ini Config-IOD-Reader-0.20/t/ Config-IOD-Reader-0.20/t/spec.t Config-IOD-Reader-0.20/t/author-pod-coverage.t Config-IOD-Reader-0.20/t/00-compile.t Config-IOD-Reader-0.20/t/author-pod-syntax.t Config-IOD-Reader-0.20/t/01-common.t Config-IOD-Reader-0.20/weaver.ini Config-IOD-Reader-0.20/META.yml Configuring P/PE/PERLANCAR/Config-IOD-Reader-0.20.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: [x86_64-linux-thread-multi] This may or may not cause problems. Please check your installation of perl if you have problems building this extension. Generating a Unix-style Makefile Writing Makefile for Config::IOD::Reader Writing MYMETA.yml and MYMETA.json PERLANCAR/Config-IOD-Reader-0.20.tar.gz /home/fly1800/ap1800-297235/bin/perl-static Makefile.PL -- OK Running make for P/PE/PERLANCAR/Config-IOD-Reader-0.20.tar.gz >>> make cp lib/Test/Config/IOD/Common.pm blib/lib/Test/Config/IOD/Common.pm cp lib/Config/IOD/Expr.pm blib/lib/Config/IOD/Expr.pm cp lib/Config/IOD/Base.pm blib/lib/Config/IOD/Base.pm cp lib/Config/IOD/Reader.pm blib/lib/Config/IOD/Reader.pm Manifying 4 pod documents PERLANCAR/Config-IOD-Reader-0.20.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..4 ok 1 - Config/IOD/Base.pm loaded ok ok 2 - Config/IOD/Expr.pm loaded ok ok 3 - Config/IOD/Reader.pm loaded ok ok 4 - Test/Config/IOD/Common.pm loaded ok ok t/01-common.t ............ # Subtest: opt: default_section # Subtest: {default_section=bawaan} ok 1 - doesn't die ok 2 - result 1..2 ok 1 - {default_section=bawaan} 1..1 ok 1 - opt: default_section # Subtest: opt: allow_directives # Subtest: {allow_directives=ARRAY(0x68785c8)} ok 1 - dies 1..1 ok 1 - {allow_directives=ARRAY(0x68785c8)} # Subtest: {allow_directives=ARRAY(0x687dbf0)} ok 1 - doesn't die ok 2 - result 1..2 ok 2 - {allow_directives=ARRAY(0x687dbf0)} 1..2 ok 2 - opt: allow_directives # Subtest: opt: disallow_directives # Subtest: {disallow_directives=ARRAY(0x687db00)} ok 1 - dies 1..1 ok 1 - {disallow_directives=ARRAY(0x687db00)} # Subtest: {disallow_directives=ARRAY(0x6878f40)} ok 1 - doesn't die ok 2 - result 1..2 ok 2 - {disallow_directives=ARRAY(0x6878f40)} 1..2 ok 3 - opt: disallow_directives # Subtest: opt: allow_directives + disallow_directives # Subtest: {allow_directives=ARRAY(0x68def50), disallow_directives=ARRAY(0x6ba7098)} ok 1 - dies 1..1 ok 1 - {allow_directives=ARRAY(0x68def50), disallow_directives=ARRAY(0x6ba7098)} 1..1 ok 4 - opt: allow_directives + disallow_directives # Subtest: opt: enable_quoting=0 # Subtest: {enable_quoting=0} ok 1 - doesn't die ok 2 - result 1..2 ok 1 - {enable_quoting=0} 1..1 ok 5 - opt: enable_quoting=0 # Subtest: opt: enable_bracket=0 # Subtest: {enable_bracket=0} ok 1 - doesn't die ok 2 - result 1..2 ok 1 - {enable_bracket=0} 1..1 ok 6 - opt: enable_bracket=0 # Subtest: opt: enable_brace=0 # Subtest: {enable_brace=0} ok 1 - doesn't die ok 2 - result 1..2 ok 1 - {enable_brace=0} 1..1 ok 7 - opt: enable_brace=0 # Subtest: opt: enable_encoding=0 # Subtest: {enable_encoding=0} ok 1 - doesn't die ok 2 - result 1..2 ok 1 - {enable_encoding=0} 1..1 ok 8 - opt: enable_encoding=0 # Subtest: opt: allow_encodings # Subtest: {allow_encodings=ARRAY(0x696e2e0)} ok 1 - dies 1..1 ok 1 - {allow_encodings=ARRAY(0x696e2e0)} # Subtest: {allow_encodings=ARRAY(0x6879390)} ok 1 - doesn't die ok 2 - result 1..2 ok 2 - {allow_encodings=ARRAY(0x6879390)} 1..2 ok 9 - opt: allow_encodings # Subtest: opt: disallow_encodings # Subtest: {disallow_encodings=ARRAY(0x6b88c48)} ok 1 - dies 1..1 ok 1 - {disallow_encodings=ARRAY(0x6b88c48)} # Subtest: {disallow_encodings=ARRAY(0x6878d60)} ok 1 - dies 1..1 ok 2 - {disallow_encodings=ARRAY(0x6878d60)} # Subtest: {disallow_encodings=ARRAY(0x689ba30)} ok 1 - doesn't die ok 2 - result 1..2 ok 3 - {disallow_encodings=ARRAY(0x689ba30)} 1..3 ok 10 - opt: disallow_encodings # Subtest: opt: allow_encodings + disallow_encodings # Subtest: {allow_encodings=ARRAY(0x68df010), disallow_encodings=ARRAY(0x6b88db0)} ok 1 - dies 1..1 ok 1 - {allow_encodings=ARRAY(0x68df010), disallow_encodings=ARRAY(0x6b88db0)} 1..1 ok 11 - opt: allow_encodings + disallow_encodings # Subtest: opt: allow_bang_only=0 # Subtest: {allow_bang_only=0} ok 1 - dies 1..1 ok 1 - {allow_bang_only=0} 1..1 ok 12 - opt: allow_bang_only=0 # Subtest: opt: allow_duplicate_key=0 # Subtest: {allow_duplicate_key=0} ok 1 - dies 1..1 ok 1 - {allow_duplicate_key=0} 1..1 ok 13 - opt: allow_duplicate_key=0 # Subtest: opt: ignore_unknown_directive=1 # Subtest: {ignore_unknown_directive=1} ok 1 - doesn't die ok 2 - result 1..2 ok 1 - {ignore_unknown_directive=1} 1..1 ok 14 - opt: ignore_unknown_directive=1 # Subtest: expr # Subtest: must be enabled first ok 1 - dies 1..1 ok 1 - must be enabled first # Subtest: must be valid ok 1 - dies 1..1 ok 2 - must be valid # Subtest: {enable_expr=1} ok 1 - doesn't die ok 2 - result 1..2 ok 3 - {enable_expr=1} 1..3 ok 15 - expr 1..15 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 # .IOD files are at /tmp/KHDOC9X9KQ # [ # '/tmp/KHDOC9X9KQ/examples/comment.iod', # '/tmp/KHDOC9X9KQ/examples/dir-include-child.iod', # '/tmp/KHDOC9X9KQ/examples/dir-include.iod', # '/tmp/KHDOC9X9KQ/examples/dir-include2.iod', # '/tmp/KHDOC9X9KQ/examples/dir-merge-self.iod', # '/tmp/KHDOC9X9KQ/examples/dir-merge.iod', # '/tmp/KHDOC9X9KQ/examples/dir-merge2.iod', # '/tmp/KHDOC9X9KQ/examples/dirsyntax.iod', # '/tmp/KHDOC9X9KQ/examples/empty-section.iod', # '/tmp/KHDOC9X9KQ/examples/empty.iod', # '/tmp/KHDOC9X9KQ/examples/encoding-base64.iod', # '/tmp/KHDOC9X9KQ/examples/encoding-hex.iod', # '/tmp/KHDOC9X9KQ/examples/encoding-json.iod', # '/tmp/KHDOC9X9KQ/examples/extra-bench-basic-compat.iod', # '/tmp/KHDOC9X9KQ/examples/extra-bench-basic.iod', # '/tmp/KHDOC9X9KQ/examples/extra-bench-typical1.iod', # '/tmp/KHDOC9X9KQ/examples/invalid-dir-args.iod', # '/tmp/KHDOC9X9KQ/examples/invalid-dir-include-nofile.iod', # '/tmp/KHDOC9X9KQ/examples/invalid-dir-include-notfound.iod', # '/tmp/KHDOC9X9KQ/examples/invalid-dir-include-recursive.iod', # '/tmp/KHDOC9X9KQ/examples/invalid-dir-unknown.iod', # '/tmp/KHDOC9X9KQ/examples/invalid-directive-unknown.iod', # '/tmp/KHDOC9X9KQ/examples/invalid-encoding-json.iod', # '/tmp/KHDOC9X9KQ/examples/invalid-encoding-unknown.iod', # '/tmp/KHDOC9X9KQ/examples/invalid-key-emptyname.iod', # '/tmp/KHDOC9X9KQ/examples/invalid-key-noassign.iod', # '/tmp/KHDOC9X9KQ/examples/invalid-section.iod', # '/tmp/KHDOC9X9KQ/examples/key.iod', # '/tmp/KHDOC9X9KQ/examples/multisection.iod', # '/tmp/KHDOC9X9KQ/examples/multival.iod', # '/tmp/KHDOC9X9KQ/examples/nested-section.iod', # '/tmp/KHDOC9X9KQ/examples/nested-section2.iod', # '/tmp/KHDOC9X9KQ/examples/nosection.iod', # '/tmp/KHDOC9X9KQ/examples/section.iod', # '/tmp/KHDOC9X9KQ/examples/simple.iod', # '/tmp/KHDOC9X9KQ/examples/whitespace.iod' # ] t/spec.t ................. # Subtest: file /tmp/KHDOC9X9KQ/examples/comment.iod ok 1 1..1 ok 1 - file /tmp/KHDOC9X9KQ/examples/comment.iod # Subtest: file /tmp/KHDOC9X9KQ/examples/dir-include-child.iod ok 1 1..1 ok 2 - file /tmp/KHDOC9X9KQ/examples/dir-include-child.iod # Subtest: file /tmp/KHDOC9X9KQ/examples/dir-include.iod ok 1 1..1 ok 3 - file /tmp/KHDOC9X9KQ/examples/dir-include.iod # Subtest: file /tmp/KHDOC9X9KQ/examples/dir-include2.iod ok 1 1..1 ok 4 - file /tmp/KHDOC9X9KQ/examples/dir-include2.iod # Subtest: file /tmp/KHDOC9X9KQ/examples/dir-merge-self.iod ok 1 1..1 ok 5 - file /tmp/KHDOC9X9KQ/examples/dir-merge-self.iod # Subtest: file /tmp/KHDOC9X9KQ/examples/dir-merge.iod ok 1 1..1 ok 6 - file /tmp/KHDOC9X9KQ/examples/dir-merge.iod # Subtest: file /tmp/KHDOC9X9KQ/examples/dir-merge2.iod ok 1 1..1 ok 7 - file /tmp/KHDOC9X9KQ/examples/dir-merge2.iod # Subtest: file /tmp/KHDOC9X9KQ/examples/dirsyntax.iod ok 1 1..1 ok 8 - file /tmp/KHDOC9X9KQ/examples/dirsyntax.iod # Subtest: file /tmp/KHDOC9X9KQ/examples/empty-section.iod ok 1 1..1 ok 9 - file /tmp/KHDOC9X9KQ/examples/empty-section.iod # Subtest: file /tmp/KHDOC9X9KQ/examples/empty.iod ok 1 1..1 ok 10 - file /tmp/KHDOC9X9KQ/examples/empty.iod # Subtest: file /tmp/KHDOC9X9KQ/examples/encoding-base64.iod ok 1 1..1 ok 11 - file /tmp/KHDOC9X9KQ/examples/encoding-base64.iod # Subtest: file /tmp/KHDOC9X9KQ/examples/encoding-hex.iod ok 1 1..1 ok 12 - file /tmp/KHDOC9X9KQ/examples/encoding-hex.iod # Subtest: file /tmp/KHDOC9X9KQ/examples/encoding-json.iod ok 1 1..1 ok 13 - file /tmp/KHDOC9X9KQ/examples/encoding-json.iod # Subtest: file /tmp/KHDOC9X9KQ/examples/extra-bench-basic-compat.iod ok 1 1..1 ok 14 - file /tmp/KHDOC9X9KQ/examples/extra-bench-basic-compat.iod # Subtest: file /tmp/KHDOC9X9KQ/examples/extra-bench-basic.iod ok 1 1..1 ok 15 - file /tmp/KHDOC9X9KQ/examples/extra-bench-basic.iod # Subtest: file /tmp/KHDOC9X9KQ/examples/extra-bench-typical1.iod ok 1 1..1 ok 16 - file /tmp/KHDOC9X9KQ/examples/extra-bench-typical1.iod # Subtest: file /tmp/KHDOC9X9KQ/examples/invalid-dir-args.iod ok 1 - dies 1..1 ok 17 - file /tmp/KHDOC9X9KQ/examples/invalid-dir-args.iod # Subtest: file /tmp/KHDOC9X9KQ/examples/invalid-dir-include-nofile.iod ok 1 - dies 1..1 ok 18 - file /tmp/KHDOC9X9KQ/examples/invalid-dir-include-nofile.iod # Subtest: file /tmp/KHDOC9X9KQ/examples/invalid-dir-include-notfound.iod ok 1 - dies 1..1 ok 19 - file /tmp/KHDOC9X9KQ/examples/invalid-dir-include-notfound.iod # Subtest: file /tmp/KHDOC9X9KQ/examples/invalid-dir-include-recursive.iod ok 1 - dies 1..1 ok 20 - file /tmp/KHDOC9X9KQ/examples/invalid-dir-include-recursive.iod # Subtest: file /tmp/KHDOC9X9KQ/examples/invalid-dir-unknown.iod ok 1 - dies 1..1 ok 21 - file /tmp/KHDOC9X9KQ/examples/invalid-dir-unknown.iod # Subtest: file /tmp/KHDOC9X9KQ/examples/invalid-directive-unknown.iod ok 1 - dies 1..1 ok 22 - file /tmp/KHDOC9X9KQ/examples/invalid-directive-unknown.iod # Subtest: file /tmp/KHDOC9X9KQ/examples/invalid-encoding-json.iod ok 1 - dies 1..1 ok 23 - file /tmp/KHDOC9X9KQ/examples/invalid-encoding-json.iod # Subtest: file /tmp/KHDOC9X9KQ/examples/invalid-encoding-unknown.iod ok 1 - dies 1..1 ok 24 - file /tmp/KHDOC9X9KQ/examples/invalid-encoding-unknown.iod # Subtest: file /tmp/KHDOC9X9KQ/examples/invalid-key-emptyname.iod ok 1 - dies 1..1 ok 25 - file /tmp/KHDOC9X9KQ/examples/invalid-key-emptyname.iod # Subtest: file /tmp/KHDOC9X9KQ/examples/invalid-key-noassign.iod ok 1 - dies 1..1 ok 26 - file /tmp/KHDOC9X9KQ/examples/invalid-key-noassign.iod # Subtest: file /tmp/KHDOC9X9KQ/examples/invalid-section.iod ok 1 - dies 1..1 ok 27 - file /tmp/KHDOC9X9KQ/examples/invalid-section.iod # Subtest: file /tmp/KHDOC9X9KQ/examples/key.iod ok 1 1..1 ok 28 - file /tmp/KHDOC9X9KQ/examples/key.iod # Subtest: file /tmp/KHDOC9X9KQ/examples/multisection.iod ok 1 1..1 ok 29 - file /tmp/KHDOC9X9KQ/examples/multisection.iod # Subtest: file /tmp/KHDOC9X9KQ/examples/multival.iod ok 1 1..1 ok 30 - file /tmp/KHDOC9X9KQ/examples/multival.iod # Subtest: file /tmp/KHDOC9X9KQ/examples/nested-section.iod ok 1 1..1 ok 31 - file /tmp/KHDOC9X9KQ/examples/nested-section.iod # Subtest: file /tmp/KHDOC9X9KQ/examples/nested-section2.iod ok 1 1..1 ok 32 - file /tmp/KHDOC9X9KQ/examples/nested-section2.iod # Subtest: file /tmp/KHDOC9X9KQ/examples/nosection.iod ok 1 1..1 ok 33 - file /tmp/KHDOC9X9KQ/examples/nosection.iod # Subtest: file /tmp/KHDOC9X9KQ/examples/section.iod ok 1 1..1 ok 34 - file /tmp/KHDOC9X9KQ/examples/section.iod # Subtest: file /tmp/KHDOC9X9KQ/examples/simple.iod ok 1 1..1 ok 35 - file /tmp/KHDOC9X9KQ/examples/simple.iod # Subtest: file /tmp/KHDOC9X9KQ/examples/whitespace.iod ok 1 1..1 ok 36 - file /tmp/KHDOC9X9KQ/examples/whitespace.iod 1..36 ok All tests successful. Files=5, Tests=55, 1 wallclock secs ( 0.06 usr 0.02 sys + 0.56 cusr 0.07 csys = 0.71 CPU) Result: PASS PERLANCAR/Config-IOD-Reader-0.20.tar.gz make test TEST_VERBOSE=1 -- OK perlancar <perlancar@gmail.com> Read IOD/INI configuration files >>> (cd /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM && tar cvf - Config-IOD-Reader-0.20.ppd blib) | gzip -c >/home/fly1800/cpanfly-5.18/var/REPO/P/PE/PERLANCAR/Config-IOD-Reader-0.20.tar.gz Config-IOD-Reader-0.20.ppd blib/ blib/lib/ blib/lib/Test/ blib/lib/Test/Config/ blib/lib/Test/Config/IOD/ blib/lib/Test/Config/IOD/Common.pm blib/lib/Config/ blib/lib/Config/IOD/ blib/lib/Config/IOD/Expr.pm blib/lib/Config/IOD/Base.pm blib/lib/Config/IOD/Reader.pm blib/man3/ blib/man3/Config::IOD::Base.3 blib/man3/Test::Config::IOD::Common.3 blib/man3/Config::IOD::Reader.3 blib/man3/Config::IOD::Expr.3 >>> mv /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/Config-IOD-Reader-0.20.ppd /home/fly1800/cpanfly-5.18/var/REPO/P/PE/PERLANCAR Running test for module 'Progress::Any::Output::TermProgressBarColor' Prepending /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/lib to PERL5LIB for 'get' Checksum for /home/fly1800/cpanfly-5.18/var/cpan/sources/authors/id/P/PE/PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.21.tar.gz ok Progress-Any-Output-TermProgressBarColor-0.21/ Progress-Any-Output-TermProgressBarColor-0.21/Changes Progress-Any-Output-TermProgressBarColor-0.21/LICENSE Progress-Any-Output-TermProgressBarColor-0.21/MANIFEST Progress-Any-Output-TermProgressBarColor-0.21/lib/ Progress-Any-Output-TermProgressBarColor-0.21/lib/Progress/ Progress-Any-Output-TermProgressBarColor-0.21/lib/Progress/Any/ Progress-Any-Output-TermProgressBarColor-0.21/lib/Progress/Any/Output/ Progress-Any-Output-TermProgressBarColor-0.21/lib/Progress/Any/Output/TermProgressBarColor.pm Progress-Any-Output-TermProgressBarColor-0.21/README Progress-Any-Output-TermProgressBarColor-0.21/META.json Progress-Any-Output-TermProgressBarColor-0.21/Makefile.PL Progress-Any-Output-TermProgressBarColor-0.21/dist.ini Progress-Any-Output-TermProgressBarColor-0.21/t/ Progress-Any-Output-TermProgressBarColor-0.21/t/release-rinci.t Progress-Any-Output-TermProgressBarColor-0.21/t/release-pod-coverage.t Progress-Any-Output-TermProgressBarColor-0.21/t/00-compile.t Progress-Any-Output-TermProgressBarColor-0.21/t/01-basic.t Progress-Any-Output-TermProgressBarColor-0.21/t/release-pod-syntax.t Progress-Any-Output-TermProgressBarColor-0.21/weaver.ini Progress-Any-Output-TermProgressBarColor-0.21/META.yml Prepending /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/lib to PERL5LIB for 'prepare' Configuring P/PE/PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.21.tar.gz with Makefile.PL >>> /home/fly1800/ap1800-297235/bin/perl-static Makefile.PL Checking if your kit is complete... Looks good Have /home/fly1800/cpanfly-5.18/var/megalib Want /home/fly1800/ap1800-297235/lib Your perl and your Config.pm seem to have different ideas about the architecture they are running on. Perl thinks: [megalib] Config says: [x86_64-linux-thread-multi] This may or may not cause problems. Please check your installation of perl if you have problems building this extension. Generating a Unix-style Makefile Writing Makefile for Progress::Any::Output::TermProgressBarColor Writing MYMETA.yml and MYMETA.json PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.21.tar.gz /home/fly1800/ap1800-297235/bin/perl-static Makefile.PL -- OK Running make for P/PE/PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.21.tar.gz Prepending /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/lib to PERL5LIB for 'make' >>> make cp lib/Progress/Any/Output/TermProgressBarColor.pm blib/lib/Progress/Any/Output/TermProgressBarColor.pm Manifying 1 pod document PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.21.tar.gz make -- OK Prepending /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/lib to PERL5LIB for 'test' Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 "/home/fly1800/ap1800-297235/bin/perl-static" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/00-compile.t ............ 1..1 ok 1 - Progress/Any/Output/TermProgressBarColor.pm loaded ok ok # Failed test at t/01-basic.t line 18. # ' 10% []1s left ' # doesn't match '(?^:foo)' # Looks like you failed 1 test of 2. # Failed test 'default' # at t/01-basic.t line 20. # Failed test at t/01-basic.t line 28. # 'Use of uninitialized value $cd in numeric ge (>=) at /home/fly1800/cpanfly-5.18/var/megalib/Color/ANSI/Util.pm line 281. # Use of uninitialized value $cd in numeric ge (>=) at /home/fly1800/cpanfly-5.18/var/megalib/Color/ANSI/Util.pm line 283. # Use of uninitialized value $cd in numeric ge (>=) at /home/fly1800/cpanfly-5.18/var/megalib/Color/ANSI/Util.pm line 281. # Use of uninitialized value $cd in numeric ge (>=) at /home/fly1800/cpanfly-5.18/var/megalib/Color/ANSI/Util.pm line 283. #  20% []1s left ' # doesn't match '(?^:foo)' # Looks like you failed 1 test of 2. # Failed test 'fh option' # at t/01-basic.t line 30. # Failed test at t/01-basic.t line 41. # ' 30% []1s left ' # doesn't match '(?^:foo)' # Looks like you failed 1 test of 2. # Failed test 'default (wide)' # at t/01-basic.t line 43. # Looks like you failed 3 tests of 3. t/01-basic.t .............. # Subtest: default not ok 1 ok 2 1..2 not ok 1 - default # Subtest: fh option not ok 1 ok 2 1..2 not ok 2 - fh option # Subtest: default (wide) not ok 1 ok 2 1..2 not ok 3 - default (wide) 1..3 Dubious, test returned 3 (wstat 768, 0x300) Failed 3/3 subtests t/release-pod-coverage.t .. skipped: these tests are for release candidate testing t/release-pod-syntax.t .... skipped: these tests are for release candidate testing t/release-rinci.t ......... skipped: these tests are for release candidate testing Test Summary Report ------------------- t/01-basic.t (Wstat: 768 Tests: 3 Failed: 3) Failed tests: 1-3 Non-zero exit status: 3 Files=5, Tests=4, 0 wallclock secs ( 0.04 usr 0.01 sys + 0.29 cusr 0.05 csys = 0.39 CPU) Result: FAIL Failed 1/5 test programs. 3/4 subtests failed. make: *** [test_dynamic] Error 255 PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.21.tar.gz make test TEST_VERBOSE=1 -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.21.tar.gz Running test for module 'Test::Perinci::CmdLine' Prepending /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/lib to PERL5LIB for 'get' Fetching with LWP: http://ppm.activestate.com/CPAN/authors/id/P/PE/PERLANCAR/Test-Perinci-CmdLine-1.37.tar.gz Checksum for /home/fly1800/cpanfly-5.18/var/cpan/sources/authors/id/P/PE/PERLANCAR/Test-Perinci-CmdLine-1.37.tar.gz ok Test-Perinci-CmdLine-1.37/ Test-Perinci-CmdLine-1.37/README Test-Perinci-CmdLine-1.37/lib/ Test-Perinci-CmdLine-1.37/lib/Test/ Test-Perinci-CmdLine-1.37/lib/Test/Perinci/ Test-Perinci-CmdLine-1.37/lib/Test/Perinci/CmdLine.pm Test-Perinci-CmdLine-1.37/Makefile.PL Test-Perinci-CmdLine-1.37/Changes Test-Perinci-CmdLine-1.37/dist.ini Test-Perinci-CmdLine-1.37/LICENSE Test-Perinci-CmdLine-1.37/t/ Test-Perinci-CmdLine-1.37/t/00-compile.t Test-Perinci-CmdLine-1.37/t/release-rinci.t Test-Perinci-CmdLine-1.37/t/author-pod-syntax.t Test-Perinci-CmdLine-1.37/t/author-pod-coverage.t Test-Perinci-CmdLine-1.37/weaver.ini Test-Perinci-CmdLine-1.37/MANIFEST Test-Perinci-CmdLine-1.37/META.json Test-Perinci-CmdLine-1.37/META.yml Prepending /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/lib to PERL5LIB for 'prepare' Configuring P/PE/PERLANCAR/Test-Perinci-CmdLine-1.37.tar.gz with Makefile.PL >>> /home/fly1800/ap1800-297235/bin/perl-static Makefile.PL Warning: prerequisite Perinci::Examples 0.68 not found. We have 0.67. 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: [x86_64-linux-thread-multi] This may or may not cause problems. Please check your installation of perl if you have problems building this extension. Generating a Unix-style Makefile Writing Makefile for Test::Perinci::CmdLine Writing MYMETA.yml and MYMETA.json PERLANCAR/Test-Perinci-CmdLine-1.37.tar.gz /home/fly1800/ap1800-297235/bin/perl-static Makefile.PL -- OK Running make for P/PE/PERLANCAR/Test-Perinci-CmdLine-1.37.tar.gz Prepending /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/lib to PERL5LIB for 'make' ---- Unsatisfied dependencies detected during ---- ---- PERLANCAR/Test-Perinci-CmdLine-1.37.tar.gz ---- Perinci::Examples [requires] Running test for module 'Perinci::Examples' Prepending /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/lib to PERL5LIB for 'get' Fetching with LWP: http://ppm.activestate.com/CPAN/authors/id/P/PE/PERLANCAR/Perinci-Examples-0.68.tar.gz Checksum for /home/fly1800/cpanfly-5.18/var/cpan/sources/authors/id/P/PE/PERLANCAR/Perinci-Examples-0.68.tar.gz ok Perinci-Examples-0.68/ Perinci-Examples-0.68/README Perinci-Examples-0.68/lib/ Perinci-Examples-0.68/lib/Perinci/ Perinci-Examples-0.68/lib/Perinci/Examples.pm Perinci-Examples-0.68/lib/Perinci/Examples/ Perinci-Examples-0.68/lib/Perinci/Examples/Table.pm Perinci-Examples-0.68/lib/Perinci/Examples/CmdLineResMeta.pm Perinci-Examples-0.68/lib/Perinci/Examples/CmdLineSrc.pm Perinci-Examples-0.68/lib/Perinci/Examples/Coercion.pm Perinci-Examples-0.68/lib/Perinci/Examples/NoMeta.pm Perinci-Examples-0.68/lib/Perinci/Examples/Stream.pm Perinci-Examples-0.68/lib/Perinci/Examples/FileStream.pm Perinci-Examples-0.68/lib/Perinci/Examples/Completion.pm Perinci-Examples-0.68/lib/Perinci/Examples/Tiny/ Perinci-Examples-0.68/lib/Perinci/Examples/Tiny/Args.pm Perinci-Examples-0.68/lib/Perinci/Examples/CLI.pm Perinci-Examples-0.68/lib/Perinci/Examples/FilePartial.pm Perinci-Examples-0.68/lib/Perinci/Examples/SubMeta.pm Perinci-Examples-0.68/lib/Perinci/Examples/Tiny.pm Perinci-Examples-0.68/lib/Perinci/Examples/Tx.pm Perinci-Examples-0.68/lib/Perinci/Examples/CSV.pm Perinci-Examples-0.68/lib/Perinci/Examples/Version.pm Perinci-Examples-0.68/Makefile.PL Perinci-Examples-0.68/Changes Perinci-Examples-0.68/dist.ini Perinci-Examples-0.68/LICENSE Perinci-Examples-0.68/t/ Perinci-Examples-0.68/t/00-compile.t Perinci-Examples-0.68/t/release-rinci.t Perinci-Examples-0.68/t/author-pod-syntax.t Perinci-Examples-0.68/t/author-pod-coverage.t Perinci-Examples-0.68/weaver.ini Perinci-Examples-0.68/MANIFEST Perinci-Examples-0.68/META.json Perinci-Examples-0.68/META.yml Perinci-Examples-0.68/devscripts/ Perinci-Examples-0.68/devscripts/bench-startup Prepending /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/lib to PERL5LIB for 'prepare' Configuring P/PE/PERLANCAR/Perinci-Examples-0.68.tar.gz with Makefile.PL >>> /home/fly1800/ap1800-297235/bin/perl-static Makefile.PL Warning: prerequisite Perinci::Sub::Property::arg::cmdline 0 not found. Warning: prerequisite Perinci::Sub::Util 0.38 not found. We have 0.37. 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: [x86_64-linux-thread-multi] This may or may not cause problems. Please check your installation of perl if you have problems building this extension. Generating a Unix-style Makefile Writing Makefile for Perinci::Examples Writing MYMETA.yml and MYMETA.json PERLANCAR/Perinci-Examples-0.68.tar.gz /home/fly1800/ap1800-297235/bin/perl-static Makefile.PL -- OK Running make for P/PE/PERLANCAR/Perinci-Examples-0.68.tar.gz Prepending /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/lib to PERL5LIB for 'make' ---- Unsatisfied dependencies detected during ---- ---- PERLANCAR/Perinci-Examples-0.68.tar.gz ---- Perinci::Sub::Util [requires] Perinci::Sub::Property::arg::cmdline [requires] Running test for module 'Perinci::Sub::Util' Prepending /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/lib to PERL5LIB for 'get' Checksum for /home/fly1800/cpanfly-5.18/var/cpan/sources/authors/id/P/PE/PERLANCAR/Perinci-Sub-Util-0.44.tar.gz ok Perinci-Sub-Util-0.44/ Perinci-Sub-Util-0.44/META.json Perinci-Sub-Util-0.44/LICENSE Perinci-Sub-Util-0.44/Changes Perinci-Sub-Util-0.44/META.yml Perinci-Sub-Util-0.44/Makefile.PL Perinci-Sub-Util-0.44/t/ Perinci-Sub-Util-0.44/t/caller.t Perinci-Sub-Util-0.44/t/release-pod-syntax.t Perinci-Sub-Util-0.44/t/gen_modified_sub.t Perinci-Sub-Util-0.44/t/err.t Perinci-Sub-Util-0.44/t/release-pod-coverage.t Perinci-Sub-Util-0.44/t/release-rinci.t Perinci-Sub-Util-0.44/t/00-compile.t Perinci-Sub-Util-0.44/README Perinci-Sub-Util-0.44/dist.ini Perinci-Sub-Util-0.44/lib/ Perinci-Sub-Util-0.44/lib/Perinci/ Perinci-Sub-Util-0.44/lib/Perinci/Sub/ Perinci-Sub-Util-0.44/lib/Perinci/Sub/Util/ Perinci-Sub-Util-0.44/lib/Perinci/Sub/Util/Sort.pm Perinci-Sub-Util-0.44/lib/Perinci/Sub/Util/ResObj.pm Perinci-Sub-Util-0.44/lib/Perinci/Sub/Util.pm Perinci-Sub-Util-0.44/MANIFEST Perinci-Sub-Util-0.44/weaver.ini Prepending /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/lib to PERL5LIB for 'prepare' Configuring P/PE/PERLANCAR/Perinci-Sub-Util-0.44.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: [x86_64-linux-thread-multi] This may or may not cause problems. Please check your installation of perl if you have problems building this extension. Generating a Unix-style Makefile Writing Makefile for Perinci::Sub::Util Writing MYMETA.yml and MYMETA.json PERLANCAR/Perinci-Sub-Util-0.44.tar.gz /home/fly1800/ap1800-297235/bin/perl-static Makefile.PL -- OK Running make for P/PE/PERLANCAR/Perinci-Sub-Util-0.44.tar.gz Prepending /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/lib to PERL5LIB for 'make' >>> make cp lib/Perinci/Sub/Util/ResObj.pm blib/lib/Perinci/Sub/Util/ResObj.pm cp lib/Perinci/Sub/Util.pm blib/lib/Perinci/Sub/Util.pm cp lib/Perinci/Sub/Util/Sort.pm blib/lib/Perinci/Sub/Util/Sort.pm Manifying 3 pod documents PERLANCAR/Perinci-Sub-Util-0.44.tar.gz make -- OK Prepending /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/lib to PERL5LIB for 'test' Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 "/home/fly1800/ap1800-297235/bin/perl-static" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/00-compile.t ............ 1..3 ok 1 - Perinci/Sub/Util.pm loaded ok ok 2 - Perinci/Sub/Util/ResObj.pm loaded ok ok 3 - Perinci/Sub/Util/Sort.pm loaded ok ok t/caller.t ................ ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 1..6 ok t/err.t ................... # Subtest: defaults ok 1 - func doesn't die ok 2 - result is defined ok 3 - result is an array ok 4 - status is 500 ok 5 - message ok 6 - result ok 7 - result metadata is hash 1..7 ok 1 - defaults # Subtest: set status ok 1 - func doesn't die ok 2 - result is defined ok 3 - result is an array ok 4 - status is 400 1..4 ok 2 - set status # Subtest: set message ok 1 - func doesn't die ok 2 - result is defined ok 3 - result is an array ok 4 - status is 500 ok 5 - message 1..5 ok 3 - set message # Subtest: set prev ok 1 - func doesn't die ok 2 - result is defined ok 3 - result is an array ok 4 - status is 400 ok 5 - message ok 6 - prev 1..6 ok 4 - set prev # Subtest: caller ok 1 - func doesn't die ok 2 - result is defined ok 3 - result is an array ok 4 - status is 500 ok 5 - message ok 6 - log[0] type ok 7 - log[0] time ok 8 - log[0] package ok 9 - log[0] func ok 10 - log[0] line 1..10 ok 5 - caller # Subtest: stack_trace ok 1 - func doesn't die ok 2 - result is defined ok 3 - result is an array ok 4 - status is 500 ok 5 - stack_trace 1..5 ok 6 - stack_trace # Subtest: stack_trace only produced once ok 1 - func doesn't die ok 2 - result is defined ok 3 - result is an array ok 4 - status is 501 ok 5 - stack_trace 1..5 ok 7 - stack_trace only produced once 1..7 ok t/gen_modified_sub.t ...... ok 1 ok 2 1..2 ok t/release-pod-coverage.t .. skipped: these tests are for release candidate testing t/release-pod-syntax.t .... skipped: these tests are for release candidate testing t/release-rinci.t ......... skipped: these tests are for release candidate testing All tests successful. Files=7, Tests=18, 1 wallclock secs ( 0.04 usr 0.02 sys + 0.33 cusr 0.05 csys = 0.44 CPU) Result: PASS PERLANCAR/Perinci-Sub-Util-0.44.tar.gz make test TEST_VERBOSE=1 -- OK PPD for Perinci-Sub-Util-0.44 already made Running test for module 'Perinci::Sub::Property::arg::cmdline' Prepending /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-Sub-Util-0.44-19xyd9/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-Sub-Util-0.44-19xyd9/blib/lib /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/lib to PERL5LIB for 'get' Fetching with LWP: http://ppm.activestate.com/CPAN/authors/id/P/PE/PERLANCAR/Perinci-Sub-Property-arg-cmdline-0.01.tar.gz Checksum for /home/fly1800/cpanfly-5.18/var/cpan/sources/authors/id/P/PE/PERLANCAR/Perinci-Sub-Property-arg-cmdline-0.01.tar.gz ok Perinci-Sub-Property-arg-cmdline-0.01/ Perinci-Sub-Property-arg-cmdline-0.01/README Perinci-Sub-Property-arg-cmdline-0.01/lib/ Perinci-Sub-Property-arg-cmdline-0.01/lib/Perinci/ Perinci-Sub-Property-arg-cmdline-0.01/lib/Perinci/Sub/ Perinci-Sub-Property-arg-cmdline-0.01/lib/Perinci/Sub/Property/ Perinci-Sub-Property-arg-cmdline-0.01/lib/Perinci/Sub/Property/arg/ Perinci-Sub-Property-arg-cmdline-0.01/lib/Perinci/Sub/Property/arg/cmdline.pm Perinci-Sub-Property-arg-cmdline-0.01/Makefile.PL Perinci-Sub-Property-arg-cmdline-0.01/Changes Perinci-Sub-Property-arg-cmdline-0.01/dist.ini Perinci-Sub-Property-arg-cmdline-0.01/LICENSE Perinci-Sub-Property-arg-cmdline-0.01/t/ Perinci-Sub-Property-arg-cmdline-0.01/t/00-compile.t Perinci-Sub-Property-arg-cmdline-0.01/t/author-pod-syntax.t Perinci-Sub-Property-arg-cmdline-0.01/t/author-pod-coverage.t Perinci-Sub-Property-arg-cmdline-0.01/weaver.ini Perinci-Sub-Property-arg-cmdline-0.01/MANIFEST Perinci-Sub-Property-arg-cmdline-0.01/META.json Perinci-Sub-Property-arg-cmdline-0.01/META.yml Prepending /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-Sub-Util-0.44-19xyd9/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-Sub-Util-0.44-19xyd9/blib/lib /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/lib to PERL5LIB for 'prepare' Configuring P/PE/PERLANCAR/Perinci-Sub-Property-arg-cmdline-0.01.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: [x86_64-linux-thread-multi] This may or may not cause problems. Please check your installation of perl if you have problems building this extension. Generating a Unix-style Makefile Writing Makefile for Perinci::Sub::Property::arg::cmdline Writing MYMETA.yml and MYMETA.json PERLANCAR/Perinci-Sub-Property-arg-cmdline-0.01.tar.gz /home/fly1800/ap1800-297235/bin/perl-static Makefile.PL -- OK Running make for P/PE/PERLANCAR/Perinci-Sub-Property-arg-cmdline-0.01.tar.gz Prepending /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-Sub-Util-0.44-19xyd9/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-Sub-Util-0.44-19xyd9/blib/lib /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/lib to PERL5LIB for 'make' >>> make cp lib/Perinci/Sub/Property/arg/cmdline.pm blib/lib/Perinci/Sub/Property/arg/cmdline.pm Manifying 1 pod document PERLANCAR/Perinci-Sub-Property-arg-cmdline-0.01.tar.gz make -- OK Prepending /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-Sub-Util-0.44-19xyd9/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-Sub-Util-0.44-19xyd9/blib/lib /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/lib to PERL5LIB for 'test' Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 "/home/fly1800/ap1800-297235/bin/perl-static" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/00-compile.t ........... 1..1 ok 1 - Perinci/Sub/Property/arg/cmdline.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 All tests successful. Files=3, Tests=1, 0 wallclock secs ( 0.04 usr 0.00 sys + 0.11 cusr 0.03 csys = 0.18 CPU) Result: PASS PERLANCAR/Perinci-Sub-Property-arg-cmdline-0.01.tar.gz make test TEST_VERBOSE=1 -- OK perlancar <perlancar@gmail.com> Specify command-line-related attributes in argument specification >>> (cd /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-Sub-Property-arg-cmdline-0.01-WiIDJ8 && tar cvf - Perinci-Sub-Property-arg-cmdline-0.01.ppd blib) | gzip -c >/home/fly1800/cpanfly-5.18/var/REPO/P/PE/PERLANCAR/Perinci-Sub-Property-arg-cmdline-0.01.tar.gz Perinci-Sub-Property-arg-cmdline-0.01.ppd blib/ blib/lib/ blib/lib/Perinci/ blib/lib/Perinci/Sub/ blib/lib/Perinci/Sub/Property/ blib/lib/Perinci/Sub/Property/arg/ blib/lib/Perinci/Sub/Property/arg/cmdline.pm blib/man3/ blib/man3/Perinci::Sub::Property::arg::cmdline.3 >>> mv /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-Sub-Property-arg-cmdline-0.01-WiIDJ8/Perinci-Sub-Property-arg-cmdline-0.01.ppd /home/fly1800/cpanfly-5.18/var/REPO/P/PE/PERLANCAR PERLANCAR/Perinci-Examples-0.68.tar.gz Has already been unwrapped into directory /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-Examples-0.68-WHWjdK PERLANCAR/Perinci-Examples-0.68.tar.gz Has already been prepared Running make for P/PE/PERLANCAR/Perinci-Examples-0.68.tar.gz Prepending /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-Sub-Property-arg-cmdline-0.01-WiIDJ8/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-Sub-Property-arg-cmdline-0.01-WiIDJ8/blib/lib /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-Sub-Util-0.44-19xyd9/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-Sub-Util-0.44-19xyd9/blib/lib /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/lib to PERL5LIB for 'make' >>> make cp lib/Perinci/Examples/NoMeta.pm blib/lib/Perinci/Examples/NoMeta.pm cp lib/Perinci/Examples/CmdLineSrc.pm blib/lib/Perinci/Examples/CmdLineSrc.pm cp lib/Perinci/Examples/FilePartial.pm blib/lib/Perinci/Examples/FilePartial.pm cp lib/Perinci/Examples/Completion.pm blib/lib/Perinci/Examples/Completion.pm cp lib/Perinci/Examples/CSV.pm blib/lib/Perinci/Examples/CSV.pm cp lib/Perinci/Examples/Coercion.pm blib/lib/Perinci/Examples/Coercion.pm cp lib/Perinci/Examples/Table.pm blib/lib/Perinci/Examples/Table.pm cp lib/Perinci/Examples/Stream.pm blib/lib/Perinci/Examples/Stream.pm cp lib/Perinci/Examples/CmdLineResMeta.pm blib/lib/Perinci/Examples/CmdLineResMeta.pm cp lib/Perinci/Examples/SubMeta.pm blib/lib/Perinci/Examples/SubMeta.pm cp lib/Perinci/Examples/CLI.pm blib/lib/Perinci/Examples/CLI.pm cp lib/Perinci/Examples/FileStream.pm blib/lib/Perinci/Examples/FileStream.pm cp lib/Perinci/Examples/Version.pm blib/lib/Perinci/Examples/Version.pm cp lib/Perinci/Examples/Tiny.pm blib/lib/Perinci/Examples/Tiny.pm cp lib/Perinci/Examples.pm blib/lib/Perinci/Examples.pm cp lib/Perinci/Examples/Tiny/Args.pm blib/lib/Perinci/Examples/Tiny/Args.pm cp lib/Perinci/Examples/Tx.pm blib/lib/Perinci/Examples/Tx.pm Manifying 17 pod documents PERLANCAR/Perinci-Examples-0.68.tar.gz make -- OK Prepending /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-Sub-Property-arg-cmdline-0.01-WiIDJ8/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-Sub-Property-arg-cmdline-0.01-WiIDJ8/blib/lib /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-Sub-Util-0.44-19xyd9/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-Sub-Util-0.44-19xyd9/blib/lib /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/lib to PERL5LIB for 'test' Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 "/home/fly1800/ap1800-297235/bin/perl-static" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/00-compile.t ........... 1..17 ok 1 - Perinci/Examples.pm loaded ok ok 2 - Perinci/Examples/CLI.pm loaded ok ok 3 - Perinci/Examples/CSV.pm loaded ok ok 4 - Perinci/Examples/CmdLineResMeta.pm loaded ok ok 5 - Perinci/Examples/CmdLineSrc.pm loaded ok ok 6 - Perinci/Examples/Coercion.pm loaded ok ok 7 - Perinci/Examples/Completion.pm loaded ok ok 8 - Perinci/Examples/FilePartial.pm loaded ok ok 9 - Perinci/Examples/FileStream.pm loaded ok ok 10 - Perinci/Examples/NoMeta.pm loaded ok ok 11 - Perinci/Examples/Stream.pm loaded ok ok 12 - Perinci/Examples/SubMeta.pm loaded ok ok 13 - Perinci/Examples/Table.pm loaded ok ok 14 - Perinci/Examples/Tiny.pm loaded ok ok 15 - Perinci/Examples/Tiny/Args.pm loaded ok ok 16 - Perinci/Examples/Tx.pm loaded ok ok 17 - Perinci/Examples/Version.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 All tests successful. Files=4, Tests=17, 0 wallclock secs ( 0.03 usr 0.02 sys + 0.45 cusr 0.14 csys = 0.64 CPU) Result: PASS PERLANCAR/Perinci-Examples-0.68.tar.gz make test TEST_VERBOSE=1 -- OK perlancar <perlancar@gmail.com> Various examples of Rinci metadata >>> (cd /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-Examples-0.68-WHWjdK && tar cvf - Perinci-Examples-0.68.ppd blib) | gzip -c >/home/fly1800/cpanfly-5.18/var/REPO/P/PE/PERLANCAR/Perinci-Examples-0.68.tar.gz Perinci-Examples-0.68.ppd blib/ blib/lib/ blib/lib/Perinci/ blib/lib/Perinci/Examples.pm blib/lib/Perinci/Examples/ blib/lib/Perinci/Examples/CSV.pm blib/lib/Perinci/Examples/Table.pm blib/lib/Perinci/Examples/Tiny/ blib/lib/Perinci/Examples/Tiny/Args.pm blib/lib/Perinci/Examples/CmdLineSrc.pm blib/lib/Perinci/Examples/Coercion.pm blib/lib/Perinci/Examples/CmdLineResMeta.pm blib/lib/Perinci/Examples/SubMeta.pm blib/lib/Perinci/Examples/NoMeta.pm blib/lib/Perinci/Examples/Completion.pm blib/lib/Perinci/Examples/Tiny.pm blib/lib/Perinci/Examples/Stream.pm blib/lib/Perinci/Examples/FilePartial.pm blib/lib/Perinci/Examples/Tx.pm blib/lib/Perinci/Examples/CLI.pm blib/lib/Perinci/Examples/FileStream.pm blib/lib/Perinci/Examples/Version.pm blib/man3/ blib/man3/Perinci::Examples::SubMeta.3 blib/man3/Perinci::Examples::Coercion.3 blib/man3/Perinci::Examples::Version.3 blib/man3/Perinci::Examples::FileStream.3 blib/man3/Perinci::Examples::Stream.3 blib/man3/Perinci::Examples::CmdLineResMeta.3 blib/man3/Perinci::Examples::Tiny.3 blib/man3/Perinci::Examples::Tx.3 blib/man3/Perinci::Examples::NoMeta.3 blib/man3/Perinci::Examples::Completion.3 blib/man3/Perinci::Examples::Tiny::Args.3 blib/man3/Perinci::Examples::CLI.3 blib/man3/Perinci::Examples.3 blib/man3/Perinci::Examples::CmdLineSrc.3 blib/man3/Perinci::Examples::FilePartial.3 blib/man3/Perinci::Examples::CSV.3 blib/man3/Perinci::Examples::Table.3 >>> mv /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-Examples-0.68-WHWjdK/Perinci-Examples-0.68.ppd /home/fly1800/cpanfly-5.18/var/REPO/P/PE/PERLANCAR PERLANCAR/Test-Perinci-CmdLine-1.37.tar.gz Has already been unwrapped into directory /home/fly1800/cpanfly-5.18/var/cpan/build/Test-Perinci-CmdLine-1.37-Gd9dbX PERLANCAR/Test-Perinci-CmdLine-1.37.tar.gz Has already been prepared Running make for P/PE/PERLANCAR/Test-Perinci-CmdLine-1.37.tar.gz Prepending /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-Examples-0.68-WHWjdK/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-Examples-0.68-WHWjdK/blib/lib /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-Sub-Property-arg-cmdline-0.01-WiIDJ8/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-Sub-Property-arg-cmdline-0.01-WiIDJ8/blib/lib /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-Sub-Util-0.44-19xyd9/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-Sub-Util-0.44-19xyd9/blib/lib /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/lib to PERL5LIB for 'make' >>> make cp lib/Test/Perinci/CmdLine.pm blib/lib/Test/Perinci/CmdLine.pm Manifying 1 pod document PERLANCAR/Test-Perinci-CmdLine-1.37.tar.gz make -- OK Prepending /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-Examples-0.68-WHWjdK/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-Examples-0.68-WHWjdK/blib/lib /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-Sub-Property-arg-cmdline-0.01-WiIDJ8/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-Sub-Property-arg-cmdline-0.01-WiIDJ8/blib/lib /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-Sub-Util-0.44-19xyd9/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-Sub-Util-0.44-19xyd9/blib/lib /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/lib to PERL5LIB for 'test' Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 "/home/fly1800/ap1800-297235/bin/perl-static" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/00-compile.t ........... 1..1 ok 1 - Test/Perinci/CmdLine.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 All tests successful. Files=4, Tests=1, 1 wallclock secs ( 0.03 usr 0.01 sys + 0.23 cusr 0.04 csys = 0.31 CPU) Result: PASS PERLANCAR/Test-Perinci-CmdLine-1.37.tar.gz make test TEST_VERBOSE=1 -- OK perlancar <perlancar@gmail.com> Common test suite for Perinci::CmdLine::{Lite,Classic,Inline} >>> (cd /home/fly1800/cpanfly-5.18/var/cpan/build/Test-Perinci-CmdLine-1.37-Gd9dbX && tar cvf - Test-Perinci-CmdLine-1.37.ppd blib) | gzip -c >/home/fly1800/cpanfly-5.18/var/REPO/P/PE/PERLANCAR/Test-Perinci-CmdLine-1.37.tar.gz Test-Perinci-CmdLine-1.37.ppd blib/ blib/lib/ blib/lib/Test/ blib/lib/Test/Perinci/ blib/lib/Test/Perinci/CmdLine.pm blib/man3/ blib/man3/Test::Perinci::CmdLine.3 >>> mv /home/fly1800/cpanfly-5.18/var/cpan/build/Test-Perinci-CmdLine-1.37-Gd9dbX/Test-Perinci-CmdLine-1.37.ppd /home/fly1800/cpanfly-5.18/var/REPO/P/PE/PERLANCAR PERLANCAR/Perinci-CmdLine-Lite-1.49.tar.gz Has already been unwrapped into directory /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-CmdLine-Lite-1.49-ckFIBj PERLANCAR/Perinci-CmdLine-Lite-1.49.tar.gz Has already been prepared Running make for P/PE/PERLANCAR/Perinci-CmdLine-Lite-1.49.tar.gz Prepending /home/fly1800/cpanfly-5.18/var/cpan/build/Test-Perinci-CmdLine-1.37-Gd9dbX/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Test-Perinci-CmdLine-1.37-Gd9dbX/blib/lib /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-Examples-0.68-WHWjdK/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-Examples-0.68-WHWjdK/blib/lib /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-Sub-Property-arg-cmdline-0.01-WiIDJ8/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-Sub-Property-arg-cmdline-0.01-WiIDJ8/blib/lib /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-Sub-Util-0.44-19xyd9/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-Sub-Util-0.44-19xyd9/blib/lib /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/lib to PERL5LIB for 'make' Warning: Prerequisite 'Progress::Any::Output::TermProgressBarColor => 0.17' for 'PERLANCAR/Perinci-CmdLine-Lite-1.49.tar.gz' failed when processing 'PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.21.tar.gz' with 'make_test => NO'. Continuing, but chances to succeed are limited. >>> make cp share/templates/synopsis.txt blib/lib/auto/share/dist/Perinci-CmdLine-Lite/templates/synopsis.txt cp share/templates/description.txt blib/lib/auto/share/dist/Perinci-CmdLine-Lite/templates/description.txt cp lib/Perinci/CmdLine/Util/Config.pm blib/lib/Perinci/CmdLine/Util/Config.pm cp lib/Perinci/CmdLine/Base.pm blib/lib/Perinci/CmdLine/Base.pm cp lib/Perinci/CmdLine/Lite.pm blib/lib/Perinci/CmdLine/Lite.pm Manifying 3 pod documents PERLANCAR/Perinci-CmdLine-Lite-1.49.tar.gz make -- OK Prepending /home/fly1800/cpanfly-5.18/var/cpan/build/Test-Perinci-CmdLine-1.37-Gd9dbX/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Test-Perinci-CmdLine-1.37-Gd9dbX/blib/lib /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-Examples-0.68-WHWjdK/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-Examples-0.68-WHWjdK/blib/lib /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-Sub-Property-arg-cmdline-0.01-WiIDJ8/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-Sub-Property-arg-cmdline-0.01-WiIDJ8/blib/lib /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-Sub-Util-0.44-19xyd9/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-Sub-Util-0.44-19xyd9/blib/lib /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/blib/arch /home/fly1800/cpanfly-5.18/var/cpan/build/Config-IOD-Reader-0.20-rogTlM/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 t/suite.t ................ # Subtest: help action ok 1 - dummy # Subtest: --help # Generated CLI script at /tmp/xKj2lYhxLj/clifz7qRY9x # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/clifz7qRY9x', # '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/xKj2lYhxLj/clipUXtGvIe # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/clipUXtGvIe', # '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/xKj2lYhxLj/cli68Yr6K_F # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/cli68Yr6K_F', # '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/xKj2lYhxLj/cli0UngDFnF # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/cli0UngDFnF', # '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/xKj2lYhxLj/cli2Ycq22UO # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/cli2Ycq22UO', # '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/xKj2lYhxLj/clin4sCwPQB # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/clin4sCwPQB', # '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/xKj2lYhxLj/clicC0Fhsc3 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/clicC0Fhsc3', # '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/xKj2lYhxLj/cli5tqqtQiw # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'default_subcommand' => 'noop', # 'output_file' => '/tmp/xKj2lYhxLj/cli5tqqtQiw', # '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/xKj2lYhxLj/cliArgTJBxZ # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'default_subcommand' => 'odd_even', # 'output_file' => '/tmp/xKj2lYhxLj/cliArgTJBxZ', # '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/xKj2lYhxLj/clixxJ3Qrzh # 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/xKj2lYhxLj/clixxJ3Qrzh', # '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/xKj2lYhxLj/cliiqmC37hx # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/cliiqmC37hx', # '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/xKj2lYhxLj/cliet3V5MNp # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/cliet3V5MNp', # '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/xKj2lYhxLj/cliFCMy1h0r # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/cliFCMy1h0r', # '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/xKj2lYhxLj/clijF9CwLIl # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/clijF9CwLIl', # '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/xKj2lYhxLj/clirJkWmmP5 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/clirJkWmmP5', # '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/xKj2lYhxLj/cliLK1IW2lW # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/cliLK1IW2lW', # '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/xKj2lYhxLj/clirAMzcNnG # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'default_subcommand' => 'noop', # 'output_file' => '/tmp/xKj2lYhxLj/clirAMzcNnG', # '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/xKj2lYhxLj/cliRBq3rMjz # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/cliRBq3rMjz', # '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/xKj2lYhxLj/cliek9SpeIT # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/cliek9SpeIT', # '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/xKj2lYhxLj/cliLHzNqD0O # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/cliLHzNqD0O', # '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/xKj2lYhxLj/cliI9lUsgd4 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/cliI9lUsgd4', # '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/xKj2lYhxLj/clipdUeGvZC # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/clipdUeGvZC', # '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/xKj2lYhxLj/cliROU68RB9 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/cliROU68RB9', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file' # } # argv: [ # '--a1', # '/tmp/xKj2lYhxLj/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/xKj2lYhxLj/clijL0hgBKm # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/clijL0hgBKm', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file' # } # argv: [ # '--json', # '--a1', # '/tmp/xKj2lYhxLj/infile1' # ] # Script's stdout: <["200","OK","a1=foo\na2=[]",{"func.args":{"-cmdline_src_a1":"file","-cmdline_srcfilenames_a1":["/tmp/xKj2lYhxLj/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/xKj2lYhxLj/cliOGRqR5UJ # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/cliOGRqR5UJ', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file' # } # argv: [ # '--a1', # '/tmp/xKj2lYhxLj/infile1', # '--a2', # '/tmp/xKj2lYhxLj/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/xKj2lYhxLj/clioGLIPnbs # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/clioGLIPnbs', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file' # } # argv: [ # '--json', # '--a1', # '/tmp/xKj2lYhxLj/infile1', # '--a2', # '/tmp/xKj2lYhxLj/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/xKj2lYhxLj/infile1"],"-cmdline_srcfilenames_a2":["/tmp/xKj2lYhxLj/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/xKj2lYhxLj/cligOIwts8V # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/cligOIwts8V', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file' # } # argv: [ # '--a1', # '/tmp/xKj2lYhxLj/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/xKj2lYhxLj/cliAjjf1fuh # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/cliAjjf1fuh', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file' # } # argv: [ # '--a2', # '/tmp/xKj2lYhxLj/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/xKj2lYhxLj/cli1KuAMy5G # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/cli1KuAMy5G', # '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/xKj2lYhxLj/clillPYNIm_ # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/clillPYNIm_', # '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/xKj2lYhxLj/cliYoMSrT8f # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/cliYoMSrT8f', # '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/xKj2lYhxLj/cliQZEuyawW # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/cliQZEuyawW', # '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/xKj2lYhxLj/cliCzW3iXqh # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/cliCzW3iXqh', # '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/xKj2lYhxLj/clipSFZqJYP # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/clipSFZqJYP', # '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/xKj2lYhxLj/cli5Krt1d_1 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/cli5Krt1d_1', # '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/xKj2lYhxLj/cli6BVBsKrE # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/cli6BVBsKrE', # '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/xKj2lYhxLj/cliExEa32e0 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/cliExEa32e0', # '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/xKj2lYhxLj/clip7e9ukKD # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/clip7e9ukKD', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_file_str' # } # argv: [ # '/tmp/xKj2lYhxLj/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/xKj2lYhxLj/clid03sLJ0t # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/clid03sLJ0t', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_file_str' # } # argv: [ # '/tmp/xKj2lYhxLj/infile1', # '/tmp/xKj2lYhxLj/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/xKj2lYhxLj/cliCUubqjnc # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/cliCUubqjnc', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_file_str' # } # argv: [ # '--json', # '/tmp/xKj2lYhxLj/infile1' # ] # Script's stdout: <["200","OK","a1=foo",{"func.args":{"-cmdline_src_a1":"stdin_or_file","-cmdline_srcfilenames_a1":["/tmp/xKj2lYhxLj/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/xKj2lYhxLj/clitenj0AJJ # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/clitenj0AJJ', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_file_str' # } # argv: [ # '/tmp/xKj2lYhxLj/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/xKj2lYhxLj/cli5_cn48eu # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/cli5_cn48eu', # '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/xKj2lYhxLj/clixpsNz8BN # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/clixpsNz8BN', # '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/xKj2lYhxLj/cli9_JxVNsy # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/cli9_JxVNsy', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_files_array' # } # argv: [ # '/tmp/xKj2lYhxLj/infile1', # '/tmp/xKj2lYhxLj/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/xKj2lYhxLj/cliyeJxkpjJ # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/cliyeJxkpjJ', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_files_str' # } # argv: [ # '--json', # '/tmp/xKj2lYhxLj/infile1' # ] # Script's stdout: <["200","OK","a1=foo",{"func.args":{"-cmdline_src_a1":"stdin_or_files","-cmdline_srcfilenames_a1":["/tmp/xKj2lYhxLj/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/xKj2lYhxLj/cliy3ClMvOc # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/cliy3ClMvOc', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_files_str' # } # argv: [ # '/tmp/xKj2lYhxLj/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/xKj2lYhxLj/cliKIwRTvuC # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/cliKIwRTvuC', # '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/xKj2lYhxLj/cliFBICKt8r # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/cliFBICKt8r', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_files_array' # } # argv: [] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 6 - stdin_or_files stdin str 1..6 ok 10 - cmdline_src (stdin_or_files) # Subtest: dry-run ok 1 - dummy # Subtest: dry-run (via env, 0) # Generated CLI script at /tmp/xKj2lYhxLj/clixbVCZn1E # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/clixbVCZn1E', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/test_dry_run' # } # argv: [] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 2 - dry-run (via env, 0) # Subtest: dry-run (via env, 1) # Generated CLI script at /tmp/xKj2lYhxLj/cliQ2i1Xmlo # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/cliQ2i1Xmlo', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/test_dry_run' # } # argv: [] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 3 - dry-run (via env, 1) # Subtest: dry-run (via cmdline opt) # Generated CLI script at /tmp/xKj2lYhxLj/cliindHPi3q # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/cliindHPi3q', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/test_dry_run' # } # argv: [ # '--dry-run' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 4 - dry-run (via cmdline opt) 1..4 ok 11 - dry-run # Subtest: tx ok 1 - dummy # Subtest: dry_run (using tx) (w/o) 1..0 # SKIP Has one of the exclude_tag: tx ok 2 # skip Has one of the exclude_tag: tx # Subtest: dry_run (using tx) (w/) 1..0 # SKIP Has one of the exclude_tag: tx ok 3 # skip Has one of the exclude_tag: tx 1..3 ok 12 - tx # Subtest: streaming ok 1 - dummy # Subtest: stream input, simple type, chomp on # Generated CLI script at /tmp/xKj2lYhxLj/clitDtJ5Q3I # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/clitDtJ5Q3I', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/Stream/count_lines' # } # argv: [ # '/tmp/xKj2lYhxLj/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/xKj2lYhxLj/clik53FG2CH # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/clik53FG2CH', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/Stream/wc' # } # argv: [ # '/tmp/xKj2lYhxLj/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/xKj2lYhxLj/cli28d2NTDL # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/cli28d2NTDL', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/Stream/wc_keys' # } # argv: [ # '/tmp/xKj2lYhxLj/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/xKj2lYhxLj/clibzVA8S4d # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/clibzVA8S4d', # '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/xKj2lYhxLj/cliA4N5t9i4 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/cliA4N5t9i4', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/Stream/square_nums' # } # argv: [ # '/tmp/xKj2lYhxLj/infile-int' # ] # Script's stdout: <1 # 9 # 25 # > # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 12 - stream input+result, simple type, float validation # Subtest: stream input+result, simple type, float validation, error 1..0 # SKIP Has one of the exclude_tag: validate-streaming-input ok 13 # skip Has one of the exclude_tag: validate-streaming-input 1..13 ok 13 - streaming # Subtest: result metadata ok 1 - dummy # Subtest: cmdline.exit_code # Generated CLI script at /tmp/xKj2lYhxLj/climkkBirsR # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/climkkBirsR', # '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/xKj2lYhxLj/cli3Qzi6xKw # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/cli3Qzi6xKw', # '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/xKj2lYhxLj/clizylbsl7B # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/clizylbsl7B', # '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/xKj2lYhxLj/cli79rGPtjI # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/cli79rGPtjI', # '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/xKj2lYhxLj/cli8ZuVFbMi # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/cli8ZuVFbMi', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/CmdLineResMeta/skip_format' # } # argv: [] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 6 - cmdline.skip_format 1..6 ok 14 - result metadata # Subtest: completion ok 1 - dummy # Subtest: self-completion works # Generated CLI script at /tmp/xKj2lYhxLj/cliDdV9vsWL # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/cliDdV9vsWL', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'url' => '/Perinci/Examples/Tiny/odd_even' # } # argv: [] # Script's stdout: <--number # > # Script's stderr: <> ok 1 - exit_code ok 2 - answer 1..2 ok 2 - self-completion works # Subtest: completion of subcommand name # Generated CLI script at /tmp/xKj2lYhxLj/cli_b5OvYxj # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/cli_b5OvYxj', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'subcommands' => [ # 'sc1:/Perinci/Examples/Tiny/noop', # 'sc2:/Perinci/Examples/Tiny/odd_even' # ], # 'url' => '/Perinci/Examples/Tiny/' # } # argv: [] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - answer 1..2 ok 3 - completion of subcommand name # Subtest: completion of subcommand option # Generated CLI script at /tmp/xKj2lYhxLj/cliP2bybnbN # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/cliP2bybnbN', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 0, # 'subcommands' => [ # 'sc1:/Perinci/Examples/Tiny/noop', # 'sc2:/Perinci/Examples/Tiny/odd_even' # ], # 'url' => '/Perinci/Examples/Tiny/' # } # argv: [] # Script's stdout: <--number # > # Script's stderr: <> ok 1 - exit_code ok 2 - answer 1..2 ok 4 - completion of subcommand option 1..4 ok 15 - completion # Subtest: env ok 1 - dummy # Subtest: env read # Generated CLI script at /tmp/xKj2lYhxLj/clitNKDEF1a # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/clitNKDEF1a', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 1, # 'script_name' => 'sum-nums', # 'url' => '/Perinci/Examples/sum' # } # argv: [ # '3' # ] # Script's stdout: <6 # > # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 2 - env read # Subtest: turned off via --no-env # Generated CLI script at /tmp/xKj2lYhxLj/cliQ17GjLYn # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/cliQ17GjLYn', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 1, # 'script_name' => 'sum-nums', # 'url' => '/Perinci/Examples/sum' # } # argv: [ # '--no-env', # '3' # ] # Script's stdout: <3 # > # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 3 - turned off via --no-env # Subtest: attr:env_name # Generated CLI script at /tmp/xKj2lYhxLj/cliUMUyFu4i # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'env_name' => 'foo_opt', # 'output_file' => '/tmp/xKj2lYhxLj/cliUMUyFu4i', # 'overwrite' => 1, # 'read_config' => 0, # 'read_env' => 1, # 'script_name' => 'sum-nums', # 'url' => '/Perinci/Examples/sum' # } # argv: [ # '3' # ] # Script's stdout: <18 # > # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 4 - attr:env_name 1..4 ok 16 - env # Subtest: config file ok 1 - dummy # Subtest: attr:config_dirs # Generated CLI script at /tmp/xKj2lYhxLj/clik1F0eJx6 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/xKj2lYhxLj' # ], # 'output_file' => '/tmp/xKj2lYhxLj/clik1F0eJx6', # 'overwrite' => 1, # 'read_config' => 1, # 'read_env' => 0, # 'script_name' => 'prog', # 'url' => '/Perinci/Examples/noop2' # } # argv: [] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 2 - attr:config_dirs # Subtest: attr:config_filename # Generated CLI script at /tmp/xKj2lYhxLj/clieFcVOXu9 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/xKj2lYhxLj' # ], # 'config_filename' => 'prog2.conf', # 'output_file' => '/tmp/xKj2lYhxLj/clieFcVOXu9', # 'overwrite' => 1, # 'read_config' => 1, # 'read_env' => 0, # 'script_name' => 'prog', # 'url' => '/Perinci/Examples/noop2' # } # argv: [] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 3 - attr:config_filename # Subtest: common option: --no-config # Generated CLI script at /tmp/xKj2lYhxLj/clixOEasID8 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/xKj2lYhxLj' # ], # 'output_file' => '/tmp/xKj2lYhxLj/clixOEasID8', # 'overwrite' => 1, # 'read_config' => 1, # 'read_env' => 0, # 'script_name' => 'prog', # 'url' => '/Perinci/Examples/noop2' # } # argv: [ # '--no-config' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 4 - common option: --no-config # Subtest: common option: --config-path # Generated CLI script at /tmp/xKj2lYhxLj/cli8XeVAUgV # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'output_file' => '/tmp/xKj2lYhxLj/cli8XeVAUgV', # 'overwrite' => 1, # 'read_config' => 1, # 'read_env' => 0, # 'script_name' => 'prog', # 'url' => '/Perinci/Examples/noop2' # } # argv: [ # '--config-path', # '/tmp/xKj2lYhxLj/prog.conf' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 5 - common option: --config-path # Subtest: common option: --config-profile # Generated CLI script at /tmp/xKj2lYhxLj/clihlzhTvBv # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/xKj2lYhxLj' # ], # 'output_file' => '/tmp/xKj2lYhxLj/clihlzhTvBv', # 'overwrite' => 1, # 'read_config' => 1, # 'read_env' => 0, # 'script_name' => 'prog', # 'url' => '/Perinci/Examples/noop2' # } # argv: [ # '--config-profile=profile1' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 6 - common option: --config-profile # Subtest: unknown config profile -> error # Generated CLI script at /tmp/xKj2lYhxLj/cliKR7UK5YA # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/xKj2lYhxLj' # ], # 'output_file' => '/tmp/xKj2lYhxLj/cliKR7UK5YA', # 'overwrite' => 1, # 'read_config' => 1, # 'read_env' => 0, # 'script_name' => 'prog', # 'url' => '/Perinci/Examples/noop2' # } # argv: [ # '--config-profile=foo' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code 1..1 ok 7 - unknown config profile -> error # Subtest: unknown config profile but does not read config -> ok # Generated CLI script at /tmp/xKj2lYhxLj/clipkSkypaF # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/xKj2lYhxLj' # ], # 'output_file' => '/tmp/xKj2lYhxLj/clipkSkypaF', # 'overwrite' => 1, # 'read_config' => 1, # 'read_env' => 0, # 'script_name' => 'foo', # 'url' => '/Perinci/Examples/noop2' # } # argv: [ # '--config-profile=bar' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 8 - unknown config profile but does not read config -> ok # Subtest: subcommand # Generated CLI script at /tmp/xKj2lYhxLj/cliTw9SOStI # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/xKj2lYhxLj' # ], # 'output_file' => '/tmp/xKj2lYhxLj/cliTw9SOStI', # 'overwrite' => 1, # 'read_config' => 1, # 'read_env' => 0, # 'script_name' => 'prog', # 'subcommands' => [ # 'subcommand1:/Perinci/Examples/noop2' # ], # 'url' => '/Perinci/Examples/' # } # argv: [ # 'subcommand1' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 9 - subcommand # Subtest: subcommand + --config-profile (old syntax) # Generated CLI script at /tmp/xKj2lYhxLj/cli4oBjLH3h # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/xKj2lYhxLj' # ], # 'output_file' => '/tmp/xKj2lYhxLj/cli4oBjLH3h', # 'overwrite' => 1, # 'read_config' => 1, # 'read_env' => 0, # 'script_name' => 'prog-old', # 'subcommands' => [ # 'subcommand1:/Perinci/Examples/noop2' # ], # 'url' => '/Perinci/Examples/' # } # argv: [ # '--config-profile=profile1', # 'subcommand1' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 10 - subcommand + --config-profile (old syntax) # Subtest: subcommand + --config-profile # Generated CLI script at /tmp/xKj2lYhxLj/cliuA3ZrsG8 # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/xKj2lYhxLj' # ], # 'output_file' => '/tmp/xKj2lYhxLj/cliuA3ZrsG8', # 'overwrite' => 1, # 'read_config' => 1, # 'read_env' => 0, # 'script_name' => 'prog', # 'subcommands' => [ # 'subcommand1:/Perinci/Examples/noop2' # ], # 'url' => '/Perinci/Examples/' # } # argv: [ # '--config-profile=profile1', # 'subcommand1' # ] # Script's stdout: # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 11 - subcommand + --config-profile # Subtest: array-ify if argument is array # Generated CLI script at /tmp/xKj2lYhxLj/cliil10y_QP # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/xKj2lYhxLj' # ], # 'output_file' => '/tmp/xKj2lYhxLj/cliil10y_QP', # 'overwrite' => 1, # 'read_config' => 1, # 'read_env' => 0, # 'script_name' => 'sum', # 'url' => '/Perinci/Examples/sum' # } # argv: [] # Script's stdout: <0 # > # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 12 - array-ify if argument is array # Subtest: can also set common option # Generated CLI script at /tmp/xKj2lYhxLj/cliwp7oBoet # gen_pericmd_script args: { # 'cmdline' => 'Perinci::CmdLine::Lite', # 'config_dirs' => [ # '/tmp/xKj2lYhxLj' # ], # 'output_file' => '/tmp/xKj2lYhxLj/cliwp7oBoet', # 'overwrite' => 1, # 'read_config' => 1, # 'read_env' => 0, # 'script_name' => 'prog3', # 'url' => '/Perinci/Examples/noop2' # } # argv: [] # Script's stdout: <"a=101\nb=\nc=\nd=\ne=" # > # Script's stderr: <> ok 1 - exit_code ok 2 - stdout_like 1..2 ok 13 - can also set common option 1..13 ok 17 - config file # all tests successful, deleting tempdir /tmp/xKj2lYhxLj 1..17 ok All tests successful. Files=5, Tests=20, 13 wallclock secs ( 0.12 usr 0.05 sys + 10.51 cusr 2.00 csys = 12.68 CPU) Result: PASS PERLANCAR/Perinci-CmdLine-Lite-1.49.tar.gz make test TEST_VERBOSE=1 -- OK perlancar <perlancar@gmail.com> A lightweight Rinci/Riap-based command-line application framework >>> (cd /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-CmdLine-Lite-1.49-ckFIBj && tar cvf - Perinci-CmdLine-Lite-1.49.ppd blib) | gzip -c >/home/fly1800/cpanfly-5.18/var/REPO/P/PE/PERLANCAR/Perinci-CmdLine-Lite-1.49.tar.gz Perinci-CmdLine-Lite-1.49.ppd blib/ blib/lib/ blib/lib/Perinci/ blib/lib/Perinci/CmdLine/ blib/lib/Perinci/CmdLine/Util/ blib/lib/Perinci/CmdLine/Util/Config.pm blib/lib/Perinci/CmdLine/Base.pm blib/lib/Perinci/CmdLine/Lite.pm blib/lib/auto/ blib/lib/auto/share/ blib/lib/auto/share/dist/ blib/lib/auto/share/dist/Perinci-CmdLine-Lite/ blib/lib/auto/share/dist/Perinci-CmdLine-Lite/templates/ blib/lib/auto/share/dist/Perinci-CmdLine-Lite/templates/synopsis.txt blib/lib/auto/share/dist/Perinci-CmdLine-Lite/templates/description.txt blib/man3/ blib/man3/Perinci::CmdLine::Util::Config.3 blib/man3/Perinci::CmdLine::Lite.3 blib/man3/Perinci::CmdLine::Base.3 >>> mv /home/fly1800/cpanfly-5.18/var/cpan/build/Perinci-CmdLine-Lite-1.49-ckFIBj/Perinci-CmdLine-Lite-1.49.ppd /home/fly1800/cpanfly-5.18/var/REPO/P/PE/PERLANCAR VmSize: 318084 kB Finished 2016-01-23T08:00:53