From: Steve Hay Date: Thu, 12 Feb 2009 10:46:32 +0000 (+0000) Subject: win32/ext doesn't exist any more, so no need to look there for tests X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e469bedac84e3190c05f3a44d15fca15dea0b5d7;p=p5sagit%2Fp5-mst-13.2.git win32/ext doesn't exist any more, so no need to look there for tests --- diff --git a/t/TEST b/t/TEST index 0b99580..a8ff006 100755 --- a/t/TEST +++ b/t/TEST @@ -140,9 +140,8 @@ unless (@ARGV) { } my $mani = File::Spec->catfile($updir, "MANIFEST"); if (open(MANI, $mani)) { - my $ext_pat = $^O eq 'MSWin32' ? '(?:win32/)?ext' : 'ext'; while () { # similar code in t/harness - if (m!^($ext_pat/(\S+)/+(?:[^/\s]+\.t|test\.pl)|lib/\S+?(?:\.t|test\.pl))\s!) { + if (m!^(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]!) diff --git a/t/harness b/t/harness index b19bf7f..b087cc5 100644 --- a/t/harness +++ b/t/harness @@ -188,9 +188,8 @@ if (@ARGV) { my $mani = File::Spec->catfile(File::Spec->updir, "MANIFEST"); if (open(MANI, $mani)) { my @manitests = (); - my $ext_pat = $^O eq 'MSWin32' ? '(?:win32/)?ext' : 'ext'; while () { # similar code in t/TEST - if (m!^($ext_pat/(\S+)/+(?:[^/\s]+\.t|test\.pl)|lib/\S+?(?:\.t|test\.pl))\s!) { + if (m!^(ext/(\S+)/+(?:[^/\s]+\.t|test\.pl)|lib/\S+?(?:\.t|test\.pl))\s!) { my ($test, $extension) = ($1, $2); if (defined $extension) { $extension =~ s!/t$!!;