Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Mouse CPAN distribution.

Report information
The Basics
Id: 71211
Status: open
Priority: 0/
Queue: Mouse

People
Owner: Nobody in particular
Requestors: intrigeri+debian [...] boum.org
Cc:
AdminCc:

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



Subject: libmouse-perl: test suite failure on ia64 causes FTBFS
Date: Sun, 25 Sep 2011 09:39:47 +0200
To: Debian Bug Tracking System <submit [...] bugs.debian.org>, bug-mouse [...] rt.cpan.org
From: intrigeri+debian [...] boum.org
Package: libmouse-perl Version: 0.93-1 Severity: important Hi, Mouse test suite sometimes fails on the ia64 architecture, causing the whole package to fail to build from source. Relevant buildd output: # Failed test at t/001_mouse/043-parameterized-type.t line 244. # Looks like you failed 1 test of 66. t/001_mouse/043-parameterized-type.t ........................... Dubious, test returned 1 (wstat 256, 0x100) [...] t/001_mouse/043-parameterized-type.t (Wstat: 256 Tests: 66 Failed: 1) Failed test: 63 Non-zero exit status: 1 Failed build reports that expose this problem, that happened from time to time for a while: 0.93-2 https://buildd.debian.org/status/fetch.php?pkg=libmouse-perl&arch=ia64&ver=0.93-2&stamp=1312570909 0.86-1 https://buildd.debian.org/status/fetch.php?pkg=libmouse-perl&arch=ia64&ver=0.86-1&stamp=1289577443 0.82-1 https://buildd.debian.org/status/fetch.php?pkg=libmouse-perl&arch=ia64&ver=0.82-1&stamp=1289056203 Note that the very same buildd that exposed this problem recently succeeded in building 0.91-1+b1, which has the same test suite => this test suite failure does not seems to happen every time. Too bad CPAN Testers is currently down. The failing test was introduced in 0.82, which accounts for the failure not happening on previous versions. Bye, -- intrigeri <intrigeri@boum.org> | GnuPG key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc | OTR fingerprint @ https://gaffer.ptitcanardnoir.org/intrigeri/otr.asc | Who wants a world in which the guarantee that we shall not | die of starvation would entail the risk of dying of boredom ?
Hi, Hmm, I don't know what happens. Can you run the test script by your hand? Mouse$ perl Makefile.PL && make # make Mouse$ perl -Mblib t/001_mouse/043-parameterized-type.t And I'll get the details. Thanks. -- gfx
On Mon Oct 03 18:26:53 2011, GFUJI wrote: Show quoted text
> Can you run the test script by your hand? > Mouse$ perl Makefile.PL && make # make > Mouse$ perl -Mblib t/001_mouse/043-parameterized-type.t
(sid)gregoa@merulo:~/src/libmouse-perl-0.94$ perl Makefile.PL && make Mouse configured with XS. Writing ppport.h Generate Mouse::Tiny ... done. Checking if your kit is complete... Looks good Writing Makefile for Mouse cp lib/Mouse/Tiny.pod blib/lib/Mouse/Tiny.pod cp lib/Mouse/TypeRegistry.pm blib/lib/Mouse/TypeRegistry.pm cp lib/Mouse/Meta/Role/Composite.pm blib/lib/Mouse/Meta/Role/Composite.pm cp lib/Mouse/Meta/Role/Method.pm blib/lib/Mouse/Meta/Role/Method.pm cp lib/Mouse/Meta/Method/Delegation.pm blib/lib/Mouse/Meta/Method/Delegation.pm cp lib/Mouse/XS.pod blib/lib/Mouse/XS.pod cp lib/Mouse/Meta/Method/Destructor.pm blib/lib/Mouse/Meta/Method/Destructor.pm cp lib/Mouse.pm blib/lib/Mouse.pm cp lib/Mouse/Meta/Class.pm blib/lib/Mouse/Meta/Class.pm cp lib/Squirrel/Role.pm blib/lib/Squirrel/Role.pm cp lib/Mouse/Meta/Method.pm blib/lib/Mouse/Meta/Method.pm cp lib/Test/Mouse.pm blib/lib/Test/Mouse.pm cp lib/Mouse/Tiny.pm blib/lib/Mouse/Tiny.pm cp lib/Mouse/Meta/Attribute.pm blib/lib/Mouse/Meta/Attribute.pm cp lib/Mouse/Meta/TypeConstraint.pm blib/lib/Mouse/Meta/TypeConstraint.pm cp lib/Mouse/Meta/Method/Accessor.pm blib/lib/Mouse/Meta/Method/Accessor.pm cp lib/Mouse/Meta/Role.pm blib/lib/Mouse/Meta/Role.pm cp lib/Mouse/Util/TypeConstraints.pm blib/lib/Mouse/Util/TypeConstraints.pm cp lib/Mouse/Spec.pm blib/lib/Mouse/Spec.pm cp lib/Mouse/Role.pm blib/lib/Mouse/Role.pm cp lib/Squirrel.pm blib/lib/Squirrel.pm cp lib/Mouse/Util/MetaRole.pm blib/lib/Mouse/Util/MetaRole.pm cp lib/Mouse/Meta/Module.pm blib/lib/Mouse/Meta/Module.pm cp lib/Mouse/Util.pm blib/lib/Mouse/Util.pm cp lib/Mouse/Meta/Role/Application.pm blib/lib/Mouse/Meta/Role/Application.pm cp lib/Mouse/Meta/Method/Constructor.pm blib/lib/Mouse/Meta/Method/Constructor.pm cp lib/Mouse/Exporter.pm blib/lib/Mouse/Exporter.pm cp lib/Mouse/PurePerl.pm blib/lib/Mouse/PurePerl.pm cp lib/ouse.pm blib/lib/ouse.pm cp lib/Mouse/Object.pm blib/lib/Mouse/Object.pm /usr/bin/perl "-Iinc" /usr/share/perl5/ExtUtils/xsubpp -typemap /usr/share/perl/5.12/ExtUtils/typemap xs-src/Mouse.xs > xs-src/Mouse.xsc && mv xs-src/Mouse.xsc xs-src/Mouse.c cc -c "-I." "-I." -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -Wno-comment -O2 -g -DVERSION=\"0.94\" -DXS_VERSION=\"0.94\" -o xs-src/Mouse.o -fPIC "-I/usr/lib/perl/5.12/CORE" -DUSE_PPPORT xs-src/Mouse.c /usr/bin/perl "-Iinc" /usr/share/perl5/ExtUtils/xsubpp -typemap /usr/share/perl/5.12/ExtUtils/typemap xs-src/MouseAccessor.xs > xs-src/MouseAccessor.xsc && mv xs-src/MouseAccessor.xsc xs-src/MouseAccessor.c cc -c "-I." "-I." -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -Wno-comment -O2 -g -DVERSION=\"0.94\" -DXS_VERSION=\"0.94\" -o xs-src/MouseAccessor.o -fPIC "-I/usr/lib/perl/5.12/CORE" -DUSE_PPPORT xs-src/MouseAccessor.c /usr/bin/perl "-Iinc" /usr/share/perl5/ExtUtils/xsubpp -typemap /usr/share/perl/5.12/ExtUtils/typemap xs-src/MouseAttribute.xs > xs-src/MouseAttribute.xsc && mv xs-src/MouseAttribute.xsc xs-src/MouseAttribute.c cc -c "-I." "-I." -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -Wno-comment -O2 -g -DVERSION=\"0.94\" -DXS_VERSION=\"0.94\" -o xs-src/MouseAttribute.o -fPIC "-I/usr/lib/perl/5.12/CORE" -DUSE_PPPORT xs-src/MouseAttribute.c /usr/bin/perl "-Iinc" /usr/share/perl5/ExtUtils/xsubpp -typemap /usr/share/perl/5.12/ExtUtils/typemap xs-src/MouseTypeConstraints.xs > xs-src/MouseTypeConstraints.xsc && mv xs-src/MouseTypeConstraints.xsc xs-src/MouseTypeConstraints.c cc -c "-I." "-I." -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -Wno-comment -O2 -g -DVERSION=\"0.94\" -DXS_VERSION=\"0.94\" -o xs-src/MouseTypeConstraints.o -fPIC "-I/usr/lib/perl/5.12/CORE" -DUSE_PPPORT xs-src/MouseTypeConstraints.c /usr/bin/perl "-Iinc" /usr/share/perl5/ExtUtils/xsubpp -typemap /usr/share/perl/5.12/ExtUtils/typemap xs-src/MouseUtil.xs > xs-src/MouseUtil.xsc && mv xs-src/MouseUtil.xsc xs-src/MouseUtil.c cc -c "-I." "-I." -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -Wno-comment -O2 -g -DVERSION=\"0.94\" -DXS_VERSION=\"0.94\" -o xs-src/MouseUtil.o -fPIC "-I/usr/lib/perl/5.12/CORE" -DUSE_PPPORT xs-src/MouseUtil.c Running Mkbootstrap for Mouse () chmod 644 Mouse.bs rm -f blib/arch/auto/Mouse/Mouse.so cc -shared -O2 -g -L/usr/local/lib xs-src/Mouse.o xs-src/MouseAccessor.o xs-src/MouseAttribute.o xs-src/MouseTypeConstraints.o xs-src/MouseUtil.o -o blib/arch/auto/Mouse/Mouse.so \ \ chmod 755 blib/arch/auto/Mouse/Mouse.so cp Mouse.bs blib/arch/auto/Mouse/Mouse.bs chmod 644 blib/arch/auto/Mouse/Mouse.bs Manifying blib/man3/Mouse::TypeRegistry.3pm Manifying blib/man3/Mouse::Tiny.3pm Manifying blib/man3/Mouse::Meta::Role::Method.3pm Manifying blib/man3/Mouse::Meta::Role::Composite.3pm Manifying blib/man3/Mouse::Meta::Method::Delegation.3pm Manifying blib/man3/Mouse::Meta::Method::Destructor.3pm Manifying blib/man3/Mouse::XS.3pm Manifying blib/man3/Mouse.3pm Manifying blib/man3/Mouse::Meta::Class.3pm Manifying blib/man3/Squirrel::Role.3pm Manifying blib/man3/Test::Mouse.3pm Manifying blib/man3/Mouse::Meta::Method.3pm Manifying blib/man3/Mouse::Meta::Method::Accessor.3pm Manifying blib/man3/Mouse::Meta::TypeConstraint.3pm Manifying blib/man3/Mouse::Meta::Attribute.3pm Manifying blib/man3/Mouse::Meta::Role.3pm Manifying blib/man3/Mouse::Util::TypeConstraints.3pm Manifying blib/man3/Mouse::Util::MetaRole.3pm Manifying blib/man3/Squirrel.3pm Manifying blib/man3/Mouse::Role.3pm Manifying blib/man3/Mouse::Spec.3pm Manifying blib/man3/Mouse::Meta::Module.3pm Manifying blib/man3/Mouse::Meta::Role::Application.3pm Manifying blib/man3/Mouse::Util.3pm Manifying blib/man3/Mouse::Meta::Method::Constructor.3pm Manifying blib/man3/Mouse::PurePerl.3pm Manifying blib/man3/Mouse::Exporter.3pm Manifying blib/man3/Mouse::Object.3pm Manifying blib/man3/ouse.3pm (sid)gregoa@merulo:~/src/libmouse-perl-0.94$ perl -Mblib t/001_mouse/043-parameterized-type.t ok 1 ok 2 - foo is a proper hash ok 3 - bar is a proper array ok 4 - complex is a proper ... structure ok 5 - Parameterized constraints work ok 6 - The object isa My::Class ok 7 - Parameterized constraints work ok 8 - Bad args for hash throws an exception ok 9 - Bad args for array throws an exception ok 10 - Bad args for complex types throws an exception ok 11 - threw Regexp ((?-xism:Attribute \(my_class\) does not pass the type constraint because: Validation failed for 'ArrayRef\[My::Class\]' with value)) ok 12 - threw Regexp ((?-xism:Attribute \(my_class\) does not pass the type constraint because: Validation failed for 'ArrayRef\[My::Class\]' with value)) ok 13 - threw Regexp ((?-xism:Attribute \(my_role\) does not pass the type constraint because: Validation failed for 'ArrayRef\[My::Role\]' with value)) ok 14 - threw Regexp ((?-xism:Attribute \(my_role\) does not pass the type constraint because: Validation failed for 'ArrayRef\[My::Role\]' with value)) ok 15 - list is as expected ok 16 - Bad coercion parameter throws an error ok 17 - Maybe[Int] is a type of Maybe[Int] ok 18 - Maybe[Int] is a type of Maybe ok 19 - Maybe[Int] is a type of Maybe[Int] ok 20 ok 21 ok 22 ok 23 ok 24 - Maybe[Int] is a type of Maybe[Int] ok 25 - Maybe[Int] is a type of Maybe ok 26 - Maybe[Int] is a type of Maybe[Int] ok 27 ok 28 ok 29 ok 30 ok 31 ok 32 ok 33 ok 34 ok 35 ok 36 ok 37 ok 38 ok 39 ok 40 ok 41 ok 42 ok 43 ok 44 ok 45 ok 46 ok 47 - magical array ok 48 ok 49 - magical hash ok 50 ok 51 ok 52 ok 53 ok 54 - the hash iterator is initialized ok 55 - MyHashRef ok 56 ok 57 ok 58 ok 59 ok 60 ok 61 - H ok 62 not ok 63 # Failed test at t/001_mouse/043-parameterized-type.t line 244. ok 64 ok 65 ok 66 1..66 # Looks like you failed 1 test of 66. (sid)gregoa@merulo:~/src/libmouse-perl-0.94$ Cheers, gregor
Thanks. I guess it is not a bug in Mouse, so I have changed tests simply. Please try 0.95. If tests fail, please send me that (I will skip the tests in the last resort): * perl -Mblib t/001_mouse/043-parameterized-type.t * PERL_ONLY=1 perl -Mblib t/001_mouse/043-parameterized-type.t # run in pure perl mode * perl -V:archname
On Fri Oct 07 16:49:39 2011, GFUJI wrote: Show quoted text
> I guess it is not a bug in Mouse, so I have changed tests simply. > Please try 0.95.
(sid)gregoa@merulo:~/src/libmouse-perl-0.95$ perl Makefile.PL && make Mouse configured with XS. Writing ppport.h Generate Mouse::Tiny ... done. Checking if your kit is complete... Looks good Writing Makefile for Mouse cp lib/Mouse/Tiny.pod blib/lib/Mouse/Tiny.pod cp lib/Mouse/TypeRegistry.pm blib/lib/Mouse/TypeRegistry.pm cp lib/Mouse/Meta/Role/Composite.pm blib/lib/Mouse/Meta/Role/Composite.pm cp lib/Mouse/Meta/Role/Method.pm blib/lib/Mouse/Meta/Role/Method.pm cp lib/Mouse/Meta/Method/Delegation.pm blib/lib/Mouse/Meta/Method/Delegation.pm cp lib/Mouse/XS.pod blib/lib/Mouse/XS.pod cp lib/Mouse/Meta/Method/Destructor.pm blib/lib/Mouse/Meta/Method/Destructor.pm cp lib/Mouse.pm blib/lib/Mouse.pm cp lib/Mouse/Meta/Class.pm blib/lib/Mouse/Meta/Class.pm cp lib/Squirrel/Role.pm blib/lib/Squirrel/Role.pm cp lib/Mouse/Meta/Method.pm blib/lib/Mouse/Meta/Method.pm cp lib/Test/Mouse.pm blib/lib/Test/Mouse.pm cp lib/Mouse/Tiny.pm blib/lib/Mouse/Tiny.pm cp lib/Mouse/Meta/Attribute.pm blib/lib/Mouse/Meta/Attribute.pm cp lib/Mouse/Meta/TypeConstraint.pm blib/lib/Mouse/Meta/TypeConstraint.pm cp lib/Mouse/Meta/Method/Accessor.pm blib/lib/Mouse/Meta/Method/Accessor.pm cp lib/Mouse/Meta/Role.pm blib/lib/Mouse/Meta/Role.pm cp lib/Mouse/Util/TypeConstraints.pm blib/lib/Mouse/Util/TypeConstraints.pm cp lib/Mouse/Spec.pm blib/lib/Mouse/Spec.pm cp lib/Mouse/Role.pm blib/lib/Mouse/Role.pm cp lib/Squirrel.pm blib/lib/Squirrel.pm cp lib/Mouse/Util/MetaRole.pm blib/lib/Mouse/Util/MetaRole.pm cp lib/Mouse/Meta/Module.pm blib/lib/Mouse/Meta/Module.pm cp lib/Mouse/Util.pm blib/lib/Mouse/Util.pm cp lib/Mouse/Meta/Role/Application.pm blib/lib/Mouse/Meta/Role/Application.pm cp lib/Mouse/Meta/Method/Constructor.pm blib/lib/Mouse/Meta/Method/Constructor.pm cp lib/Mouse/Exporter.pm blib/lib/Mouse/Exporter.pm cp lib/Mouse/PurePerl.pm blib/lib/Mouse/PurePerl.pm cp lib/ouse.pm blib/lib/ouse.pm cp lib/Mouse/Object.pm blib/lib/Mouse/Object.pm /usr/bin/perl "-Iinc" /usr/share/perl5/ExtUtils/xsubpp -typemap /usr/share/perl/5.12/ExtUtils/typemap xs-src/Mouse.xs > xs-src/Mouse.xsc && mv xs-src/Mouse.xsc xs-src/Mouse.c cc -c "-I." "-I." -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -Wno-comment -O2 -g -DVERSION=\"0.95\" -DXS_VERSION=\"0.95\" -o xs-src/Mouse.o -fPIC "-I/usr/lib/perl/5.12/CORE" -DUSE_PPPORT xs-src/Mouse.c /usr/bin/perl "-Iinc" /usr/share/perl5/ExtUtils/xsubpp -typemap /usr/share/perl/5.12/ExtUtils/typemap xs-src/MouseAccessor.xs > xs-src/MouseAccessor.xsc && mv xs-src/MouseAccessor.xsc xs-src/MouseAccessor.c cc -c "-I." "-I." -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -Wno-comment -O2 -g -DVERSION=\"0.95\" -DXS_VERSION=\"0.95\" -o xs-src/MouseAccessor.o -fPIC "-I/usr/lib/perl/5.12/CORE" -DUSE_PPPORT xs-src/MouseAccessor.c /usr/bin/perl "-Iinc" /usr/share/perl5/ExtUtils/xsubpp -typemap /usr/share/perl/5.12/ExtUtils/typemap xs-src/MouseAttribute.xs > xs-src/MouseAttribute.xsc && mv xs-src/MouseAttribute.xsc xs-src/MouseAttribute.c cc -c "-I." "-I." -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -Wno-comment -O2 -g -DVERSION=\"0.95\" -DXS_VERSION=\"0.95\" -o xs-src/MouseAttribute.o -fPIC "-I/usr/lib/perl/5.12/CORE" -DUSE_PPPORT xs-src/MouseAttribute.c /usr/bin/perl "-Iinc" /usr/share/perl5/ExtUtils/xsubpp -typemap /usr/share/perl/5.12/ExtUtils/typemap xs-src/MouseTypeConstraints.xs > xs-src/MouseTypeConstraints.xsc && mv xs-src/MouseTypeConstraints.xsc xs-src/MouseTypeConstraints.c cc -c "-I." "-I." -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -Wno-comment -O2 -g -DVERSION=\"0.95\" -DXS_VERSION=\"0.95\" -o xs-src/MouseTypeConstraints.o -fPIC "-I/usr/lib/perl/5.12/CORE" -DUSE_PPPORT xs-src/MouseTypeConstraints.c /usr/bin/perl "-Iinc" /usr/share/perl5/ExtUtils/xsubpp -typemap /usr/share/perl/5.12/ExtUtils/typemap xs-src/MouseUtil.xs > xs-src/MouseUtil.xsc && mv xs-src/MouseUtil.xsc xs-src/MouseUtil.c cc -c "-I." "-I." -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -Wno-comment -O2 -g -DVERSION=\"0.95\" -DXS_VERSION=\"0.95\" -o xs-src/MouseUtil.o -fPIC "-I/usr/lib/perl/5.12/CORE" -DUSE_PPPORT xs-src/MouseUtil.c Running Mkbootstrap for Mouse () chmod 644 Mouse.bs rm -f blib/arch/auto/Mouse/Mouse.so cc -shared -O2 -g -L/usr/local/lib xs-src/Mouse.o xs-src/MouseAccessor.o xs-src/MouseAttribute.o xs-src/MouseTypeConstraints.o xs-src/MouseUtil.o -o blib/arch/auto/Mouse/Mouse.so \ \ chmod 755 blib/arch/auto/Mouse/Mouse.so cp Mouse.bs blib/arch/auto/Mouse/Mouse.bs chmod 644 blib/arch/auto/Mouse/Mouse.bs Manifying blib/man3/Mouse::TypeRegistry.3pm Manifying blib/man3/Mouse::Tiny.3pm Manifying blib/man3/Mouse::Meta::Role::Method.3pm Manifying blib/man3/Mouse::Meta::Role::Composite.3pm Manifying blib/man3/Mouse::Meta::Method::Delegation.3pm Manifying blib/man3/Mouse::Meta::Method::Destructor.3pm Manifying blib/man3/Mouse::XS.3pm Manifying blib/man3/Mouse.3pm Manifying blib/man3/Mouse::Meta::Class.3pm Manifying blib/man3/Squirrel::Role.3pm Manifying blib/man3/Test::Mouse.3pm Manifying blib/man3/Mouse::Meta::Method.3pm Manifying blib/man3/Mouse::Meta::Method::Accessor.3pm Manifying blib/man3/Mouse::Meta::TypeConstraint.3pm Manifying blib/man3/Mouse::Meta::Attribute.3pm Manifying blib/man3/Mouse::Meta::Role.3pm Manifying blib/man3/Mouse::Util::TypeConstraints.3pm Manifying blib/man3/Mouse::Util::MetaRole.3pm Manifying blib/man3/Squirrel.3pm Manifying blib/man3/Mouse::Role.3pm Manifying blib/man3/Mouse::Spec.3pm Manifying blib/man3/Mouse::Meta::Module.3pm Manifying blib/man3/Mouse::Meta::Role::Application.3pm Manifying blib/man3/Mouse::Util.3pm Manifying blib/man3/Mouse::Meta::Method::Constructor.3pm Manifying blib/man3/Mouse::PurePerl.3pm Manifying blib/man3/Mouse::Exporter.3pm Manifying blib/man3/Mouse::Object.3pm Manifying blib/man3/ouse.3pm (sid)gregoa@merulo:~/src/libmouse-perl-0.95$ perl -Mblib t/001_mouse/043-parameterized-type.t ok 1 ok 2 - foo is a proper hash ok 3 - bar is a proper array ok 4 - complex is a proper ... structure ok 5 - Parameterized constraints work ok 6 - The object isa My::Class ok 7 - Parameterized constraints work ok 8 - Bad args for hash throws an exception ok 9 - Bad args for array throws an exception ok 10 - Bad args for complex types throws an exception ok 11 - threw Regexp ((?-xism:Attribute \(my_class\) does not pass the type constraint because: Validation failed for 'ArrayRef\[My::Class\]' with value)) ok 12 - threw Regexp ((?-xism:Attribute \(my_class\) does not pass the type constraint because: Validation failed for 'ArrayRef\[My::Class\]' with value)) ok 13 - threw Regexp ((?-xism:Attribute \(my_role\) does not pass the type constraint because: Validation failed for 'ArrayRef\[My::Role\]' with value)) ok 14 - threw Regexp ((?-xism:Attribute \(my_role\) does not pass the type constraint because: Validation failed for 'ArrayRef\[My::Role\]' with value)) ok 15 - list is as expected ok 16 - Bad coercion parameter throws an error ok 17 - Maybe[Int] is a type of Maybe[Int] ok 18 - Maybe[Int] is a type of Maybe ok 19 - Maybe[Int] is a type of Maybe[Int] ok 20 ok 21 ok 22 ok 23 ok 24 - Maybe[Int] is a type of Maybe[Int] ok 25 - Maybe[Int] is a type of Maybe ok 26 - Maybe[Int] is a type of Maybe[Int] ok 27 ok 28 ok 29 ok 30 ok 31 ok 32 ok 33 ok 34 ok 35 ok 36 ok 37 ok 38 ok 39 ok 40 ok 41 ok 42 ok 43 ok 44 ok 45 ok 46 ok 47 - magical array ok 48 ok 49 - magical hash ok 50 ok 51 ok 52 ok 53 ok 54 - the hash iterator is initialized # derived from parameterized types #1 ok 55 - MyHashRef ok 56 ok 57 ok 58 ok 59 ok 60 ok 61 - H ok 62 ok 63 ok 64 - empty hash ok 65 not ok 66 # Failed test at t/001_mouse/043-parameterized-type.t line 251. ok 67 ok 68 ok 69 ok 70 ok 71 # derived from parameterized types #2 ok 72 - MyHashRef ok 73 ok 74 ok 75 ok 76 ok 77 ok 78 - H ok 79 ok 80 ok 81 - empty hash ok 82 not ok 83 # Failed test at t/001_mouse/043-parameterized-type.t line 251. ok 84 ok 85 ok 86 ok 87 ok 88 1..88 # Looks like you failed 2 tests of 88. Show quoted text
> If tests fail, please send me that (I will skip the tests in the last > resort): > * perl -Mblib t/001_mouse/043-parameterized-type.t
See above. Show quoted text
> * PERL_ONLY=1 perl -Mblib t/001_mouse/043-parameterized-type.t # run > in pure perl mode > * perl -V:archname
(sid)gregoa@merulo:~/src/libmouse-perl-0.95$ PERL_ONLY=1 perl -Mblib t/001_mouse/043-parameterized-type.t ok 1 ok 2 - foo is a proper hash ok 3 - bar is a proper array ok 4 - complex is a proper ... structure ok 5 - Parameterized constraints work ok 6 - The object isa My::Class ok 7 - Parameterized constraints work ok 8 - Bad args for hash throws an exception ok 9 - Bad args for array throws an exception ok 10 - Bad args for complex types throws an exception ok 11 - threw Regexp ((?-xism:Attribute \(my_class\) does not pass the type constraint because: Validation failed for 'ArrayRef\[My::Class\]' with value)) ok 12 - threw Regexp ((?-xism:Attribute \(my_class\) does not pass the type constraint because: Validation failed for 'ArrayRef\[My::Class\]' with value)) ok 13 - threw Regexp ((?-xism:Attribute \(my_role\) does not pass the type constraint because: Validation failed for 'ArrayRef\[My::Role\]' with value)) ok 14 - threw Regexp ((?-xism:Attribute \(my_role\) does not pass the type constraint because: Validation failed for 'ArrayRef\[My::Role\]' with value)) ok 15 - list is as expected ok 16 - Bad coercion parameter throws an error ok 17 - Maybe[Int] is a type of Maybe[Int] ok 18 - Maybe[Int] is a type of Maybe ok 19 - Maybe[Int] is a type of Maybe[Int] ok 20 ok 21 ok 22 ok 23 ok 24 - Maybe[Int] is a type of Maybe[Int] ok 25 - Maybe[Int] is a type of Maybe ok 26 - Maybe[Int] is a type of Maybe[Int] ok 27 ok 28 ok 29 ok 30 ok 31 ok 32 ok 33 ok 34 ok 35 ok 36 ok 37 ok 38 ok 39 ok 40 ok 41 ok 42 ok 43 ok 44 ok 45 ok 46 ok 47 - magical array ok 48 ok 49 - magical hash ok 50 ok 51 ok 52 ok 53 ok 54 - the hash iterator is initialized # derived from parameterized types #1 ok 55 - MyHashRef ok 56 ok 57 ok 58 ok 59 ok 60 ok 61 - H ok 62 ok 63 ok 64 - empty hash ok 65 not ok 66 # Failed test at t/001_mouse/043-parameterized-type.t line 251. ok 67 ok 68 ok 69 ok 70 ok 71 # derived from parameterized types #2 ok 72 - MyHashRef ok 73 ok 74 ok 75 ok 76 ok 77 ok 78 - H ok 79 ok 80 ok 81 - empty hash ok 82 not ok 83 # Failed test at t/001_mouse/043-parameterized-type.t line 251. ok 84 ok 85 ok 86 ok 87 ok 88 1..88 # Looks like you failed 2 tests of 88. (sid)gregoa@merulo:~/src/libmouse-perl-0.95$ perl -V:archname archname='ia64-linux-gnu-thread-multi'; Cheers, gregor
Oh, mysterious! I have made the failing test a TODO, so `make test` will pass, but it is not the good resolution. I'll look into it later.