[tools 1/5] testbot/TestWTBS: Skip the base Windows VMs if there is no base build VM.
Francois Gouget
fgouget at codeweavers.com
Fri Jan 22 10:02:27 CST 2021
Do not report errors about missing Windows tasks if the TestBot only has
Wine VMs.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
testbot/tests/TestWTBS | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/testbot/tests/TestWTBS b/testbot/tests/TestWTBS
index 5f62d634e..c5ac9e1a4 100755
--- a/testbot/tests/TestWTBS
+++ b/testbot/tests/TestWTBS
@@ -696,6 +696,12 @@ foreach my $VM (@{$VMs->GetItems()})
{
$HasBaseVM->{$VM->Type} = 1 if ($VM->Role eq "base");
}
+if (!$HasBaseVM->{build})
+{
+ # Cannot run the tests on Windows if there is no build VM
+ delete $HasBaseVM->{win32};
+ delete $HasBaseVM->{win64};
+}
CheckJobs();
--
2.20.1
More information about the wine-devel
mailing list