[PATCH] testbot/WineSendLog: Don't report non-existent build errors.

Francois Gouget fgouget at codeweavers.com
Wed Nov 7 05:37:54 CST 2018


Make sure there are errors to report even when there is no reference
log which is typical of build logs.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---

This will stop WineSendLog from sending an email for jobs such as 43971 
where there is no new error, and the only 'build' error is that 
user32:msg prints too much data.

https://testbot.winehq.org/JobDetails.pl?Key=43971

 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 bb6dab51ad..a651c097e8 100755
--- a/testbot/bin/WineSendLog.pl
+++ b/testbot/bin/WineSendLog.pl
@@ -296,7 +296,7 @@ EOF
         $NewGroups = $LogErrors->{Groups};
         $NewErrors = $LogErrors->{Errors};
       }
-      elsif (!@$NewGroups)
+      if (!$NewGroups or !@$NewGroups)
       {
         # There is no new error
         next;
-- 
2.19.1



More information about the wine-devel mailing list