Module: tools
Branch: master
Commit: 6529a06300ed400d4910a319d947978fb980e8bb
URL: https://source.winehq.org/git/tools.git/?a=commit;h=6529a06300ed400d4910a31…
Author: Francois Gouget <fgouget(a)codeweavers.com>
Date: Wed Mar 25 23:43:58 2020 +0100
testbot/LogUtils: Highlight the failed -Werror build status lines.
The compiler errors are already highlighted. But in case the Wine build
really fails they will be shown twice: once with -Werror and once
without. The -Werror build status line will show where the first build
errors end and the second build errors start.
Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
testbot/lib/WineTestBot/LogUtils.pm | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/testbot/lib/WineTestBot/LogUtils.pm b/testbot/lib/WineTestBot/LogUtils.pm
index 99c30e0..77837fb 100644
--- a/testbot/lib/WineTestBot/LogUtils.pm
+++ b/testbot/lib/WineTestBot/LogUtils.pm
@@ -280,6 +280,10 @@ sub ParseTaskLog($)
{
$LogInfo->{$1} = "updated";
}
+ elsif ($Line =~ /^Task: With -Werror the .* Wine build fails/)
+ {
+ ; # Show these non-fatal build errors
+ }
elsif ($Line =~ /^Task: / or _IsPerlError($Line))
{
$LogInfo->{Task} = "failed";