[PATCH] testbot/WineSendLog: Skip checking for new errors if there are no errors.

Francois Gouget fgouget at codeweavers.com
Tue Dec 10 03:35:19 CST 2019


Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 testbot/bin/WineSendLog.pl | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/testbot/bin/WineSendLog.pl b/testbot/bin/WineSendLog.pl
index 95cc036c9..98bfc4c0f 100755
--- a/testbot/bin/WineSendLog.pl
+++ b/testbot/bin/WineSendLog.pl
@@ -287,6 +287,9 @@ EOF
     foreach my $LogName (@{$JobErrors->{$Key}->{LogNames}})
     {
       my $LogErrors = $JobErrors->{$Key}->{$LogName};
+      # Skip if there are no errors
+      next if (!$LogErrors->{Groups});
+
       my $RefFileName = $StepTask->GetFullFileName($StepTask->VM->Name ."_$LogName");
       my ($NewGroups, $NewErrors, $_NewIndices) = GetNewLogErrors($RefFileName, $LogErrors->{Groups}, $LogErrors->{Errors});
       if (!$NewGroups)
-- 
2.20.1



More information about the wine-devel mailing list