PATH=/usr/bin:/bin:/Users/fly2200/cpanfly-5.22/var/megalib/bin
Start 2016-05-25T09:01:26
ActivePerl-2200 CPAN-2.10
Reading '/Users/fly2200/cpanfly-5.22/var/cpan/Metadata'
Database was generated on Wed, 25 May 2016 05:41:02 GMT
Fetching with LWP:
http://ppm.activestate.com/CPAN/authors/id/P/PE/PERLANCAR/App-SahUtils-0.28.tar.gz
Fetching with LWP:
http://ppm.activestate.com/CPAN/authors/id/P/PE/PERLANCAR/CHECKSUMS
Checksum for /Users/fly2200/cpanfly-5.22/var/cpan/sources/authors/id/P/PE/PERLANCAR/App-SahUtils-0.28.tar.gz ok
App-SahUtils-0.28/
App-SahUtils-0.28/bin/
App-SahUtils-0.28/bin/coerce-with-sah
App-SahUtils-0.28/bin/validate-with-sah
App-SahUtils-0.28/bin/normalize-sah-schema
App-SahUtils-0.28/bin/show-sah-schema-module
App-SahUtils-0.28/bin/sah-to-human
App-SahUtils-0.28/bin/list-sah-schema-modules
App-SahUtils-0.28/README
App-SahUtils-0.28/lib/
App-SahUtils-0.28/lib/App/
App-SahUtils-0.28/lib/App/SahUtils.pm
App-SahUtils-0.28/Makefile.PL
App-SahUtils-0.28/Changes
App-SahUtils-0.28/dist.ini
App-SahUtils-0.28/LICENSE
App-SahUtils-0.28/t/
App-SahUtils-0.28/t/00-compile.t
App-SahUtils-0.28/t/release-rinci.t
App-SahUtils-0.28/t/author-pod-syntax.t
App-SahUtils-0.28/t/author-pod-coverage.t
App-SahUtils-0.28/weaver.ini
App-SahUtils-0.28/MANIFEST
App-SahUtils-0.28/META.json
App-SahUtils-0.28/META.yml
Configuring P/PE/PERLANCAR/App-SahUtils-0.28.tar.gz with Makefile.PL
>>> /Users/fly2200/ap2200-299195/bin/perl-dynamic Makefile.PL
Warning: prerequisite Data::Sah::Coerce 0.011 not found. We have 0.010.
Warning: prerequisite Data::Sah::CoerceCommon 0.011 not found. We have 0.010.
Warning: prerequisite Data::Sah::CoerceJS 0.011 not found. We have 0.010.
Warning: prerequisite Perinci::CmdLine::Any 0.09 not found.
Checking if your kit is complete...
Looks good
Have /Users/fly2200/cpanfly-5.22/var/megalib
Want /Users/fly2200/ap2200-299195/lib
Your perl and your Config.pm seem to have different ideas about the
architecture they are running on.
Perl thinks: [megalib]
Config says: [darwin-thread-multi-2level]
This may or may not cause problems. Please check your installation of perl
if you have problems building this extension.
Generating a Unix-style Makefile
Writing Makefile for App::SahUtils
Writing MYMETA.yml and MYMETA.json
Modifying Makefile to generate shell completion on install
PERLANCAR/App-SahUtils-0.28.tar.gz
/Users/fly2200/ap2200-299195/bin/perl-dynamic Makefile.PL -- OK
Running make for P/PE/PERLANCAR/App-SahUtils-0.28.tar.gz
---- Unsatisfied dependencies detected during ----
---- PERLANCAR/App-SahUtils-0.28.tar.gz ----
Data::Sah::CoerceJS [requires]
Data::Sah::Coerce [requires]
Perinci::CmdLine::Any [requires]
Data::Sah::CoerceCommon [requires]
Running test for module 'Data::Sah::CoerceJS'
Fetching with LWP:
http://ppm.activestate.com/CPAN/authors/id/P/PE/PERLANCAR/Data-Sah-Coerce-0.012.tar.gz
Checksum for /Users/fly2200/cpanfly-5.22/var/cpan/sources/authors/id/P/PE/PERLANCAR/Data-Sah-Coerce-0.012.tar.gz ok
Data-Sah-Coerce-0.012/
Data-Sah-Coerce-0.012/README
Data-Sah-Coerce-0.012/lib/
Data-Sah-Coerce-0.012/lib/Data/
Data-Sah-Coerce-0.012/lib/Data/Sah/
Data-Sah-Coerce-0.012/lib/Data/Sah/CoerceCommon.pm
Data-Sah-Coerce-0.012/lib/Data/Sah/Coerce.pm
Data-Sah-Coerce-0.012/lib/Data/Sah/Coerce/
Data-Sah-Coerce-0.012/lib/Data/Sah/Coerce/js/
Data-Sah-Coerce-0.012/lib/Data/Sah/Coerce/js/date/
Data-Sah-Coerce-0.012/lib/Data/Sah/Coerce/js/date/float_epoch.pm
Data-Sah-Coerce-0.012/lib/Data/Sah/Coerce/js/date/str.pm
Data-Sah-Coerce-0.012/lib/Data/Sah/Coerce/js/date/obj_Date.pm
Data-Sah-Coerce-0.012/lib/Data/Sah/Coerce/js/bool/
Data-Sah-Coerce-0.012/lib/Data/Sah/Coerce/js/bool/str.pm
Data-Sah-Coerce-0.012/lib/Data/Sah/Coerce/js/bool/float.pm
Data-Sah-Coerce-0.012/lib/Data/Sah/Coerce/js/duration/
Data-Sah-Coerce-0.012/lib/Data/Sah/Coerce/js/duration/str_iso8601.pm
Data-Sah-Coerce-0.012/lib/Data/Sah/Coerce/js/duration/float_secs.pm
Data-Sah-Coerce-0.012/lib/Data/Sah/Coerce/perl/
Data-Sah-Coerce-0.012/lib/Data/Sah/Coerce/perl/date/
Data-Sah-Coerce-0.012/lib/Data/Sah/Coerce/perl/date/str_iso8601.pm
Data-Sah-Coerce-0.012/lib/Data/Sah/Coerce/perl/date/float_epoch.pm
Data-Sah-Coerce-0.012/lib/Data/Sah/Coerce/perl/date/obj_TimeMoment.pm
Data-Sah-Coerce-0.012/lib/Data/Sah/Coerce/perl/date/obj_DateTime.pm
Data-Sah-Coerce-0.012/lib/Data/Sah/Coerce/perl/bool/
Data-Sah-Coerce-0.012/lib/Data/Sah/Coerce/perl/bool/str.pm
Data-Sah-Coerce-0.012/lib/Data/Sah/Coerce/perl/duration/
Data-Sah-Coerce-0.012/lib/Data/Sah/Coerce/perl/duration/str_human.pm
Data-Sah-Coerce-0.012/lib/Data/Sah/Coerce/perl/duration/str_iso8601.pm
Data-Sah-Coerce-0.012/lib/Data/Sah/Coerce/perl/duration/obj_DateTimeDuration.pm
Data-Sah-Coerce-0.012/lib/Data/Sah/Coerce/perl/duration/float_secs.pm
Data-Sah-Coerce-0.012/lib/Data/Sah/CoerceJS.pm
Data-Sah-Coerce-0.012/Makefile.PL
Data-Sah-Coerce-0.012/Changes
Data-Sah-Coerce-0.012/dist.ini
Data-Sah-Coerce-0.012/LICENSE
Data-Sah-Coerce-0.012/t/
Data-Sah-Coerce-0.012/t/perl-date.t
Data-Sah-Coerce-0.012/t/00-compile.t
Data-Sah-Coerce-0.012/t/js-duration.t
Data-Sah-Coerce-0.012/t/01-basic.t
Data-Sah-Coerce-0.012/t/perl-duration.t
Data-Sah-Coerce-0.012/t/js-bool.t
Data-Sah-Coerce-0.012/t/release-rinci.t
Data-Sah-Coerce-0.012/t/perl-bool.t
Data-Sah-Coerce-0.012/t/author-pod-syntax.t
Data-Sah-Coerce-0.012/t/author-pod-coverage.t
Data-Sah-Coerce-0.012/t/js-date.t
Data-Sah-Coerce-0.012/weaver.ini
Data-Sah-Coerce-0.012/MANIFEST
Data-Sah-Coerce-0.012/META.json
Data-Sah-Coerce-0.012/META.yml
Configuring P/PE/PERLANCAR/Data-Sah-Coerce-0.012.tar.gz with Makefile.PL
>>> /Users/fly2200/ap2200-299195/bin/perl-dynamic Makefile.PL
Checking if your kit is complete...
Looks good
Have /Users/fly2200/cpanfly-5.22/var/megalib
Want /Users/fly2200/ap2200-299195/lib
Your perl and your Config.pm seem to have different ideas about the
architecture they are running on.
Perl thinks: [megalib]
Config says: [darwin-thread-multi-2level]
This may or may not cause problems. Please check your installation of perl
if you have problems building this extension.
Generating a Unix-style Makefile
Writing Makefile for Data::Sah::Coerce
Writing MYMETA.yml and MYMETA.json
PERLANCAR/Data-Sah-Coerce-0.012.tar.gz
/Users/fly2200/ap2200-299195/bin/perl-dynamic Makefile.PL -- OK
Running make for P/PE/PERLANCAR/Data-Sah-Coerce-0.012.tar.gz
>>> make
cp lib/Data/Sah/Coerce/perl/date/float_epoch.pm blib/lib/Data/Sah/Coerce/perl/date/float_epoch.pm
cp lib/Data/Sah/Coerce/js/bool/str.pm blib/lib/Data/Sah/Coerce/js/bool/str.pm
cp lib/Data/Sah/Coerce/perl/duration/float_secs.pm blib/lib/Data/Sah/Coerce/perl/duration/float_secs.pm
cp lib/Data/Sah/Coerce/perl/date/str_iso8601.pm blib/lib/Data/Sah/Coerce/perl/date/str_iso8601.pm
cp lib/Data/Sah/Coerce/perl/date/obj_TimeMoment.pm blib/lib/Data/Sah/Coerce/perl/date/obj_TimeMoment.pm
cp lib/Data/Sah/Coerce.pm blib/lib/Data/Sah/Coerce.pm
cp lib/Data/Sah/Coerce/perl/duration/str_iso8601.pm blib/lib/Data/Sah/Coerce/perl/duration/str_iso8601.pm
cp lib/Data/Sah/Coerce/perl/duration/obj_DateTimeDuration.pm blib/lib/Data/Sah/Coerce/perl/duration/obj_DateTimeDuration.pm
cp lib/Data/Sah/Coerce/perl/bool/str.pm blib/lib/Data/Sah/Coerce/perl/bool/str.pm
cp lib/Data/Sah/Coerce/js/duration/float_secs.pm blib/lib/Data/Sah/Coerce/js/duration/float_secs.pm
cp lib/Data/Sah/Coerce/js/date/str.pm blib/lib/Data/Sah/Coerce/js/date/str.pm
cp lib/Data/Sah/Coerce/js/date/float_epoch.pm blib/lib/Data/Sah/Coerce/js/date/float_epoch.pm
cp lib/Data/Sah/Coerce/js/bool/float.pm blib/lib/Data/Sah/Coerce/js/bool/float.pm
cp lib/Data/Sah/Coerce/perl/duration/str_human.pm blib/lib/Data/Sah/Coerce/perl/duration/str_human.pm
cp lib/Data/Sah/CoerceJS.pm blib/lib/Data/Sah/CoerceJS.pm
cp lib/Data/Sah/Coerce/js/date/obj_Date.pm blib/lib/Data/Sah/Coerce/js/date/obj_Date.pm
cp lib/Data/Sah/Coerce/js/duration/str_iso8601.pm blib/lib/Data/Sah/Coerce/js/duration/str_iso8601.pm
cp lib/Data/Sah/CoerceCommon.pm blib/lib/Data/Sah/CoerceCommon.pm
cp lib/Data/Sah/Coerce/perl/date/obj_DateTime.pm blib/lib/Data/Sah/Coerce/perl/date/obj_DateTime.pm
Manifying 19 pod documents
PERLANCAR/Data-Sah-Coerce-0.012.tar.gz
make -- OK
Running make test
>>> make test TEST_VERBOSE=1
PERL_DL_NONLAZY=1 "/Users/fly2200/ap2200-299195/bin/perl-dynamic" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
t/00-compile.t ...........
1..19
ok 1 - Data/Sah/Coerce.pm loaded ok
ok 2 - Data/Sah/Coerce/js/bool/float.pm loaded ok
ok 3 - Data/Sah/Coerce/js/bool/str.pm loaded ok
ok 4 - Data/Sah/Coerce/js/date/float_epoch.pm loaded ok
ok 5 - Data/Sah/Coerce/js/date/obj_Date.pm loaded ok
ok 6 - Data/Sah/Coerce/js/date/str.pm loaded ok
ok 7 - Data/Sah/Coerce/js/duration/float_secs.pm loaded ok
ok 8 - Data/Sah/Coerce/js/duration/str_iso8601.pm loaded ok
ok 9 - Data/Sah/Coerce/perl/bool/str.pm loaded ok
ok 10 - Data/Sah/Coerce/perl/date/float_epoch.pm loaded ok
ok 11 - Data/Sah/Coerce/perl/date/obj_DateTime.pm loaded ok
ok 12 - Data/Sah/Coerce/perl/date/obj_TimeMoment.pm loaded ok
ok 13 - Data/Sah/Coerce/perl/date/str_iso8601.pm loaded ok
ok 14 - Data/Sah/Coerce/perl/duration/float_secs.pm loaded ok
ok 15 - Data/Sah/Coerce/perl/duration/obj_DateTimeDuration.pm loaded ok
ok 16 - Data/Sah/Coerce/perl/duration/str_human.pm loaded ok
ok 17 - Data/Sah/Coerce/perl/duration/str_iso8601.pm loaded ok
ok 18 - Data/Sah/CoerceCommon.pm loaded ok
ok 19 - Data/Sah/CoerceJS.pm loaded ok
ok
Coercion rule module 'Data::Sah::Coerce::perl::date::str_alami_id' is still at metadata version 1, will not be used at /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/lib/Data/Sah/CoerceCommon.pm line 219.
Coercion rule module 'Data::Sah::Coerce::perl::date::str_alami_en' is still at metadata version 1, will not be used at /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/lib/Data/Sah/CoerceCommon.pm line 219.
Coercion rule module 'Data::Sah::Coerce::perl::date::str_alami' is still at metadata version 1, will not be used at /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/lib/Data/Sah/CoerceCommon.pm line 219.
Coercion rule module 'Data::Sah::Coerce::perl::date::str_alami_id' is still at metadata version 1, will not be used at /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/lib/Data/Sah/CoerceCommon.pm line 219.
Coercion rule module 'Data::Sah::Coerce::perl::date::str_alami_en' is still at metadata version 1, will not be used at /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/lib/Data/Sah/CoerceCommon.pm line 219.
Coercion rule module 'Data::Sah::Coerce::perl::date::str_alami' is still at metadata version 1, will not be used at /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/lib/Data/Sah/CoerceCommon.pm line 219.
Coercion rule module 'Data::Sah::Coerce::perl::date::str_alami_id' is still at metadata version 1, will not be used at /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/lib/Data/Sah/CoerceCommon.pm line 219.
Coercion rule module 'Data::Sah::Coerce::perl::date::str_alami_en' is still at metadata version 1, will not be used at /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/lib/Data/Sah/CoerceCommon.pm line 219.
Coercion rule module 'Data::Sah::Coerce::perl::date::str_alami' is still at metadata version 1, will not be used at /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/lib/Data/Sah/CoerceCommon.pm line 219.
Coercion rule module 'Data::Sah::Coerce::perl::date::str_alami_id' is still at metadata version 1, will not be used at /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/lib/Data/Sah/CoerceCommon.pm line 219.
Coercion rule module 'Data::Sah::Coerce::perl::date::str_alami_en' is still at metadata version 1, will not be used at /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/lib/Data/Sah/CoerceCommon.pm line 219.
Coercion rule module 'Data::Sah::Coerce::perl::date::str_alami' is still at metadata version 1, will not be used at /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/lib/Data/Sah/CoerceCommon.pm line 219.
t/01-basic.t .............
# Subtest: opt:coerce_rules
# Subtest: unknown name -> dies
ok 1
1..1
ok 1 - unknown name -> dies
# Subtest: unknown name in !name -> ignored
ok 1
ok 2
1..2
ok 2 - unknown name in !name -> ignored
# Subtest: default (date)
ok 1
1..1
ok 3 - default (date)
# Subtest: default (bool)
ok 1
1..1
ok 4 - default (bool)
# Subtest: all
ok 1
ok 2
1..2
ok 5 - all
# Subtest: none
ok 1
1..1
ok 6 - none
# Subtest: only R
ok 1
ok 2
1..2
ok 7 - only R
# Subtest: only /^R/
ok 1
ok 2
1..2
ok 8 - only /^R/
# Subtest: default + R
ok 1
ok 2
1..2
ok 9 - default + R
# Subtest: default + /^R/
ok 1
ok 2
1..2
ok 10 - default + /^R/
# Subtest: default - R
ok 1
ok 2
1..2
ok 11 - default - R
# Subtest: default - /^R/
ok 1
ok 2
1..2
ok 12 - default - /^R/
1..12
ok 1 - opt:coerce_rules
# Subtest: opt:return_type=sah+val
# Subtest: perl
ok 1
ok 2
1..2
ok 1 - perl
# Subtest: js
1..0 # SKIP node.js not available
ok 2 # skip node.js not available
1..2
ok 2 - opt:return_type=sah+val
1..2
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/js-bool.t .............. skipped: node.js is not available
t/js-date.t .............. skipped: node.js is not available
t/js-duration.t .......... skipped: node.js not available
t/perl-bool.t ............
# Subtest: coerce_to=
# Subtest: uncoerced
ok 1 - uncoerced
ok 2 - uncoerced
ok 3 - uncoerced
ok 4 - uncoerced
1..4
ok 1 - uncoerced
1..1
ok 1 - coerce_to=
# Subtest: coerce_to=, +rule str
# Subtest: uncoerced
ok 1 - uncoerced
ok 2 - uncoerced
ok 3 - uncoerced
1..3
ok 1 - uncoerced
# Subtest: from str
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
1..7
ok 2 - from str
1..2
ok 2 - coerce_to=, +rule str
1..2
ok
Coercion rule module 'Data::Sah::Coerce::perl::date::str_alami_id' is still at metadata version 1, will not be used at /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/lib/Data/Sah/CoerceCommon.pm line 219.
Coercion rule module 'Data::Sah::Coerce::perl::date::str_alami_en' is still at metadata version 1, will not be used at /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/lib/Data/Sah/CoerceCommon.pm line 219.
Coercion rule module 'Data::Sah::Coerce::perl::date::str_alami' is still at metadata version 1, will not be used at /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/lib/Data/Sah/CoerceCommon.pm line 219.
Coercion rule module 'Data::Sah::Coerce::perl::date::str_alami_id' is still at metadata version 1, will not be used at /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/lib/Data/Sah/CoerceCommon.pm line 219.
Coercion rule module 'Data::Sah::Coerce::perl::date::str_alami_en' is still at metadata version 1, will not be used at /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/lib/Data/Sah/CoerceCommon.pm line 219.
Coercion rule module 'Data::Sah::Coerce::perl::date::str_alami' is still at metadata version 1, will not be used at /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/lib/Data/Sah/CoerceCommon.pm line 219.
Coercion rule module 'Data::Sah::Coerce::perl::date::str_alami_id' is still at metadata version 1, will not be used at /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/lib/Data/Sah/CoerceCommon.pm line 219.
Coercion rule module 'Data::Sah::Coerce::perl::date::str_alami_en' is still at metadata version 1, will not be used at /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/lib/Data/Sah/CoerceCommon.pm line 219.
Coercion rule module 'Data::Sah::Coerce::perl::date::str_alami' is still at metadata version 1, will not be used at /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/lib/Data/Sah/CoerceCommon.pm line 219.
t/perl-date.t ............
# Subtest: coerce_to=float(epoch)
# Subtest: uncoerced
ok 1 - uncoerced
ok 2
1..2
ok 1 - uncoerced
# Subtest: from float
ok 1
1..1
ok 2 - from float
# Subtest: from DateTime object
ok 1
1..1
ok 3 - from DateTime object
# Subtest: from Time::Moment object
ok 1
1..1
ok 4 - from Time::Moment object
# Subtest: from iso8601 string
ok 1
1..1
ok 5 - from iso8601 string
1..5
ok 1 - coerce_to=float(epoch)
# Subtest: coerce_to=DateTime
# Subtest: uncoerced
ok 1 - uncoerced
ok 2
1..2
ok 1 - uncoerced
# Subtest: from float
ok 1
ok 2
1..2
ok 2 - from float
# Subtest: from DateTime object
ok 1
ok 2
1..2
ok 3 - from DateTime object
# Subtest: from Time::Moment object
ok 1
ok 2
1..2
ok 4 - from Time::Moment object
# Subtest: from iso8601 string
ok 1
ok 2
1..2
ok 5 - from iso8601 string
1..5
ok 2 - coerce_to=DateTime
# Subtest: coerce_to=Time::Moment
# Subtest: uncoerced
ok 1 - uncoerced
ok 2
1..2
ok 1 - uncoerced
# Subtest: from float
ok 1
ok 2
1..2
ok 2 - from float
# Subtest: from DateTime object
ok 1
ok 2
1..2
ok 3 - from DateTime object
# Subtest: from Time::Moment object
ok 1
ok 2
1..2
ok 4 - from Time::Moment object
# Subtest: from iso8601 string
ok 1
ok 2
1..2
ok 5 - from iso8601 string
1..5
ok 3 - coerce_to=Time::Moment
1..3
ok
t/perl-duration.t ........
# Subtest: coerce_to=float(secs)
# Subtest: uncoerced
ok 1 - uncoerced
1..1
ok 1 - uncoerced
# Subtest: from float
ok 1
1..1
ok 2 - from float
# Subtest: from DateTime::Duration object
ok 1
1..1
ok 3 - from DateTime::Duration object
# Subtest: from human string
ok 1
1..1
ok 4 - from human string
# Subtest: from iso8601 string
ok 1
1..1
ok 5 - from iso8601 string
1..5
ok 1 - coerce_to=float(secs)
# Subtest: coerce_to=DateTime::Duration
# Subtest: uncoerced
ok 1 - uncoerced
1..1
ok 1 - uncoerced
# Subtest: from float
ok 1
ok 2
1..2
ok 2 - from float
# Subtest: from DateTime::Duration object
ok 1
ok 2
ok 3
ok 4
1..4
ok 3 - from DateTime::Duration object
# Subtest: from human string
ok 1
ok 2
ok 3
ok 4
1..4
ok 4 - from human string
# Subtest: from iso8601 string
ok 1
ok 2
ok 3
ok 4
1..4
ok 5 - from iso8601 string
1..5
ok 2 - coerce_to=DateTime::Duration
1..2
ok
t/release-rinci.t ........ skipped: these tests are for release candidate testing
All tests successful.
Files=11, Tests=28, 1 wallclock secs ( 0.06 usr 0.02 sys + 0.88 cusr 0.26 csys = 1.22 CPU)
Result: PASS
PERLANCAR/Data-Sah-Coerce-0.012.tar.gz
make test TEST_VERBOSE=1 -- OK
perlancar <perlancar@gmail.com>
Coercion rules for Data::Sah
>>> (cd /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip && tar cvf - Data-Sah-Coerce-0.012.ppd blib) | gzip -c >/Users/fly2200/cpanfly-5.22/var/REPO/P/PE/PERLANCAR/Data-Sah-Coerce-0.012.tar.gz
Data-Sah-Coerce-0.012.ppd
blib/
blib/lib/
blib/lib/Data/
blib/lib/Data/Sah/
blib/lib/Data/Sah/Coerce/
blib/lib/Data/Sah/Coerce/js/
blib/lib/Data/Sah/Coerce/js/bool/
blib/lib/Data/Sah/Coerce/js/bool/float.pm
blib/lib/Data/Sah/Coerce/js/bool/str.pm
blib/lib/Data/Sah/Coerce/js/date/
blib/lib/Data/Sah/Coerce/js/date/float_epoch.pm
blib/lib/Data/Sah/Coerce/js/date/obj_Date.pm
blib/lib/Data/Sah/Coerce/js/date/str.pm
blib/lib/Data/Sah/Coerce/js/duration/
blib/lib/Data/Sah/Coerce/js/duration/float_secs.pm
blib/lib/Data/Sah/Coerce/js/duration/str_iso8601.pm
blib/lib/Data/Sah/Coerce/perl/
blib/lib/Data/Sah/Coerce/perl/bool/
blib/lib/Data/Sah/Coerce/perl/bool/str.pm
blib/lib/Data/Sah/Coerce/perl/date/
blib/lib/Data/Sah/Coerce/perl/date/float_epoch.pm
blib/lib/Data/Sah/Coerce/perl/date/obj_DateTime.pm
blib/lib/Data/Sah/Coerce/perl/date/obj_TimeMoment.pm
blib/lib/Data/Sah/Coerce/perl/date/str_iso8601.pm
blib/lib/Data/Sah/Coerce/perl/duration/
blib/lib/Data/Sah/Coerce/perl/duration/float_secs.pm
blib/lib/Data/Sah/Coerce/perl/duration/obj_DateTimeDuration.pm
blib/lib/Data/Sah/Coerce/perl/duration/str_human.pm
blib/lib/Data/Sah/Coerce/perl/duration/str_iso8601.pm
blib/lib/Data/Sah/Coerce.pm
blib/lib/Data/Sah/CoerceCommon.pm
blib/lib/Data/Sah/CoerceJS.pm
blib/man3/
blib/man3/Data::Sah::Coerce.3
blib/man3/Data::Sah::Coerce::js::bool::float.3
blib/man3/Data::Sah::Coerce::js::bool::str.3
blib/man3/Data::Sah::Coerce::js::date::float_epoch.3
blib/man3/Data::Sah::Coerce::js::date::obj_Date.3
blib/man3/Data::Sah::Coerce::js::date::str.3
blib/man3/Data::Sah::Coerce::js::duration::float_secs.3
blib/man3/Data::Sah::Coerce::js::duration::str_iso8601.3
blib/man3/Data::Sah::Coerce::perl::bool::str.3
blib/man3/Data::Sah::Coerce::perl::date::float_epoch.3
blib/man3/Data::Sah::Coerce::perl::date::obj_DateTime.3
blib/man3/Data::Sah::Coerce::perl::date::obj_TimeMoment.3
blib/man3/Data::Sah::Coerce::perl::date::str_iso8601.3
blib/man3/Data::Sah::Coerce::perl::duration::float_secs.3
blib/man3/Data::Sah::Coerce::perl::duration::obj_DateTimeDuration.3
blib/man3/Data::Sah::Coerce::perl::duration::str_human.3
blib/man3/Data::Sah::Coerce::perl::duration::str_iso8601.3
blib/man3/Data::Sah::CoerceCommon.3
blib/man3/Data::Sah::CoerceJS.3
>>> mv /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/Data-Sah-Coerce-0.012.ppd /Users/fly2200/cpanfly-5.22/var/REPO/P/PE/PERLANCAR
Running test for module 'Data::Sah::Coerce'
PERLANCAR/Data-Sah-Coerce-0.012.tar.gz
Has already been unwrapped into directory /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip
PERLANCAR/Data-Sah-Coerce-0.012.tar.gz
Has already been prepared
PERLANCAR/Data-Sah-Coerce-0.012.tar.gz
Has already been made
PERLANCAR/Data-Sah-Coerce-0.012.tar.gz
Has already been tested successfully
Running test for module 'Perinci::CmdLine::Any'
Prepending /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/arch /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/lib to PERL5LIB for 'get'
Checksum for /Users/fly2200/cpanfly-5.22/var/cpan/sources/authors/id/P/PE/PERLANCAR/Perinci-CmdLine-Any-0.12.tar.gz ok
Perinci-CmdLine-Any-0.12/
Perinci-CmdLine-Any-0.12/README
Perinci-CmdLine-Any-0.12/lib/
Perinci-CmdLine-Any-0.12/lib/Perinci/
Perinci-CmdLine-Any-0.12/lib/Perinci/CmdLine/
Perinci-CmdLine-Any-0.12/lib/Perinci/CmdLine/Any.pm
Perinci-CmdLine-Any-0.12/Makefile.PL
Perinci-CmdLine-Any-0.12/Changes
Perinci-CmdLine-Any-0.12/dist.ini
Perinci-CmdLine-Any-0.12/LICENSE
Perinci-CmdLine-Any-0.12/t/
Perinci-CmdLine-Any-0.12/t/00-compile.t
Perinci-CmdLine-Any-0.12/t/release-pod-coverage.t
Perinci-CmdLine-Any-0.12/t/release-pod-syntax.t
Perinci-CmdLine-Any-0.12/t/release-rinci.t
Perinci-CmdLine-Any-0.12/weaver.ini
Perinci-CmdLine-Any-0.12/MANIFEST
Perinci-CmdLine-Any-0.12/META.json
Perinci-CmdLine-Any-0.12/META.yml
Prepending /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/arch /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/lib to PERL5LIB for 'prepare'
Configuring P/PE/PERLANCAR/Perinci-CmdLine-Any-0.12.tar.gz with Makefile.PL
>>> /Users/fly2200/ap2200-299195/bin/perl-dynamic Makefile.PL
Warning: prerequisite Perinci::CmdLine::Lite 0 not found.
Checking if your kit is complete...
Looks good
Have /Users/fly2200/cpanfly-5.22/var/megalib
Want /Users/fly2200/ap2200-299195/lib
Your perl and your Config.pm seem to have different ideas about the
architecture they are running on.
Perl thinks: [megalib]
Config says: [darwin-thread-multi-2level]
This may or may not cause problems. Please check your installation of perl
if you have problems building this extension.
Generating a Unix-style Makefile
Writing Makefile for Perinci::CmdLine::Any
Writing MYMETA.yml and MYMETA.json
PERLANCAR/Perinci-CmdLine-Any-0.12.tar.gz
/Users/fly2200/ap2200-299195/bin/perl-dynamic Makefile.PL -- OK
Running make for P/PE/PERLANCAR/Perinci-CmdLine-Any-0.12.tar.gz
Prepending /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/arch /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/lib to PERL5LIB for 'make'
---- Unsatisfied dependencies detected during ----
---- PERLANCAR/Perinci-CmdLine-Any-0.12.tar.gz ----
Perinci::CmdLine::Lite [requires]
Running test for module 'Perinci::CmdLine::Lite'
Prepending /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/arch /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/lib to PERL5LIB for 'get'
Checksum for /Users/fly2200/cpanfly-5.22/var/cpan/sources/authors/id/P/PE/PERLANCAR/Perinci-CmdLine-Lite-1.55.tar.gz ok
Perinci-CmdLine-Lite-1.55/
Perinci-CmdLine-Lite-1.55/README
Perinci-CmdLine-Lite-1.55/lib/
Perinci-CmdLine-Lite-1.55/lib/Perinci/
Perinci-CmdLine-Lite-1.55/lib/Perinci/CmdLine/
Perinci-CmdLine-Lite-1.55/lib/Perinci/CmdLine/Lite.pm
Perinci-CmdLine-Lite-1.55/lib/Perinci/CmdLine/Base.pm
Perinci-CmdLine-Lite-1.55/lib/Perinci/CmdLine/Util/
Perinci-CmdLine-Lite-1.55/lib/Perinci/CmdLine/Util/Config.pm
Perinci-CmdLine-Lite-1.55/Makefile.PL
Perinci-CmdLine-Lite-1.55/share/
Perinci-CmdLine-Lite-1.55/share/templates/
Perinci-CmdLine-Lite-1.55/share/templates/description.txt
Perinci-CmdLine-Lite-1.55/share/templates/synopsis.txt
Perinci-CmdLine-Lite-1.55/Changes
Perinci-CmdLine-Lite-1.55/dist.ini
Perinci-CmdLine-Lite-1.55/LICENSE
Perinci-CmdLine-Lite-1.55/t/
Perinci-CmdLine-Lite-1.55/t/00-compile.t
Perinci-CmdLine-Lite-1.55/t/suite.t
Perinci-CmdLine-Lite-1.55/t/release-rinci.t
Perinci-CmdLine-Lite-1.55/t/author-pod-syntax.t
Perinci-CmdLine-Lite-1.55/t/author-pod-coverage.t
Perinci-CmdLine-Lite-1.55/weaver.ini
Perinci-CmdLine-Lite-1.55/MANIFEST
Perinci-CmdLine-Lite-1.55/META.json
Perinci-CmdLine-Lite-1.55/META.yml
Perinci-CmdLine-Lite-1.55/devscripts/
Perinci-CmdLine-Lite-1.55/devscripts/bench-startup
Prepending /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/arch /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/lib to PERL5LIB for 'prepare'
Configuring P/PE/PERLANCAR/Perinci-CmdLine-Lite-1.55.tar.gz with Makefile.PL
>>> /Users/fly2200/ap2200-299195/bin/perl-dynamic Makefile.PL
Warning: prerequisite Progress::Any::Output::TermProgressBarColor 0.17 not found.
Checking if your kit is complete...
Looks good
Have /Users/fly2200/cpanfly-5.22/var/megalib
Want /Users/fly2200/ap2200-299195/lib
Your perl and your Config.pm seem to have different ideas about the
architecture they are running on.
Perl thinks: [megalib]
Config says: [darwin-thread-multi-2level]
This may or may not cause problems. Please check your installation of perl
if you have problems building this extension.
Generating a Unix-style Makefile
Writing Makefile for Perinci::CmdLine::Lite
Writing MYMETA.yml and MYMETA.json
PERLANCAR/Perinci-CmdLine-Lite-1.55.tar.gz
/Users/fly2200/ap2200-299195/bin/perl-dynamic Makefile.PL -- OK
Running make for P/PE/PERLANCAR/Perinci-CmdLine-Lite-1.55.tar.gz
Prepending /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/arch /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/lib to PERL5LIB for 'make'
---- Unsatisfied dependencies detected during ----
---- PERLANCAR/Perinci-CmdLine-Lite-1.55.tar.gz ----
Progress::Any::Output::TermProgressBarColor [requires]
Running test for module 'Progress::Any::Output::TermProgressBarColor'
Prepending /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/arch /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/lib to PERL5LIB for 'get'
Checksum for /Users/fly2200/cpanfly-5.22/var/cpan/sources/authors/id/P/PE/PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.22.tar.gz ok
Progress-Any-Output-TermProgressBarColor-0.22/
Progress-Any-Output-TermProgressBarColor-0.22/README
Progress-Any-Output-TermProgressBarColor-0.22/lib/
Progress-Any-Output-TermProgressBarColor-0.22/lib/Progress/
Progress-Any-Output-TermProgressBarColor-0.22/lib/Progress/Any/
Progress-Any-Output-TermProgressBarColor-0.22/lib/Progress/Any/Output/
Progress-Any-Output-TermProgressBarColor-0.22/lib/Progress/Any/Output/TermProgressBarColor.pm
Progress-Any-Output-TermProgressBarColor-0.22/Makefile.PL
Progress-Any-Output-TermProgressBarColor-0.22/Changes
Progress-Any-Output-TermProgressBarColor-0.22/dist.ini
Progress-Any-Output-TermProgressBarColor-0.22/LICENSE
Progress-Any-Output-TermProgressBarColor-0.22/t/
Progress-Any-Output-TermProgressBarColor-0.22/t/00-compile.t
Progress-Any-Output-TermProgressBarColor-0.22/t/01-basic.t
Progress-Any-Output-TermProgressBarColor-0.22/t/author-pod-syntax.t
Progress-Any-Output-TermProgressBarColor-0.22/t/author-pod-coverage.t
Progress-Any-Output-TermProgressBarColor-0.22/weaver.ini
Progress-Any-Output-TermProgressBarColor-0.22/MANIFEST
Progress-Any-Output-TermProgressBarColor-0.22/META.json
Progress-Any-Output-TermProgressBarColor-0.22/META.yml
Prepending /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/arch /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/lib to PERL5LIB for 'prepare'
Configuring P/PE/PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.22.tar.gz with Makefile.PL
>>> /Users/fly2200/ap2200-299195/bin/perl-dynamic Makefile.PL
Checking if your kit is complete...
Looks good
Have /Users/fly2200/cpanfly-5.22/var/megalib
Want /Users/fly2200/ap2200-299195/lib
Your perl and your Config.pm seem to have different ideas about the
architecture they are running on.
Perl thinks: [megalib]
Config says: [darwin-thread-multi-2level]
This may or may not cause problems. Please check your installation of perl
if you have problems building this extension.
Generating a Unix-style Makefile
Writing Makefile for Progress::Any::Output::TermProgressBarColor
Writing MYMETA.yml and MYMETA.json
PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.22.tar.gz
/Users/fly2200/ap2200-299195/bin/perl-dynamic Makefile.PL -- OK
Running make for P/PE/PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.22.tar.gz
Prepending /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/arch /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/lib to PERL5LIB for 'make'
>>> make
cp lib/Progress/Any/Output/TermProgressBarColor.pm blib/lib/Progress/Any/Output/TermProgressBarColor.pm
Manifying 1 pod document
PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.22.tar.gz
make -- OK
Prepending /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/arch /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/lib to PERL5LIB for 'test'
Running make test
>>> make test TEST_VERBOSE=1
PERL_DL_NONLAZY=1 "/Users/fly2200/ap2200-299195/bin/perl-dynamic" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
t/00-compile.t ...........
1..1
ok 1 - Progress/Any/Output/TermProgressBarColor.pm loaded ok
ok
# Failed test at t/01-basic.t line 18.
# '[33;1m 10% [][33;1m1s left [0m'
# doesn't match '(?^:foo)'
# Looks like you failed 1 test of 2.
# Failed test 'default'
# at t/01-basic.t line 20.
# Failed test at t/01-basic.t line 28.
# 'Use of uninitialized value $cd in numeric ge (>=) at /Users/fly2200/cpanfly-5.22/var/megalib/Color/ANSI/Util.pm line 281.
# Use of uninitialized value $cd in numeric ge (>=) at /Users/fly2200/cpanfly-5.22/var/megalib/Color/ANSI/Util.pm line 283.
# Use of uninitialized value $cd in numeric ge (>=) at /Users/fly2200/cpanfly-5.22/var/megalib/Color/ANSI/Util.pm line 281.
# Use of uninitialized value $cd in numeric ge (>=) at /Users/fly2200/cpanfly-5.22/var/megalib/Color/ANSI/Util.pm line 283.
# [33;1m 20% [][33;1m1s left [0m'
# doesn't match '(?^:foo)'
# Looks like you failed 1 test of 2.
# Failed test 'fh option'
# at t/01-basic.t line 30.
# Failed test at t/01-basic.t line 41.
# '[33;1m 30% [][33;1m1s left [0m'
# doesn't match '(?^:foo)'
# Looks like you failed 1 test of 2.
# Failed test 'default (wide)'
# at t/01-basic.t line 43.
# Looks like you failed 3 tests of 3.
t/01-basic.t .............
# Subtest: default
not ok 1
ok 2
1..2
not ok 1 - default
# Subtest: fh option
not ok 1
ok 2
1..2
not ok 2 - fh option
# Subtest: default (wide)
not ok 1
ok 2
1..2
not ok 3 - default (wide)
1..3
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/3 subtests
t/author-pod-coverage.t .. skipped: these tests are for testing by the author
t/author-pod-syntax.t .... skipped: these tests are for testing by the author
Test Summary Report
-------------------
t/01-basic.t (Wstat: 768 Tests: 3 Failed: 3)
Failed tests: 1-3
Non-zero exit status: 3
Files=4, Tests=4, 0 wallclock secs ( 0.04 usr 0.00 sys + 0.25 cusr 0.06 csys = 0.35 CPU)
Result: FAIL
Failed 1/4 test programs. 3/4 subtests failed.
make: *** [test_dynamic] Error 255
PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.22.tar.gz
make test TEST_VERBOSE=1 -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.22.tar.gz
PERLANCAR/Perinci-CmdLine-Lite-1.55.tar.gz
Has already been unwrapped into directory /Users/fly2200/cpanfly-5.22/var/cpan/build/Perinci-CmdLine-Lite-1.55-OqtnIs
PERLANCAR/Perinci-CmdLine-Lite-1.55.tar.gz
Has already been prepared
Running make for P/PE/PERLANCAR/Perinci-CmdLine-Lite-1.55.tar.gz
Prepending /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/arch /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/lib to PERL5LIB for 'make'
Warning: Prerequisite 'Progress::Any::Output::TermProgressBarColor => 0.17' for 'PERLANCAR/Perinci-CmdLine-Lite-1.55.tar.gz' failed when processing 'PERLANCAR/Progress-Any-Output-TermProgressBarColor-0.22.tar.gz' with 'make_test => NO'. Continuing, but chances to succeed are limited.
>>> make
cp share/templates/description.txt blib/lib/auto/share/dist/Perinci-CmdLine-Lite/templates/description.txt
cp share/templates/synopsis.txt blib/lib/auto/share/dist/Perinci-CmdLine-Lite/templates/synopsis.txt
cp lib/Perinci/CmdLine/Lite.pm blib/lib/Perinci/CmdLine/Lite.pm
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
Manifying 3 pod documents
PERLANCAR/Perinci-CmdLine-Lite-1.55.tar.gz
make -- OK
Prepending /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/arch /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/lib to PERL5LIB for 'test'
Running make test
>>> make test TEST_VERBOSE=1
Skip blib/lib/auto/share/dist/Perinci-CmdLine-Lite/templates/synopsis.txt (unchanged)
Skip blib/lib/auto/share/dist/Perinci-CmdLine-Lite/templates/description.txt (unchanged)
PERL_DL_NONLAZY=1 "/Users/fly2200/ap2200-299195/bin/perl-dynamic" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
t/00-compile.t ...........
1..3
ok 1 - Perinci/CmdLine/Base.pm loaded ok
ok 2 - Perinci/CmdLine/Lite.pm loaded ok
ok 3 - Perinci/CmdLine/Util/Config.pm loaded ok
ok
t/author-pod-coverage.t .. skipped: these tests are for testing by the author
t/author-pod-syntax.t .... skipped: these tests are for testing by the author
t/release-rinci.t ........ skipped: these tests are for release candidate testing
t/suite.t ................
# Subtest: help action
ok 1 - dummy
# Subtest: --help
# Generated CLI script at /tmp/igc8eSodgX/cliX60Pcrkq
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/cliX60Pcrkq',
# '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/igc8eSodgX/cliMKTr8pwU
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/cliMKTr8pwU',
# '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/igc8eSodgX/cliTJOmOx4I
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/cliTJOmOx4I',
# '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/igc8eSodgX/cliXIRIXxJ9
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/cliXIRIXxJ9',
# '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/igc8eSodgX/clizLiNfyHn
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/clizLiNfyHn',
# '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/igc8eSodgX/cliNeyNCWLn
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/cliNeyNCWLn',
# '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/igc8eSodgX/clijKki3efZ
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/clijKki3efZ',
# '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/igc8eSodgX/clijCIymqD9
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'default_subcommand' => 'noop',
# 'output_file' => '/tmp/igc8eSodgX/clijCIymqD9',
# '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/igc8eSodgX/cli2Qv1TlIi
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'default_subcommand' => 'odd_even',
# 'output_file' => '/tmp/igc8eSodgX/cli2Qv1TlIi',
# '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/igc8eSodgX/cliDnmbPM2V
# 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/igc8eSodgX/cliDnmbPM2V',
# '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/igc8eSodgX/cliacO3Z1FR
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/cliacO3Z1FR',
# '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/igc8eSodgX/cliVwZnHPvK
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/cliVwZnHPvK',
# '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/igc8eSodgX/cli3I6lvZvJ
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/cli3I6lvZvJ',
# '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/igc8eSodgX/cliZFCNK6sb
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/cliZFCNK6sb',
# '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/igc8eSodgX/cliG0Kzovn1
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/cliG0Kzovn1',
# '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/igc8eSodgX/cliIdidEhEN
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/cliIdidEhEN',
# '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/igc8eSodgX/cliq2tpilXF
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'default_subcommand' => 'noop',
# 'output_file' => '/tmp/igc8eSodgX/cliq2tpilXF',
# '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/igc8eSodgX/cliyQMSqiKR
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/cliyQMSqiKR',
# '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/igc8eSodgX/cli_1aVu3Jd
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/cli_1aVu3Jd',
# '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/igc8eSodgX/cli3QKAjNf3
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/cli3QKAjNf3',
# '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/igc8eSodgX/cli6It3p6Dk
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/cli6It3p6Dk',
# '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/igc8eSodgX/cliVBTaWTOv
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/cliVBTaWTOv',
# '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/igc8eSodgX/cliP5xf5piv
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/cliP5xf5piv',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file'
# }
# argv: [
# '--a1',
# '/tmp/igc8eSodgX/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/igc8eSodgX/clihrRDzPQL
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/clihrRDzPQL',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file'
# }
# argv: [
# '--json',
# '--a1',
# '/tmp/igc8eSodgX/infile1'
# ]
# Script's stdout: <[200,"OK","a1=foo\na2=[]",{"func.args":{"-cmdline_src_a1":"file","-cmdline_srcfilenames_a1":["/tmp/igc8eSodgX/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/igc8eSodgX/clixM6xFCH9
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/clixM6xFCH9',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file'
# }
# argv: [
# '--a1',
# '/tmp/igc8eSodgX/infile1',
# '--a2',
# '/tmp/igc8eSodgX/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/igc8eSodgX/cliT1X4DF5n
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/cliT1X4DF5n',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file'
# }
# argv: [
# '--json',
# '--a1',
# '/tmp/igc8eSodgX/infile1',
# '--a2',
# '/tmp/igc8eSodgX/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/igc8eSodgX/infile1"],"-cmdline_srcfilenames_a2":["/tmp/igc8eSodgX/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/igc8eSodgX/cliSNpJvYfD
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/cliSNpJvYfD',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file'
# }
# argv: [
# '--a1',
# '/tmp/igc8eSodgX/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/igc8eSodgX/clismBKZ0_J
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/clismBKZ0_J',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_file'
# }
# argv: [
# '--a2',
# '/tmp/igc8eSodgX/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/igc8eSodgX/clikud9RQLG
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/clikud9RQLG',
# '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/igc8eSodgX/clikCqkhI6w
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/clikCqkhI6w',
# '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/igc8eSodgX/cliOmPYZ6Ls
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/cliOmPYZ6Ls',
# '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/igc8eSodgX/cliHwjZJPBe
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/cliHwjZJPBe',
# '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/igc8eSodgX/cli3J6ytjLo
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/cli3J6ytjLo',
# '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/igc8eSodgX/cliyWnRJBHd
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/cliyWnRJBHd',
# '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/igc8eSodgX/cliJbtbV2Wr
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/cliJbtbV2Wr',
# '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/igc8eSodgX/clibwfXIAZx
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/clibwfXIAZx',
# '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/igc8eSodgX/cliesBhgx9K
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/cliesBhgx9K',
# '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/igc8eSodgX/cliXzbqyLzm
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/cliXzbqyLzm',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_file_str'
# }
# argv: [
# '/tmp/igc8eSodgX/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/igc8eSodgX/cligL6KFLFK
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/cligL6KFLFK',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_file_str'
# }
# argv: [
# '/tmp/igc8eSodgX/infile1',
# '/tmp/igc8eSodgX/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/igc8eSodgX/cli0qaNR1cw
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/cli0qaNR1cw',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_file_str'
# }
# argv: [
# '--json',
# '/tmp/igc8eSodgX/infile1'
# ]
# Script's stdout: <[200,"OK","a1=foo",{"func.args":{"-cmdline_src_a1":"stdin_or_file","-cmdline_srcfilenames_a1":["/tmp/igc8eSodgX/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/igc8eSodgX/cli1K2f2AAX
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/cli1K2f2AAX',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_file_str'
# }
# argv: [
# '/tmp/igc8eSodgX/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/igc8eSodgX/cliP4EkzhBI
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/cliP4EkzhBI',
# '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/igc8eSodgX/cliMH3IXNxa
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/cliMH3IXNxa',
# '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/igc8eSodgX/cliyJ6JFJFC
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/cliyJ6JFJFC',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_files_array'
# }
# argv: [
# '/tmp/igc8eSodgX/infile1',
# '/tmp/igc8eSodgX/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/igc8eSodgX/clibRc6kTTw
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/clibRc6kTTw',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_files_str'
# }
# argv: [
# '--json',
# '/tmp/igc8eSodgX/infile1'
# ]
# Script's stdout: <[200,"OK","a1=foo",{"func.args":{"-cmdline_src_a1":"stdin_or_files","-cmdline_srcfilenames_a1":["/tmp/igc8eSodgX/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/igc8eSodgX/clii5KxKqsF
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/clii5KxKqsF',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_files_str'
# }
# argv: [
# '/tmp/igc8eSodgX/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/igc8eSodgX/clixy4QbcEp
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/clixy4QbcEp',
# '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/igc8eSodgX/cli_7737Epq
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/cli_7737Epq',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_files_array'
# }
# argv: []
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 6 - stdin_or_files stdin str
1..6
ok 10 - cmdline_src (stdin_or_files)
# Subtest: cmdline_src (stdin_or_args)
ok 1 - dummy
# Subtest: from arg
# Generated CLI script at /tmp/igc8eSodgX/clieo6xogus
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/clieo6xogus',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_args_array'
# }
# argv: [
# '--a1',
# 'x'
# ]
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 2 - from arg
# Subtest: from stdin
# Generated CLI script at /tmp/igc8eSodgX/cli80EHgOmJ
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/cli80EHgOmJ',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineSrc/cmdline_src_stdin_or_args_array'
# }
# argv: []
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 3 - from stdin
1..3
ok 11 - cmdline_src (stdin_or_args)
# Subtest: dry-run
ok 1 - dummy
# Subtest: dry-run (via env, 0)
# Generated CLI script at /tmp/igc8eSodgX/cliafm9kY1K
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/cliafm9kY1K',
# '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/igc8eSodgX/cliBTVWoKim
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/cliBTVWoKim',
# '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/igc8eSodgX/clisoBMlbl2
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/clisoBMlbl2',
# '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 12 - dry-run
# Subtest: tx
ok 1 - dummy
# Subtest: dry_run (using tx) (w/o)
1..0 # SKIP Has one of the exclude_tag: tx
ok 2 # skip Has one of the exclude_tag: tx
# Subtest: dry_run (using tx) (w/)
1..0 # SKIP Has one of the exclude_tag: tx
ok 3 # skip Has one of the exclude_tag: tx
1..3
ok 13 - tx
# Subtest: streaming
ok 1 - dummy
# Subtest: stream input, simple type, chomp on
# Generated CLI script at /tmp/igc8eSodgX/cli2H8Prwct
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/cli2H8Prwct',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/Stream/count_lines'
# }
# argv: [
# '/tmp/igc8eSodgX/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/igc8eSodgX/cliBkWC7JIY
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/cliBkWC7JIY',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/Stream/wc'
# }
# argv: [
# '/tmp/igc8eSodgX/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/igc8eSodgX/cliYb5tWwSx
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/cliYb5tWwSx',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/Stream/wc_keys'
# }
# argv: [
# '/tmp/igc8eSodgX/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/igc8eSodgX/clibjI8JASA
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/clibjI8JASA',
# '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/igc8eSodgX/clidNGl_yeX
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/clidNGl_yeX',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/Stream/square_nums'
# }
# argv: [
# '/tmp/igc8eSodgX/infile-int'
# ]
# Script's stdout: <1
# 9
# 25
# >
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 12 - stream input+result, simple type, float validation
# Subtest: stream input+result, simple type, float validation, error
1..0 # SKIP Has one of the exclude_tag: validate-streaming-input
ok 13 # skip Has one of the exclude_tag: validate-streaming-input
1..13
ok 14 - streaming
# Subtest: result metadata
ok 1 - dummy
# Subtest: cmdline.exit_code
# Generated CLI script at /tmp/igc8eSodgX/cli7ptymZNY
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/cli7ptymZNY',
# '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/igc8eSodgX/clig8sc0tf3
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/clig8sc0tf3',
# '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/igc8eSodgX/cliqxsiiBlN
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/cliqxsiiBlN',
# '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/igc8eSodgX/clic6AA0aaB
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/clic6AA0aaB',
# '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/igc8eSodgX/cli_4TNy8gF
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/cli_4TNy8gF',
# 'overwrite' => 1,
# 'read_config' => 0,
# 'read_env' => 0,
# 'url' => '/Perinci/Examples/CmdLineResMeta/skip_format'
# }
# argv: []
# Script's stdout:
# Script's stderr: <>
ok 1 - exit_code
ok 2 - stdout_like
1..2
ok 6 - cmdline.skip_format
1..6
ok 15 - result metadata
# Subtest: completion
ok 1 - dummy
# Subtest: self-completion works
# Generated CLI script at /tmp/igc8eSodgX/climgmgQARF
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/climgmgQARF',
# '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/igc8eSodgX/clihUPOEtyY
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/clihUPOEtyY',
# '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/igc8eSodgX/clirc6mS84W
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/clirc6mS84W',
# '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 16 - completion
# Subtest: env
ok 1 - dummy
# Subtest: env read
# Generated CLI script at /tmp/igc8eSodgX/cliC5oJdixC
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/cliC5oJdixC',
# '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/igc8eSodgX/cli3MWGCpXS
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/cli3MWGCpXS',
# '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/igc8eSodgX/clipWoze7hS
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'env_name' => 'foo_opt',
# 'output_file' => '/tmp/igc8eSodgX/clipWoze7hS',
# '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 17 - env
# Subtest: config file
ok 1 - dummy
# Subtest: attr:config_dirs
# Generated CLI script at /tmp/igc8eSodgX/clilWOT9XJA
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'config_dirs' => [
# '/tmp/igc8eSodgX'
# ],
# 'output_file' => '/tmp/igc8eSodgX/clilWOT9XJA',
# '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/igc8eSodgX/cli08bi8WE9
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'config_dirs' => [
# '/tmp/igc8eSodgX'
# ],
# 'config_filename' => 'prog2.conf',
# 'output_file' => '/tmp/igc8eSodgX/cli08bi8WE9',
# '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/igc8eSodgX/cliiT0Dbn4a
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'config_dirs' => [
# '/tmp/igc8eSodgX'
# ],
# 'output_file' => '/tmp/igc8eSodgX/cliiT0Dbn4a',
# '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/igc8eSodgX/cliH7EXcLYx
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'output_file' => '/tmp/igc8eSodgX/cliH7EXcLYx',
# 'overwrite' => 1,
# 'read_config' => 1,
# 'read_env' => 0,
# 'script_name' => 'prog',
# 'url' => '/Perinci/Examples/noop2'
# }
# argv: [
# '--config-path',
# '/tmp/igc8eSodgX/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/igc8eSodgX/cliTL9e1kMB
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'config_dirs' => [
# '/tmp/igc8eSodgX'
# ],
# 'output_file' => '/tmp/igc8eSodgX/cliTL9e1kMB',
# '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/igc8eSodgX/cliek26Fxzt
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'config_dirs' => [
# '/tmp/igc8eSodgX'
# ],
# 'output_file' => '/tmp/igc8eSodgX/cliek26Fxzt',
# '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/igc8eSodgX/cliF3tADy1H
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'config_dirs' => [
# '/tmp/igc8eSodgX'
# ],
# 'output_file' => '/tmp/igc8eSodgX/cliF3tADy1H',
# '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/igc8eSodgX/cliBAJd6IUk
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'config_dirs' => [
# '/tmp/igc8eSodgX'
# ],
# 'output_file' => '/tmp/igc8eSodgX/cliBAJd6IUk',
# '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/igc8eSodgX/clit9ceSfYA
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'config_dirs' => [
# '/tmp/igc8eSodgX'
# ],
# 'output_file' => '/tmp/igc8eSodgX/clit9ceSfYA',
# '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/igc8eSodgX/cliDoTqSA7G
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'config_dirs' => [
# '/tmp/igc8eSodgX'
# ],
# 'output_file' => '/tmp/igc8eSodgX/cliDoTqSA7G',
# '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/igc8eSodgX/cliTZWNPJCf
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'config_dirs' => [
# '/tmp/igc8eSodgX'
# ],
# 'output_file' => '/tmp/igc8eSodgX/cliTZWNPJCf',
# '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/igc8eSodgX/cli2W3srR8T
# gen_pericmd_script args: {
# 'cmdline' => 'Perinci::CmdLine::Lite',
# 'config_dirs' => [
# '/tmp/igc8eSodgX'
# ],
# 'output_file' => '/tmp/igc8eSodgX/cli2W3srR8T',
# '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 18 - config file
# all tests successful, deleting tempdir /tmp/igc8eSodgX
1..18
ok
All tests successful.
Files=5, Tests=21, 14 wallclock secs ( 0.13 usr 0.01 sys + 8.74 cusr 1.76 csys = 10.64 CPU)
Result: PASS
PERLANCAR/Perinci-CmdLine-Lite-1.55.tar.gz
Tests succeeded but one dependency not OK (Progress::Any::Output::TermProgressBarColor)
PERLANCAR/Perinci-CmdLine-Lite-1.55.tar.gz
[dependencies] -- NA
PERLANCAR/Perinci-CmdLine-Any-0.12.tar.gz
Has already been unwrapped into directory /Users/fly2200/cpanfly-5.22/var/cpan/build/Perinci-CmdLine-Any-0.12-oPqZWE
PERLANCAR/Perinci-CmdLine-Any-0.12.tar.gz
Has already been prepared
Running make for P/PE/PERLANCAR/Perinci-CmdLine-Any-0.12.tar.gz
Prepending /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/arch /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/lib to PERL5LIB for 'make'
Warning: Prerequisite 'Perinci::CmdLine::Lite => 0' for 'PERLANCAR/Perinci-CmdLine-Any-0.12.tar.gz' failed when processing 'PERLANCAR/Perinci-CmdLine-Lite-1.55.tar.gz' with 'make_test => NO one dependency not OK (Progress::Any::Output::TermProgressBarColor)'. Continuing, but chances to succeed are limited.
>>> make
cp lib/Perinci/CmdLine/Any.pm blib/lib/Perinci/CmdLine/Any.pm
Manifying 1 pod document
PERLANCAR/Perinci-CmdLine-Any-0.12.tar.gz
make -- OK
Prepending /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/arch /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/lib to PERL5LIB for 'test'
Running make test
>>> make test TEST_VERBOSE=1
PERL_DL_NONLAZY=1 "/Users/fly2200/ap2200-299195/bin/perl-dynamic" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
t/00-compile.t ............
1..1
ok 1 - Perinci/CmdLine/Any.pm loaded ok
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=4, Tests=1, 0 wallclock secs ( 0.03 usr 0.01 sys + 0.11 cusr 0.03 csys = 0.18 CPU)
Result: PASS
PERLANCAR/Perinci-CmdLine-Any-0.12.tar.gz
Tests succeeded but one dependency not OK (Perinci::CmdLine::Lite)
PERLANCAR/Perinci-CmdLine-Any-0.12.tar.gz
[dependencies] -- NA
Running test for module 'Data::Sah::CoerceCommon'
PERLANCAR/Data-Sah-Coerce-0.012.tar.gz
Has already been unwrapped into directory /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip
PERLANCAR/Data-Sah-Coerce-0.012.tar.gz
Has already been prepared
PERLANCAR/Data-Sah-Coerce-0.012.tar.gz
Has already been made
PERLANCAR/Data-Sah-Coerce-0.012.tar.gz
Has already been tested successfully
PERLANCAR/App-SahUtils-0.28.tar.gz
Has already been unwrapped into directory /Users/fly2200/cpanfly-5.22/var/cpan/build/App-SahUtils-0.28-EIC1hN
PERLANCAR/App-SahUtils-0.28.tar.gz
Has already been prepared
Running make for P/PE/PERLANCAR/App-SahUtils-0.28.tar.gz
Prepending /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/arch /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/lib to PERL5LIB for 'make'
Warning: Prerequisite 'Perinci::CmdLine::Any => 0.09' for 'PERLANCAR/App-SahUtils-0.28.tar.gz' failed when processing 'PERLANCAR/Perinci-CmdLine-Any-0.12.tar.gz' with 'make_test => NO one dependency not OK (Perinci::CmdLine::Lite)'. Continuing, but chances to succeed are limited.
>>> make
cp lib/App/SahUtils.pm blib/lib/App/SahUtils.pm
cp bin/sah-to-human blib/script/sah-to-human
"/Users/fly2200/ap2200-299195/bin/perl-dynamic" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/sah-to-human
cp bin/list-sah-schema-modules blib/script/list-sah-schema-modules
"/Users/fly2200/ap2200-299195/bin/perl-dynamic" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/list-sah-schema-modules
cp bin/show-sah-schema-module blib/script/show-sah-schema-module
"/Users/fly2200/ap2200-299195/bin/perl-dynamic" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/show-sah-schema-module
cp bin/coerce-with-sah blib/script/coerce-with-sah
"/Users/fly2200/ap2200-299195/bin/perl-dynamic" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/coerce-with-sah
cp bin/normalize-sah-schema blib/script/normalize-sah-schema
"/Users/fly2200/ap2200-299195/bin/perl-dynamic" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/normalize-sah-schema
cp bin/validate-with-sah blib/script/validate-with-sah
"/Users/fly2200/ap2200-299195/bin/perl-dynamic" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/validate-with-sah
Manifying 6 pod documents
Manifying 1 pod document
PERLANCAR/App-SahUtils-0.28.tar.gz
make -- OK
Prepending /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/arch /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/lib to PERL5LIB for 'test'
Running make test
>>> make test TEST_VERBOSE=1
PERL_DL_NONLAZY=1 "/Users/fly2200/ap2200-299195/bin/perl-dynamic" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
# Failed test 'bin/coerce-with-sah compiled ok'
# at t/00-compile.t line 70.
# got: '512'
# expected: '0'
Can't locate Perinci/CmdLine/Any.pm in @INC (you may need to install the Perinci::CmdLine::Any module) (@INC contains: /Users/fly2200/cpanfly-5.22/var/cpan/build/App-SahUtils-0.28-EIC1hN/blib/arch /Users/fly2200/cpanfly-5.22/var/cpan/build/App-SahUtils-0.28-EIC1hN/blib/lib /Users/fly2200/cpanfly-5.22/var/cpan/build/App-SahUtils-0.28-EIC1hN/blib/lib /Users/fly2200/cpanfly-5.22/var/cpan/build/App-SahUtils-0.28-EIC1hN/blib/arch /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/arch /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/lib /Users/fly2200/cpanfly-5.22/var/megalib /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/arch /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/lib /Users/fly2200/cpanfly-5.22/var/megalib /Users/fly2200/Library/ActivePerl-5.22/lib /Users/fly2200/ap2200-299195/site/lib /Users/fly2200/ap2200-299195/lib .) at bin/coerce-with-sah line 10.BEGIN failed--compilation aborted at bin/coerce-with-sah line 10. at t/00-compile.t line 79, line 2.
# Failed test 'bin/sah-to-human compiled ok'
# at t/00-compile.t line 70.
# got: '512'
# expected: '0'
Can't locate Perinci/CmdLine/Any.pm in @INC (you may need to install the Perinci::CmdLine::Any module) (@INC contains: /Users/fly2200/cpanfly-5.22/var/cpan/build/App-SahUtils-0.28-EIC1hN/blib/arch /Users/fly2200/cpanfly-5.22/var/cpan/build/App-SahUtils-0.28-EIC1hN/blib/lib /Users/fly2200/cpanfly-5.22/var/cpan/build/App-SahUtils-0.28-EIC1hN/blib/lib /Users/fly2200/cpanfly-5.22/var/cpan/build/App-SahUtils-0.28-EIC1hN/blib/arch /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/arch /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/lib /Users/fly2200/cpanfly-5.22/var/megalib /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/arch /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/lib /Users/fly2200/cpanfly-5.22/var/megalib /Users/fly2200/Library/ActivePerl-5.22/lib /Users/fly2200/ap2200-299195/site/lib /Users/fly2200/ap2200-299195/lib .) at bin/sah-to-human line 10.BEGIN failed--compilation aborted at bin/sah-to-human line 10. at t/00-compile.t line 79, line 2.
# Failed test 'bin/show-sah-schema-module compiled ok'
# at t/00-compile.t line 70.
# got: '512'
# expected: '0'
Can't locate Perinci/CmdLine/Any.pm in @INC (you may need to install the Perinci::CmdLine::Any module) (@INC contains: /Users/fly2200/cpanfly-5.22/var/cpan/build/App-SahUtils-0.28-EIC1hN/blib/arch /Users/fly2200/cpanfly-5.22/var/cpan/build/App-SahUtils-0.28-EIC1hN/blib/lib /Users/fly2200/cpanfly-5.22/var/cpan/build/App-SahUtils-0.28-EIC1hN/blib/lib /Users/fly2200/cpanfly-5.22/var/cpan/build/App-SahUtils-0.28-EIC1hN/blib/arch /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/arch /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/lib /Users/fly2200/cpanfly-5.22/var/megalib /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/arch /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/lib /Users/fly2200/cpanfly-5.22/var/megalib /Users/fly2200/Library/ActivePerl-5.22/lib /Users/fly2200/ap2200-299195/site/lib /Users/fly2200/ap2200-299195/lib .) at bin/show-sah-schema-module line 9.BEGIN failed--compilation aborted at bin/show-sah-schema-module line 9. at t/00-compile.t line 79, line 2.
# Failed test 'bin/validate-with-sah compiled ok'
# at t/00-compile.t line 70.
# got: '512'
# expected: '0'
Can't locate Perinci/CmdLine/Any.pm in @INC (you may need to install the Perinci::CmdLine::Any module) (@INC contains: /Users/fly2200/cpanfly-5.22/var/cpan/build/App-SahUtils-0.28-EIC1hN/blib/arch /Users/fly2200/cpanfly-5.22/var/cpan/build/App-SahUtils-0.28-EIC1hN/blib/lib /Users/fly2200/cpanfly-5.22/var/cpan/build/App-SahUtils-0.28-EIC1hN/blib/lib /Users/fly2200/cpanfly-5.22/var/cpan/build/App-SahUtils-0.28-EIC1hN/blib/arch /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/arch /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/lib /Users/fly2200/cpanfly-5.22/var/megalib /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/arch /Users/fly2200/cpanfly-5.22/var/cpan/build/Data-Sah-Coerce-0.012-A6GFip/blib/lib /Users/fly2200/cpanfly-5.22/var/megalib /Users/fly2200/Library/ActivePerl-5.22/lib /Users/fly2200/ap2200-299195/site/lib /Users/fly2200/ap2200-299195/lib .) at bin/validate-with-sah line 10.BEGIN failed--compilation aborted at bin/validate-with-sah line 10. at t/00-compile.t line 79, line 2.
# Looks like you failed 4 tests of 7.
t/00-compile.t ...........
1..7
ok 1 - App/SahUtils.pm loaded ok
not ok 2 - bin/coerce-with-sah compiled ok
ok 3 - bin/list-sah-schema-modules compiled ok
ok 4 - bin/normalize-sah-schema compiled ok
not ok 5 - bin/sah-to-human compiled ok
not ok 6 - bin/show-sah-schema-module compiled ok
not ok 7 - bin/validate-with-sah compiled ok
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/7 subtests
t/author-pod-coverage.t .. skipped: these tests are for testing by the author
t/author-pod-syntax.t .... skipped: these tests are for testing by the author
t/release-rinci.t ........ skipped: these tests are for release candidate testing
Test Summary Report
-------------------
t/00-compile.t (Wstat: 1024 Tests: 7 Failed: 4)
Failed tests: 2, 5-7
Non-zero exit status: 4
Files=4, Tests=7, 0 wallclock secs ( 0.03 usr 0.00 sys + 0.22 cusr 0.08 csys = 0.33 CPU)
Result: FAIL
Failed 1/4 test programs. 4/7 subtests failed.
make: *** [test_dynamic] Error 255
PERLANCAR/App-SahUtils-0.28.tar.gz
one dependency not OK (Perinci::CmdLine::Any); additionally test harness failed
make test TEST_VERBOSE=1 -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports PERLANCAR/App-SahUtils-0.28.tar.gz
Finished 2016-05-25T09:01:55