'../ext/Compress-Raw-Bzip2' => 1,
'../ext/Compress-Raw-Zlib' => 1,
'../ext/Devel-PPPort' => 1,
- '../ext/Getopt-Long' => 1,
+ '../cpan/Getopt-Long' => 1,
'../ext/IO-Compress' => 1,
- '../ext/IPC-SysV' => 1,
+ '../cpan/IPC-SysV' => 1,
'../ext/Math-BigInt' => 1,
'../ext/Math-BigRat' => 1,
'../ext/MIME-Base64' => 1,
my $dir = $1;
my $testswitch = $dir_to_switch{$dir};
if (!defined $testswitch) {
- if ($test =~ s!^(\.\./ext/[^/]+)/t!t!) {
+ if ($test =~ s!^(\.\./(?:cpan|ext)/[^/]+)/t!t!) {
$run_dir = $1;
$return_dir = '../../t';
$lib = '../../lib';
my $mani = '../MANIFEST';
if (open(MANI, $mani)) {
while (<MANI>) {
- if (m!^(ext/(\S+)/+(?:[^/\s]+\.t|test\.pl)|lib/\S+?(?:\.t|test\.pl))\s!) {
+ if (m!^((?:cpan|ext)/(\S+)/+(?:[^/\s]+\.t|test\.pl)|lib/\S+?(?:\.t|test\.pl))\s!) {
my $t = $1;
my $extension = $2;
if (!$::core || $t =~ m!^lib/[a-z]!) {