From 92d7dd39559088a197f15c79ef73f7bd1270ebc3 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 7 Jun 2023 14:47:25 +0200 Subject: [PATCH] runtests: move parallel log dirs from logN to log/N Having several hundreds of them in there gets annoying. Closes #11264 --- tests/runtests.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/runtests.pl b/tests/runtests.pl index 508285388e..e7f927f9a1 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -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"; -- 2.47.3