Change 34177 by [EMAIL PROTECTED] on 2008/08/07 08:11:39
As rules can be glob patterns, leave them as glob patterns, and instead
expand the globs when we walk the rules to create the full list of
tests. Tests run more quickly.
Affected files ...
... //depot/perl/t/harness#48 edit
Differences ...
==== //depot/perl/t/harness#48 (text) ====
Index: perl/t/harness
--- perl/t/harness#47~34176~ 2008-08-07 00:45:31.000000000 -0700
+++ perl/t/harness 2008-08-07 01:11:39.000000000 -0700
@@ -60,7 +60,7 @@
# Run the tests in each of these directories in sequence, but the
# directories themselves can be parallelised.
foreach (@_) {
- push @dirs, { seq => [ glob "$_/*.t" ] };
+ push @dirs, { seq => "$_/*.t" };
}
{ par => [EMAIL PROTECTED] };
}
@@ -94,7 +94,7 @@
die "Unknown reference type $ref";
}
} else {
- push @results, $_;
+ push @results, glob $_;
}
}
@results;
End of Patch.