This commit changes these tests to be run like the tests in t/lib, in
parallel with each other, when available. This is the longest running
directory, and prior to this commit, on many-core systems it can be the
final thing chugging along, a test at-a-time, while the other cores are
idle.
s,\\,/,g; # canonicalize path
};
# Treat every file matching lib/*.t as a "directory"
- m!\A(\.\./lib/[^/]+\.t\z|.*[/])! or die "'$_'";
+ m! \A ( \.\. / (?: lib | ext/XS-APItest/t )
+ / [^/]+ \.t \z | .* [/] ) !x
+ or die "'$_'";
push @{$dir{$1}}, $_;
$total_time{$1} += $times{$_} || 0;
}