Subject: | Kwalitee tests fail if build directory ends with "t" |
CPAN.pm creates a random dist build directory like Math-Random-MT-Perl-1.13-iiFFih. If this random directory ends with "t", then this code line in t/kwalitee.t is true:
if ( cwd() =~ m/t$/ ) {
and subsequently a chdir to the global build directory is done, and all modules there are kwalitee-tested.
This may explain some of the fail reports seen at http://matrix.cpantesters.org/?dist=Math-Random-MT-Perl%201.13