Francois Gouget : testbot/WineSendLog: Don' t report non-existent build errors.
Alexandre Julliard
julliard at winehq.org
Wed Nov 7 13:19:31 CST 2018
Module: tools
Branch: master
Commit: d2eb71983a56e0827a1c52c1865ae83ce44f3edf
URL: https://source.winehq.org/git/tools.git/?a=commit;h=d2eb71983a56e0827a1c52c1865ae83ce44f3edf
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Wed Nov 7 12:37:54 2018 +0100
testbot/WineSendLog: Don't report non-existent build errors.
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>
Signed-off-by: Alexandre Julliard <julliard at 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 bb6dab5..a651c09 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;
More information about the wine-cvs
mailing list