Subject: | test failure when extra modules are not installed |
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