Skip Menu |

This queue is for tickets about the Params-CheckCompiler CPAN distribution.

Report information
The Basics
Id: 115410
Status: resolved
Priority: 0/
Queue: Params-CheckCompiler

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

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



Subject: Tests fail if Types::Standard is not installed (0.05)
Some of my smokers report the following failure: ... Can't locate Types/Standard.pm in @INC (@INC contains: ...) at t/named/required.t line 8. BEGIN failed--compilation aborted at t/named/required.t line 8. t/named/required.t ....... Dubious, test returned 2 (wstat 512, 0x200) No subtests run ... (etc.) ...
On 2016-06-18 02:23:50, SREZIC wrote: Show quoted text
> Some of my smokers report the following failure: > > ... > Can't locate Types/Standard.pm in @INC (@INC contains: ...) at > t/named/required.t line 8. > BEGIN failed--compilation aborted at t/named/required.t line 8. > t/named/required.t ....... > Dubious, test returned 2 (wstat 512, 0x200) > No subtests run > ... (etc.) ...
Additionally, sometimes I see the following failure in t/moose.t: # # Failed test 'dies when foo is an arrayref' # at t/moose.t line 68. # +----------------------------------------------------------+----+------------------------------------------------------------------+ # | GOT | OP | CHECK | # +----------------------------------------------------------+----+------------------------------------------------------------------+ # | Validation failed for 'Int' with value ARRAY(0x44466a00) | =~ | (?-xism:Validation\ failed\ for\ \'Int\'\ with\ value\ \[\ \ \]) | # +----------------------------------------------------------+----+------------------------------------------------------------------+ # # Failed test 'type can be inlined' # at t/moose.t line 18. # # Failed test 'dies when foo is an arrayref' # at t/moose.t line 68. # +------------------------------------------------------------+----+--------------------------------------------------------------------+ # | GOT | OP | CHECK | # +------------------------------------------------------------+----+--------------------------------------------------------------------+ # | Validation failed for 'MyInt' with value ARRAY(0x44470be0) | =~ | (?-xism:Validation\ failed\ for\ \'MyInt\'\ with\ value\ \[\ \ \]) | # +------------------------------------------------------------+----+--------------------------------------------------------------------+ # # Failed test 'type cannot be inlined' # at t/moose.t line 26. # # Failed test 'dies when foo is a hashref' # at t/moose.t line 97. # +-----------------------------------------------------------------+----+--------------------------------------------------------------------------+ # | GOT | OP | CHECK | # +-----------------------------------------------------------------+----+--------------------------------------------------------------------------+ # | Validation failed for 'ArrayRefInt' with value HASH(0x44487df0) | =~ | (?-xism:Validation\ failed\ for\ \'ArrayRefInt\'\ with\ value\ \{\ \ \}) | # +-----------------------------------------------------------------+----+--------------------------------------------------------------------------+ # # Failed test 'type can be inlined but coercion cannot' # at t/moose.t line 36. # # Failed test 'dies when foo is a hashref' # at t/moose.t line 97. # +--------------------------------------------------------------+----+-----------------------------------------------------------------------+ # | GOT | OP | CHECK | # +--------------------------------------------------------------+----+-----------------------------------------------------------------------+ # | Validation failed for '__ANON__' with value HASH(0x44487910) | =~ | (?-xism:Validation\ failed\ for\ \'__ANON__\'\ with\ value\ \{\ \ \}) | # +--------------------------------------------------------------+----+-----------------------------------------------------------------------+ # # Failed test 'neither type not coercion can be inlined' # at t/moose.t line 46. # Seeded srand with seed '20160618' from local date. t/moose.t ................ Dubious, test returned 4 (wstat 1024, 0x400) Failed 4/4 subtests
On 2016-06-18 02:39:07, SREZIC wrote: Show quoted text
> On 2016-06-18 02:23:50, SREZIC wrote:
> > Some of my smokers report the following failure: > > > > ... > > Can't locate Types/Standard.pm in @INC (@INC contains: ...) at > > t/named/required.t line 8. > > BEGIN failed--compilation aborted at t/named/required.t line 8. > > t/named/required.t ....... > > Dubious, test returned 2 (wstat 512, 0x200) > > No subtests run > > ... (etc.) ...
> > Additionally, sometimes I see the following failure in t/moose.t: > > # > # Failed test 'dies when foo is an arrayref' > # at t/moose.t line 68. > # +----------------------------------------------------------+---- > +------------------------------------------------------------------+ > # | GOT | OP | > CHECK | > # +----------------------------------------------------------+---- > +------------------------------------------------------------------+ > # | Validation failed for 'Int' with value ARRAY(0x44466a00) | =~ | > (?-xism:Validation\ failed\ for\ \'Int\'\ with\ value\ \[\ \ \]) | > # +----------------------------------------------------------+---- > +------------------------------------------------------------------+ > # > # Failed test 'type can be inlined' > # at t/moose.t line 18. > # > # Failed test 'dies when foo is an arrayref' > # at t/moose.t line 68. > # +------------------------------------------------------------+---- > +--------------------------------------------------------------------+ > # | GOT | OP | > CHECK | > # +------------------------------------------------------------+---- > +--------------------------------------------------------------------+ > # | Validation failed for 'MyInt' with value ARRAY(0x44470be0) | =~ | > (?-xism:Validation\ failed\ for\ \'MyInt\'\ with\ value\ \[\ \ \]) | > # +------------------------------------------------------------+---- > +--------------------------------------------------------------------+ > # > # Failed test 'type cannot be inlined' > # at t/moose.t line 26. > # > # Failed test 'dies when foo is a hashref' > # at t/moose.t line 97. > # +----------------------------------------------------------------- > +---- > +-------------------------------------------------------------------------- > + > # | GOT | > OP | CHECK > | > # +----------------------------------------------------------------- > +---- > +-------------------------------------------------------------------------- > + > # | Validation failed for 'ArrayRefInt' with value HASH(0x44487df0) | > =~ | (?-xism:Validation\ failed\ for\ \'ArrayRefInt\'\ with\ value\ > \{\ \ \}) | > # +----------------------------------------------------------------- > +---- > +-------------------------------------------------------------------------- > + > # > # Failed test 'type can be inlined but coercion cannot' > # at t/moose.t line 36. > # > # Failed test 'dies when foo is a hashref' > # at t/moose.t line 97. > # +--------------------------------------------------------------+---- > +----------------------------------------------------------------------- > + > # | GOT | OP > | CHECK > | > # +--------------------------------------------------------------+---- > +----------------------------------------------------------------------- > + > # | Validation failed for '__ANON__' with value HASH(0x44487910) | =~ > | (?-xism:Validation\ failed\ for\ \'__ANON__\'\ with\ value\ \{\ \ > \}) | > # +--------------------------------------------------------------+---- > +----------------------------------------------------------------------- > + > # > # Failed test 'neither type not coercion can be inlined' > # at t/moose.t line 46. > # Seeded srand with seed '20160618' from local date. > t/moose.t ................ > Dubious, test returned 4 (wstat 1024, 0x400) > Failed 4/4 subtests
There's some evidence that the fails happen if Devel::PartialDump is not installed.