Francois Gouget : testbot: Sort the modules and test units alphabetically when creating jobs.

Alexandre Julliard julliard at winehq.org
Thu May 24 12:13:49 CDT 2018


Module: tools
Branch: master
Commit: 3501004ebe177a3c76528433a1d9b6468022e17b
URL:    https://source.winehq.org/git/tools.git/?a=commit;h=3501004ebe177a3c76528433a1d9b6468022e17b

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Thu May 24 17:28:28 2018 +0200

testbot: Sort the modules and test units alphabetically when creating jobs.

This makes it easier to find the results for a specific module or test
unit.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 testbot/lib/WineTestBot/Patches.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/testbot/lib/WineTestBot/Patches.pm b/testbot/lib/WineTestBot/Patches.pm
index 26127e9..b156687 100644
--- a/testbot/lib/WineTestBot/Patches.pm
+++ b/testbot/lib/WineTestBot/Patches.pm
@@ -241,7 +241,7 @@ sub Submit($$$)
 
   my $Disposition = "Submitted job ";
   my $First = 1;
-  foreach my $Module (keys %Modules)
+  foreach my $Module (sort keys %Modules)
   {
     my $Jobs = CreateJobs();
 
@@ -287,7 +287,7 @@ sub Submit($$$)
       return $ErrMessage;
     }
 
-    foreach my $Unit (keys %{$Modules{$Module}})
+    foreach my $Unit (sort keys %{$Modules{$Module}})
     {
       # Add 32 and 64-bit tasks
       foreach my $Bits ("32", "64")




More information about the wine-cvs mailing list