From 53fdc5faf362f481dc5eb3a6c6273648437b9f69 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Tue, 17 Sep 2024 18:43:17 +0200 Subject: [PATCH] runtests: use deterministic sort for `TESTINFO` lines Sort TESTINFO lines by description within the number of skipped test. It makes the list of skipped test groups easier to diff/compare between jobs and runs. Closes #15374 --- tests/runtests.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/runtests.pl b/tests/runtests.pl index e2b9c0b9d9..c02655b07e 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -3147,7 +3147,7 @@ if(%skipped && !$short) { $log_line .= ")\n"; $restraints{$log_line} = $skip_count; } - foreach my $log_line (sort {$restraints{$b} <=> $restraints{$a}} keys %restraints) { + foreach my $log_line (sort {$restraints{$b} <=> $restraints{$a} || uc($a) cmp uc($b)} keys %restraints) { logmsg $log_line; } } -- 2.47.3