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

Francois Gouget fgouget at codeweavers.com
Fri Sep 20 11:41:11 CDT 2019


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

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 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 7e58afc8b..c30da162a 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
-- 
2.20.1



More information about the wine-devel mailing list