Skip Menu |

This queue is for tickets about the Test-Kwalitee CPAN distribution.

Report information
The Basics
Id: 38427
Status: resolved
Priority: 0/
Queue: Test-Kwalitee

People
Owner: ether [...] cpan.org
Requestors: HEXCODER [...] cpan.org
Cc:
AdminCc:

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



Subject: Patch for version 0.30 using Module::CPANTS::Analyse version 0.82
Dear chromatic, when building version 0.30 with Module::CPANTS::Analyse version 0.82 'perl ./Build test' fails with t/01-kwalitee........skipped: Test::Kwalitee not installed: need a dist at /root/.cpanplus/5.8.8/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 ); Greetings, hexcoder
This can be resolved by updating to the newest Module::CPANTS::Analyse - which is recommended at any rate, as it contains numerous bug fixes.