Hello all,
I had problems installing Test::Kwalitee 0.30 with the
latest Module::CPANTS::Analyse 0.82 under win xp/cygwin.
'perl ./Build test' gave
t/01-kwalitee........skipped: Test::Kwalitee not installed:
need a dist at
.../.cpan/build/Test-Kwalitee-0.30/blib/lib/
Test/Kwalitee.pm line 78
Debugging this showed a wrong option key 'distdir' instead
of 'dist' in the call to Module::CPANTS::Analyse::new.
Option 'dist' is mandatory.
For backward compatibility the patch adds a new hash entry
in the options hash with the key 'dist', so older versions
should work as well.
--- lib/Test/Kwalitee.pm 2008-08-12 19:38:28.312500000 +0200
+++ lib/Test/Kwalitee_fixed.pm 2008-08-12 19:38:07.000000000 +0200
@@ -77,6 +77,7 @@
my $analyzer = Module::CPANTS::Analyse->new({
distdir => $args{basedir},
+ dist => $args{basedir},
});
$Test->plan( tests => scalar keys %run_tests );
================================================
What puzzles me, is that cpan.testers get PASS for the
tests of this module. Anybody knows more?
--
Greetings, Heiko