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

Francois Gouget fgouget at codeweavers.com
Thu May 24 10:28:28 CDT 2018


This makes it easier to find the results for a specific module or test
unit.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 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 26127e93a..b15668732 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")
-- 
2.17.0



More information about the wine-devel mailing list