mirror of
https://github.com/curl/curl.git
synced 2026-04-16 07:51:45 +03:00
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:
parent
c6d97bcea6
commit
92d7dd3955
1 changed files with 2 additions and 2 deletions
|
|
@ -969,7 +969,7 @@ sub updatetesttimings {
|
|||
# Return the log directory for the given test runner
|
||||
sub getrunnernumlogdir {
|
||||
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
|
||||
for my $runnernum (keys %runnerids) {
|
||||
if($runnerid eq $runnerids{$runnernum}) {
|
||||
return $LOGDIR . $runnernum;
|
||||
return "$LOGDIR/$runnernum";
|
||||
}
|
||||
}
|
||||
die "Internal error: runner ID $runnerid not found";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue