Skip Menu |

This queue is for tickets about the Class-XSConstructor CPAN distribution.

Report information
The Basics
Id: 125637
Status: resolved
Priority: 0/
Queue: Class-XSConstructor

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

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



Subject: Test failure with type constraint for age
The test t/03types.t is failing for me like this: Class-XSConstructor-0.005 518 $ perl -I blib/lib -I blib/arch/ t/03typetiny.t ok 1 - Person attributes ok 2 - Employee attributes ok 3 - Person required attributes ok 4 - Employee required attributes ok 5 - Person type constraints ok 6 - Employee type constraints Value '40' failed type constraint for 'age' at t/03typetiny.t line 90. # Tests were run but no plan was declared and done_testing() was not seen. # Looks like your test exited with 255 just after 6. Class-XSConstructor-0.005 519 $ It seems to not fail cleanly. I have just installed the Types::Standard module from CPAN so it is the latest version.
Yeah, it's a strange case, this one. On 95% of machines, it seems to work fine. But on some, it fails. The failure seems to be for the same reason 02types.t is failing (and currently skipped) which I can't figure out right now.
This seems to have been caused by me doing FREETMPS too early. Hopefully fixed in 0.006. We shall see.