Module: tools Branch: master Commit: 1fc24dd5ef2822454c4aea2f2f1818662ba987fe URL: https://source.winehq.org/git/tools.git/?a=commit;h=1fc24dd5ef2822454c4aea2f...
Author: Francois Gouget fgouget@codeweavers.com Date: Thu Feb 13 21:35:35 2020 +0100
testbot/WineSendLog: Only new errors are reported to the mailing list.
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@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
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 2393099..65c95de 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";