summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-08-07 08:11:39 +0000
committerNicholas Clark <nick@ccl4.org>2008-08-07 08:11:39 +0000
commit0ae187c2299ef45fea08a054a5af0902048b539e (patch)
treeb7ab599806abc5cbe1e5206f8ad0ca58416dadaf /t
parente6867818d3d9ce24342ef3f6ceff06868f5e8457 (diff)
downloadperl-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/harness4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/harness b/t/harness
index bcf6809019..717fe24fd1 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;