[tools] testbot/WineRunReconfig: Don't run WineTest on extra Wine VMs.

Francois Gouget fgouget at codeweavers.com
Tue Mar 10 06:36:49 CDT 2020


The role 'extra' means one can manually schedule a job on the VM but
that nothing gets automatically run on it, including WineTest. 
This also means there will be no 'new failure' detection on these VMs.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 testbot/bin/WineRunReconfig.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testbot/bin/WineRunReconfig.pl b/testbot/bin/WineRunReconfig.pl
index 24dcb6dbb1..7977fa569b 100755
--- a/testbot/bin/WineRunReconfig.pl
+++ b/testbot/bin/WineRunReconfig.pl
@@ -539,7 +539,7 @@ if ($NewStatus eq 'completed')
     FatalError("Could not recreate the $IdleSnapshot snapshot: $ErrMessage\n");
   }
 
-  if ($VM->Type eq "wine")
+  if ($VM->Type eq "wine" and $VM->Role =~ /^(?:base|winetest)$/)
   {
     require WineTestBot::SpecialJobs;
     $ErrMessage = WineTestBot::SpecialJobs::AddWineTestJob([$VM], $VM->Name);
-- 
2.20.1



More information about the wine-devel mailing list