summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2022-12-13 11:06:20 -0700
committerYves Orton <demerphq@gmail.com>2022-12-18 18:56:09 +0100
commit1afc5fb55844bc17517efb5a925f0c2699cc405f (patch)
tree6a26ff8fe99e289c4d57f1b1b20634b5b4466cd7 /t
parentcd5cd5f63212ea5c34422fc84f30ca134d3f9f1d (diff)
downloadperl-1afc5fb55844bc17517efb5a925f0c2699cc405f.tar.gz
harness: Move comments
This wasn't done in the previous commit in order to minimize the diff listing
Diffstat (limited to 't')
-rw-r--r--t/harness8
1 files changed, 4 insertions, 4 deletions
diff --git a/t/harness b/t/harness
index 8d2f325ace..82a9a2890c 100644
--- a/t/harness
+++ b/t/harness
@@ -205,6 +205,10 @@ if (@ARGV) {
$all_dirs{$path} = 1;
$map_file_to_dir{$file} = $path;
+ # We assume that the reason a test file's name begins with a 0
+ # is to order its execution among the tests in its directory.
+ # Hence, a directory containing such files should be tested in
+ # serial order, with some exceptions hard-coded in.
if ($name =~ / \A 0 /x) {
$serials{$path} = 1;
}
@@ -215,10 +219,6 @@ if (@ARGV) {
}
}
- # We assume that the reason a test file's name begins with a 0 is to
- # order its execution among the tests in its directory. Hence, a
- # directory containing such files should be tested in serial order.
-
for my $file (@last) {
my $file_dir = $map_file_to_dir{$file};