[tools] testbot/WineSendLog: Only new errors are reported to the mailing list.

Francois Gouget fgouget at codeweavers.com
Thu Feb 13 14:35:35 CST 2020


Skip over test results that contain no new error so WineSendLog does
not send empty emails to the mailing list.

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

diff --git a/testbot/bin/WineSendLog.pl b/testbot/bin/WineSendLog.pl
index 23930993cb..65c95de4d8 100755
--- a/testbot/bin/WineSendLog.pl
+++ b/testbot/bin/WineSendLog.pl
@@ -340,7 +340,7 @@ EOF
     {
       my $LogInfo = $JobErrors->{$Key}->{$LogName};
       # Skip if there are no errors
-      next if (!$LogInfo->{ErrCount});
+      next if (!$LogInfo->{NewCount});
 
       push @Messages, "\n=== ". GetTitle($StepTask, $LogName) ." ===\n";
 
-- 
2.20.1



More information about the wine-devel mailing list