summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2002-01-24 07:50:38 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2002-01-24 07:50:38 +0000
commit4efb34a6d9cca053e4635f6fdedd5c6efdc554d8 (patch)
tree55148c79cc3d300adc9784e51979aa4707c80b36
parent5d604bee230faa93dca054659df6c20150cd55c3 (diff)
downloadperl-4efb34a6d9cca053e4635f6fdedd5c6efdc554d8.tar.gz
Expand command line test globs on Win32.
p4raw-id: //depot/perlio@14401
-rw-r--r--t/harness7
1 files changed, 6 insertions, 1 deletions
diff --git a/t/harness b/t/harness
index 330cc43b3f..a19363af3e 100644
--- a/t/harness
+++ b/t/harness
@@ -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>;