Module: tools Branch: master Commit: 451bccebf110702a789a202652b4954ec85bd563 URL: https://source.winehq.org/git/tools.git/?a=commit;h=451bccebf110702a789a2026...
Author: Francois Gouget fgouget@codeweavers.com Date: Fri Jan 22 17:02:30 2021 +0100
testbot/TestWTBS: Tweak the properties propagation.
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@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
testbot/tests/TestWTBS | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/testbot/tests/TestWTBS b/testbot/tests/TestWTBS index c5ac9e1..5cadc5d 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}})