Francois Gouget : testbot/CheckForWinetestUpdate: Document the task types.

Alexandre Julliard julliard at winehq.org
Thu Sep 12 16:27:54 CDT 2019


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

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Thu Sep 12 14:31:27 2019 +0200

testbot/CheckForWinetestUpdate: Document the task types.

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

---

 testbot/bin/CheckForWinetestUpdate.pl | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/testbot/bin/CheckForWinetestUpdate.pl b/testbot/bin/CheckForWinetestUpdate.pl
index 95cb13d..590226c 100755
--- a/testbot/bin/CheckForWinetestUpdate.pl
+++ b/testbot/bin/CheckForWinetestUpdate.pl
@@ -65,8 +65,11 @@ my %WineTestUrls = (
     "exe64" => "http://test.winehq.org/builds/winetest64-latest.exe"
 );
 
-my %TaskTypes = (build => 1, base32 => 1, winetest32 => 1, all64 => 1,
-                 wine => 1);
+my %TaskTypes = (build => "Update and rebuild Wine on the build VMs.",
+                 base32 => "Run WineTest on the 32 bit Windows VMs with the 'base' role.",
+                 winetest32 => "Run WineTest on the 32 bit Windows VMs with the 'winetest' role.",
+                 all64 => "Run WineTest on the all the 64 bit Windows VMs.",
+                 wine => "Update, rebuild and run WineTest on the Wine VMs.");
 
 
 my $Debug;
@@ -441,7 +444,11 @@ if (defined $Usage)
 {
   print "Usage: $Name0 [--debug] [--log-only] [--help] [--create] [TASKTYPE] ...\n";
   print "\n";
-  print "Where TASKTYPE is one of: ", join(" ", sort keys %TaskTypes), "\n";
+  print "Where TASKTYPE is one of:\n";
+  foreach my $TaskType (sort keys %TaskTypes)
+  {
+    printf(" %-15s %s\n", $TaskType, $TaskTypes{$TaskType});
+  }
   exit $Usage;
 }
 




More information about the wine-cvs mailing list