Subject: | t/104_override_usage.t + t/110_sort_usage_by_attr_order.t fails on MSWin32 |
Hi,
I have experienced the following failures on MS Windows + current perl-5.20-main (which is nowadays nearly 5.20.2)
--
kmx
I have experienced the following failures on MS Windows + current perl-5.20-main (which is nowadays nearly 5.20.2)
--
kmx
Building and testing MooseX-Getopt-0.65 ... cp lib/MooseX/Getopt/Strict.pm blib\lib\MooseX\Getopt\Strict.pm cp lib/MooseX/Getopt.pm blib\lib\MooseX\Getopt.pm cp lib/MooseX/Getopt/Meta/Attribute/Trait/NoGetopt.pm blib\lib\MooseX\Getopt\Meta\Attribute\Trait\NoGetopt.pm cp lib/MooseX/Getopt/Dashes.pm blib\lib\MooseX\Getopt\Dashes.pm cp lib/MooseX/Getopt/Meta/Attribute/Trait.pm blib\lib\MooseX\Getopt\Meta\Attribute\Trait.pm cp lib/MooseX/Getopt/GLD.pm blib\lib\MooseX\Getopt\GLD.pm cp lib/MooseX/Getopt/OptionTypeMap.pm blib\lib\MooseX\Getopt\OptionTypeMap.pm cp lib/MooseX/Getopt/Meta/Attribute/NoGetopt.pm blib\lib\MooseX\Getopt\Meta\Attribute\NoGetopt.pm cp lib/MooseX/Getopt/ProcessedArgv.pm blib\lib\MooseX\Getopt\ProcessedArgv.pm cp lib/MooseX/Getopt/Meta/Attribute.pm blib\lib\MooseX\Getopt\Meta\Attribute.pm cp lib/MooseX/Getopt/Basic.pm blib\lib\MooseX\Getopt\Basic.pm # # Versions for all modules listed in MYMETA.json (including optional ones): # # === Configure Requires === # # Module Want Have # ------------------- ----- ----- # ExtUtils::MakeMaker any 7.04 # Module::Build::Tiny 0.037 0.039 # # === Test Requires === # # Module Want Have # ------------------- ----- -------- # ExtUtils::MakeMaker any 7.04 # File::Spec any 3.48_01 # Module::Runtime any 0.014 # Moose::Meta::Class any 2.1403 # Moose::Util any 2.1403 # Path::Tiny 0.009 0.061 # Test::Deep any 0.115 # Test::Fatal 0.003 0.014 # Test::Moose any 2.1403 # Test::More any 1.001014 # Test::Requires any 0.08 # Test::Trap any 0.3.0 # Test::Warnings 0.009 0.020 # if any 0.0603 # # === Test Recommends === # # Module Want Have # ---------------------- -------- -------- # CPAN::Meta 2.120900 2.143240 # MooseX::ConfigFromFile any missing # MooseX::SimpleConfig any missing # # === Runtime Requires === # # Module Want Have # ---------------------------- ----- ------ # Carp any 1.3301 # Dist::CheckConflicts any 0.11 # Getopt::Long 2.37 2.43 # Getopt::Long::Descriptive 0.088 0.099 # Moose any 2.1403 # Moose::Meta::Attribute any 2.1403 # Moose::Role 0.56 2.1403 # Moose::Util::TypeConstraints any 2.1403 # MooseX::Role::Parameterized any 1.08 # Scalar::Util any 1.41 # Try::Tiny any 0.22 # namespace::autoclean any 0.24 # strict any 1.08 # warnings any 1.23 # t/00-report-prereqs.t ............... ok t/001_basic.t ....................... ok t/002_custom_option_type.t .......... ok t/003_inferred_option_type.t ........ ok t/004_nogetop.t ..................... ok t/005_strict.t ...................... ok t/006_metaclass_traits.t ............ ok t/007_nogetopt_trait.t .............. ok t/008_configfromfile.t .............. skipped: Test requires module 'MooseX::ConfigFromFile' but it's not found t/009_gld_and_explicit_options.t .... ok t/010_dashes.t ...................... ok t/011_process_argv.t ................ ok t/100_gld_default_bug.t ............. ok t/101_argv_bug.t .................... ok t/102_basic_basic.t ................. ok t/103_uc_bug.t ...................... ok # Failed test 'usage is printed on --help' # at t/104_override_usage.t line 35. # got: 'usage: 104_override_usage.t [-?h] [long options...] # -h -? --usage --help Prints this usage information. # --foo INT A foo # ' # expected: 'usage: 104_override_usage.t [-?h] [long options...] # -h -? --usage --help Prints this usage information. # --foo A foo # ' # Failed test 'usage is printed on unknown option' # at t/104_override_usage.t line 41. # got: 'Unknown option: q # usage: 104_override_usage.t [-?h] [long options...] # -h -? --usage --help Prints this usage information. # --foo INT A foo # ' # expected: 'Unknown option: q # usage: 104_override_usage.t [-?h] [long options...] # -h -? --usage --help Prints this usage information. # --foo A foo # ' # Failed test 'additional text included before normal usage string' # at t/104_override_usage.t line 53. # got: '--- DOCUMENTATION --- # usage: 104_override_usage.t [-?h] [long options...] # -h -? --usage --help Prints this usage information. # --foo INT A foo # ' # expected: '--- DOCUMENTATION --- # usage: 104_override_usage.t [-?h] [long options...] # -h -? --usage --help Prints this usage information. # --foo A foo # ' # Failed test 'additional text included before normal usage string' # at t/104_override_usage.t line 80. # got: '--- DOCUMENTATION --- # usage: 104_override_usage.t [-?h] [long options...] # -h -? --usage --help Prints this usage information. # --foo INT A foo # ' # expected: '--- DOCUMENTATION --- # usage: 104_override_usage.t [-?h] [long options...] # -h -? --usage --help Prints this usage information. # --foo A foo # ' # Looks like you failed 4 tests of 6. t/104_override_usage.t .............. Dubious, test returned 4 (wstat 1024, 0x400) Failed 4/6 subtests t/105_uc_bug_more.t ................. ok t/106_no_ignore_case.t .............. ok t/107_no_auto_help.t ................ skipped: Test requires module 'MooseX::SimpleConfig' but it's not found t/107_union_bug.t ................... ok t/108_usage_attr.t .................. ok t/109_help_flag.t ................... ok # Failed test 'Usage text has nicely sorted options' # at t/110_sort_usage_by_attr_order.t line 39. # got: 'usage: 110_sort_usage_by_attr_order.t [-?h] [long options...] # -h -? --usage --help Prints this usage information. # --foo STR Documentation for "foo" # --bar STR Documentation for "bar" # --baz STR Documentation for "baz" # ' # expected: 'usage: 110_sort_usage_by_attr_order.t [-?h] [long options...] # -h -? --usage --help Prints this usage information. # --foo Documentation for "foo" # --bar Documentation for "bar" # --baz Documentation for "baz" # ' # Looks like you failed 1 test of 1. t/110_sort_usage_by_attr_order.t .... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests t/111_gld_pass_through.t ............ ok t/112_configfile_constructor_arg.t .. skipped: Test requires module 'MooseX::SimpleConfig' but it's not found t/zzz-check-breaks.t ................ ok Test Summary Report ------------------- t/104_override_usage.t (Wstat: 1024 Tests: 6 Failed: 4) Failed tests: 3-6 Non-zero exit status: 4 t/110_sort_usage_by_attr_order.t (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 Files=27, Tests=353, 38 wallclock secs ( 0.47 usr + 0.13 sys = 0.59 CPU) Result: FAIL ! Installing MooseX::Getopt failed. See C:\STRAWB~1\data\.cpanm\work\1422156510.988\build.log for details. Retry with --force to force install it.