[tools] testbot/PatchUtils: Propagate all build flags.
Francois Gouget
fgouget at codeweavers.com
Tue Jan 12 11:18:37 CST 2021
MakeErrors, MakeFir, MakeOpenGL and MakeUnicode must be propagated to
the last patchset part too.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
Fortunately patching the make* tools and their dependencies is quite
rare, and even more so in patchsets.
testbot/lib/WineTestBot/PatchUtils.pm | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/testbot/lib/WineTestBot/PatchUtils.pm b/testbot/lib/WineTestBot/PatchUtils.pm
index c298282344..974ff8eb6b 100644
--- a/testbot/lib/WineTestBot/PatchUtils.pm
+++ b/testbot/lib/WineTestBot/PatchUtils.pm
@@ -396,9 +396,10 @@ sub GetPatchImpacts($)
$Impacts->{BuildModules} = {};
# Also backup the build-related fields.
- foreach my $Field ("Autoconf", "MakeMakefiles", "MakeRequests",
- "MakeVulkan", "PatchedRoot", "PatchedModules",
- "PatchedTests")
+ foreach my $Field ("Autoconf", "MakeErrors", "MakeFir", "MakeMakefiles",
+ "MakeOpenGL", "MakeRequests", "MakeUnicode",
+ "MakeVulkan",
+ "PatchedRoot", "PatchedModules", "PatchedTests")
{
$PastImpacts->{$Field} = $Impacts->{$Field};
$Impacts->{$Field} = undef;
@@ -490,10 +491,12 @@ sub GetPatchImpacts($)
# ... even if the patch was in previous parts
if ($PastImpacts)
{
- $Impacts->{Autoconf} ||= $PastImpacts->{Autoconf};
- $Impacts->{MakeMakefiles} ||= $PastImpacts->{MakeMakefiles};
- $Impacts->{MakeRequests} ||= $PastImpacts->{MakeRequests};
- $Impacts->{MakeVulkan} ||= $PastImpacts->{MakeVulkan};
+ foreach my $Field ("Autoconf", "MakeErrors", "MakeFir", "MakeMakefiles",
+ "MakeOpenGL", "MakeRequests", "MakeUnicode",
+ "MakeVulkan")
+ {
+ $Impacts->{$Field} ||= $PastImpacts->{$Field};
+ }
$Impacts->{RebuildRoot} ||= $PastImpacts->{PatchedRoot};
$Impacts->{RebuildModules} ||= $PastImpacts->{PatchedModules};
map { $Impacts->{BuildModules}->{$_} = 1 } keys %{$PastImpacts->{BuildModules}};
--
2.20.1
More information about the wine-devel
mailing list