There seems to be some problem when paths that contain a directory named t are
make absolute, then fed to the command shell to be executed. I'm suspicious
that \t is getting interpolated as a tab by something, but there is no
confirmed diagnosis yet.
$ext_dir = $1;
$return_dir = '../../t';
$lib = '../../lib';
- $perl = '../../t/perl';
+ # Something doesn't quite work correctly when making paths
+ # that contain /t/ absolute on Win32. \t being interpreted as tab?
+ $perl = $^O eq 'MSWin32' ? '../../perl' : '../../t/perl';
$testswitch = "-I$return_dir -MTestInit=U2T,A";
if ($temp_no_core{$ext_dir}) {
$testswitch = $testswitch . ',NC';