runtests: move parallel log dirs from logN to log/N

Having several hundreds of them in there gets annoying.

Closes #11264
This commit is contained in:
Daniel Stenberg 2023-06-07 14:47:25 +02:00
parent c6d97bcea6
commit 92d7dd3955
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -969,7 +969,7 @@ sub updatetesttimings {
# Return the log directory for the given test runner # Return the log directory for the given test runner
sub getrunnernumlogdir { sub getrunnernumlogdir {
my $runnernum = $_[0]; my $runnernum = $_[0];
return $jobs > 1 ? $LOGDIR . $runnernum : $LOGDIR; return $jobs > 1 ? "$LOGDIR/$runnernum" : $LOGDIR;
} }
####################################################################### #######################################################################
@ -982,7 +982,7 @@ sub getrunnerlogdir {
# TODO: speed up this O(n) operation # TODO: speed up this O(n) operation
for my $runnernum (keys %runnerids) { for my $runnernum (keys %runnerids) {
if($runnerid eq $runnerids{$runnernum}) { if($runnerid eq $runnerids{$runnernum}) {
return $LOGDIR . $runnernum; return "$LOGDIR/$runnernum";
} }
} }
die "Internal error: runner ID $runnerid not found"; die "Internal error: runner ID $runnerid not found";