From: Nicholas Clark Date: Thu, 7 Aug 2008 08:11:39 +0000 (+0000) Subject: As rules can be glob patterns, leave them as glob patterns, and instead X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0ae187c2299ef45fea08a054a5af0902048b539e;p=p5sagit%2Fp5-mst-13.2.git 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. p4raw-id: //depot/perl@34177 --- diff --git a/t/harness b/t/harness index bcf6809..717fe24 100644 --- a/t/harness +++ b/t/harness @@ -60,7 +60,7 @@ sub _glob_and_parallelise { # 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 => \@dirs }; } @@ -94,7 +94,7 @@ sub _extract_tests { die "Unknown reference type $ref"; } } else { - push @results, $_; + push @results, glob $_; } } @results;