diff options
author | Nick Ing-Simmons <nik@tiuk.ti.com> | 2002-01-24 07:50:38 +0000 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 2002-01-24 07:50:38 +0000 |
commit | 4efb34a6d9cca053e4635f6fdedd5c6efdc554d8 (patch) | |
tree | 55148c79cc3d300adc9784e51979aa4707c80b36 /t/harness | |
parent | 5d604bee230faa93dca054659df6c20150cd55c3 (diff) | |
download | perl-4efb34a6d9cca053e4635f6fdedd5c6efdc554d8.tar.gz |
Expand command line test globs on Win32.
p4raw-id: //depot/perlio@14401
Diffstat (limited to 't/harness')
-rw-r--r-- | t/harness | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -41,7 +41,12 @@ foreach (keys %datahandle) { my @tests = (); if (@ARGV) { - @tests = @ARGV; + if ($^O eq 'MSWin32') { + @tests = map(glob($_),@ARGV); + } + else { + @tests = @ARGV; + } } else { unless (@tests) { push @tests, <base/*.t>; |