Francois Gouget : testbot/CheckForWinetestUpdate: Fix the other and 64 bit WineTest jobs.

Alexandre Julliard julliard at winehq.org
Fri Sep 20 15:39:35 CDT 2019


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

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Fri Sep 20 18:41:11 2019 +0200

testbot/CheckForWinetestUpdate: Fix the other and 64 bit WineTest jobs.

The priority field was not getting set so that saving the job was
failing.

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

---

 testbot/bin/CheckForWinetestUpdate.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testbot/bin/CheckForWinetestUpdate.pl b/testbot/bin/CheckForWinetestUpdate.pl
index 7e58afc..c30da16 100755
--- a/testbot/bin/CheckForWinetestUpdate.pl
+++ b/testbot/bin/CheckForWinetestUpdate.pl
@@ -211,7 +211,7 @@ sub AddJob($$$$)
   my $Jobs = CreateJobs();
   my $NewJob = $Jobs->Add();
   $NewJob->User(GetBatchUser());
-  $NewJob->Priority($BaseJob eq "base" and $Build eq "exe32" ? 8 : 9);
+  $NewJob->Priority(($BaseJob eq "base" and $Build eq "exe32") ? 8 : 9);
   $NewJob->Remarks($Remarks);
 
   # Add a task for each VM




More information about the wine-cvs mailing list