diff options
author | Nicholas Clark <nick@ccl4.org> | 2008-08-07 08:11:39 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2008-08-07 08:11:39 +0000 |
commit | 0ae187c2299ef45fea08a054a5af0902048b539e (patch) | |
tree | b7ab599806abc5cbe1e5206f8ad0ca58416dadaf /t | |
parent | e6867818d3d9ce24342ef3f6ceff06868f5e8457 (diff) | |
download | perl-0ae187c2299ef45fea08a054a5af0902048b539e.tar.gz |
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
Diffstat (limited to 't')
-rw-r--r-- | t/harness | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |