Skip Menu |

This queue is for tickets about the strictures CPAN distribution.

Report information
The Basics
Id: 76419
Status: resolved
Priority: 0/
Queue: strictures

Owner: Nobody in particular
Requestors: fschlich [...]

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

Subject: test failure when extra modules are not installed
Download (untitled) / with headers
text/plain 902b
Hi, when the extra modules (indirect multidimensional bareword::filehandles -- but particularly multidimensional, I believe) are missing, running the test suite results in # Failed test 'strictures blows up for t/00load.t' # at t/strictures.t line 45. This is because lacking extra modules is no longer fatal, so nowadays the eval neither throws an error (lacking the module that would cause that), nor does it die for lack of extra modules, but just lives. I guess the extra tests either need to find out if the extra modules are installed, or shouldn't run unless explicitly enabled, like so: --- a/t/strictures.t +++ b/t/strictures.t @@ -32,7 +32,7 @@ SKIP: { skip 'Extra tests disabled on perls <= 5.008003', 1 - if $] < 5.008004; + if $] < 5.008004 or !$ENV{PERL_STRICTURES_EXTRA}; local $0 = 't/00load.t'; sub Foo::new { 1 } chdir("t/smells-of-vcs"); Florian
This has already been adressed by 1.003001

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to