[tools 2/2] testbot/LogUtils: Highlight the failed -Werror build status lines.
Francois Gouget
fgouget at codeweavers.com
Wed Mar 25 17:43:58 CDT 2020
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 at codeweavers.com>
---
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 99c30e0f76..77837fbf65 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";
--
2.20.1
More information about the wine-devel
mailing list