X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FExtUtils%2FMM_Unix.pm;h=b8f1f0adfa0eb868cbf6ef66257f892b9fcfe95a;hb=96e4d5b14cf2dfb0235faa8bc3f701c15b15bb05;hp=b2466f1c3e45aeabeee39de84744c2e25b825b2e;hpb=6877a1cf6ff3f0f711772ea75e579e2e7219cc46;p=p5sagit%2Fp5-mst-13.2.git diff --git a/lib/ExtUtils/MM_Unix.pm b/lib/ExtUtils/MM_Unix.pm index b2466f1..b8f1f0a 100644 --- a/lib/ExtUtils/MM_Unix.pm +++ b/lib/ExtUtils/MM_Unix.pm @@ -2839,7 +2839,10 @@ sub test { # --- Test and Installation Sections --- my($self, %attribs) = @_; - my($tests) = $attribs{TESTS} || (-d "t" ? "t/*.t" : ""); + my $tests = $attribs{TESTS}; + if (!$tests && -d 't') { + $tests = $Is_Win32 ? join(' ', ) : 't/*.t'; + } my(@m); push(@m," TEST_VERBOSE=0