Module: tools Branch: master Commit: 0d988959e645b52d4c22213132e7343e88171d24 URL: https://source.winehq.org/git/tools.git/?a=commit;h=0d988959e645b52d4c222131...
Author: Francois Gouget fgouget@codeweavers.com Date: Fri Jan 22 17:02:27 2021 +0100
testbot/TestWTBS: Skip the base Windows VMs if there is no base build VM.
Do not report errors about missing Windows tasks if the TestBot only has Wine VMs.
Signed-off-by: Francois Gouget fgouget@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
testbot/tests/TestWTBS | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/testbot/tests/TestWTBS b/testbot/tests/TestWTBS index 5f62d63..c5ac9e1 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();