Skip Menu |

This queue is for tickets about the MooseX-Types-Moose-MutualCoercion CPAN distribution.

Report information
The Basics
Id: 89913
Status: resolved
Priority: 0/
Queue: MooseX-Types-Moose-MutualCoercion

People
Owner: MORIYA [...] cpan.org
Requestors: poul [...] basefarm.no
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.04



Subject: BUG: MooseX::Types::Moose::MutualCoercion fails tests if
Date: Wed, 30 Oct 2013 23:22:09 +0000
To: "bug-MooseX-Types-Moose-MutualCoercion [...] rt.cpan.org" <bug-MooseX-Types-Moose-MutualCoercion [...] rt.cpan.org>
From: Poul Henning Sørensen <poul [...] basefarm.no>
MooseX::Types::Moose::MutualCoercion 0.03 includes some inc/Test/ files, presumably to ensure that they are available. At least one of these ( inc/Test/Builder/Module.pm ) causes the tests to fail, because of "a situation" with Test::More perl -MTest::More -e 'print Test::More->VERSION,"\n"' 0.99 bash-4.1$ grep Test::Builder::Module `perldoc -l Test::More` use Test::Builder::Module 0.99; our @ISA = qw(Test::Builder::Module); First the failure: ------------------------------------------------------------------- bash-4.1$ perl -v && perl Makefile.PL && make && make test This is perl 5, version 18, subversion 1 (v5.18.1) built for x86_64-linux-thread-multi-ld Copyright 1987-2013, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. Checking if your kit is complete... Looks good Writing Makefile for MooseX::Types::Moose::MutualCoercion Writing MYMETA.yml and MYMETA.json cp lib/MooseX/Types/Moose/MutualCoercion/JA.pod blib/lib/MooseX/Types/Moose/MutualCoercion/JA.pod cp lib/MooseX/Types/Moose/MutualCoercion.pm blib/lib/MooseX/Types/Moose/MutualCoercion.pm Manifying blib/man3/MooseX::Types::Moose::MutualCoercion.3pm Manifying blib/man3/MooseX::Types::Moose::MutualCoercion::JA.3pm PERL_DL_NONLAZY=1 /opt/DAM/perl/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/00_basic.t .. Test::Builder::Module version 0.99 required--this is only version 0.94 at /opt/DAM/perl/lib/Test/More.pm line 23. BEGIN failed--compilation aborted at /opt/DAM/perl/lib/Test/More.pm line 23. Compilation failed in require at t/00_basic.t line 55. BEGIN failed--compilation aborted at t/00_basic.t line 55. t/00_basic.t .. Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run Test Summary Report ------------------- t/00_basic.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output Files=1, Tests=0, 1 wallclock secs ( 0.04 usr 0.03 sys + 0.45 cusr 0.10 csys = 0.62 CPU) Result: FAIL Failed 1/1 test programs. 0/0 subtests failed. make: *** [test_dynamic] Error 255 ------------------------------------------------------------------- Then a Work-Around: ------------------------------------------------------------------- bash-4.1$ rm -rf inc/Test/ bash-4.1$ perl Makefile.PL && make && make test Writing Makefile for MooseX::Types::Moose::MutualCoercion Writing MYMETA.yml and MYMETA.json Skip blib/lib/MooseX/Types/Moose/MutualCoercion.pm (unchanged) Skip blib/lib/MooseX/Types/Moose/MutualCoercion/JA.pod (unchanged) Manifying blib/man3/MooseX::Types::Moose::MutualCoercion::JA.3pm Manifying blib/man3/MooseX::Types::Moose::MutualCoercion.3pm PERL_DL_NONLAZY=1 /opt/DAM/perl/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/00_basic.t .. ok All tests successful. Files=1, Tests=18, 0 wallclock secs ( 0.03 usr 0.03 sys + 0.50 cusr 0.08 csys = 0.64 CPU) Result: PASS ------------------------------------------------------------------- Best regards Poul POULHS
Thank you for your information. The problem has been solved in version 0.04. ( Just as https://github.com/gardejo/p5-moosex-types-moose-mutualcoercion/commit/ada01ff8e59d2b70a8321049296ecd0154048a12 ) -- MORIYA Masaki, alias Gardejo