[tools 2/5] testbot/TestWTBS: Tweak the properties propagation.

Francois Gouget fgouget at codeweavers.com
Fri Jan 22 10:02:30 CST 2021


Cascade the properties down 1 level at a time rather than straight
to the base level. This reduces duplication about which base categories
belong in the top-level ones.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 testbot/tests/TestWTBS | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/testbot/tests/TestWTBS b/testbot/tests/TestWTBS
index c5ac9e1a4..5cadc5df5 100755
--- a/testbot/tests/TestWTBS
+++ b/testbot/tests/TestWTBS
@@ -323,9 +323,9 @@ sub LoadTestInfo($)
   SetDefault($TestInfo, "tasks", "HasTask", 1);
 
   # Then propagate the defaults
-  foreach my $Pair (["win", ["win32", "win64"]],
-                    ["tests", ["win32", "win64", "wine"]],
-                    ["tasks", ["build", "win32", "win64", "wine"]])
+  foreach my $Pair (["tasks", ["build", "tests"]],
+                    ["tests", ["win", "wine"]],
+                    ["win", ["win32", "win64"]])
   {
     my ($Src, $TaskTypes) = @$Pair;
     foreach my $Field (keys %{$TestInfo->{$Src}})
-- 
2.20.1




More information about the wine-devel mailing list