Francois Gouget : testbot/LogUtils: Highlight the 'last test seen before the exception' lines.
Alexandre Julliard
julliard at winehq.org
Wed Mar 11 17:37:11 CDT 2020
Module: tools
Branch: master
Commit: c65e54076f3edaca59deeaba2eefa204b5a194de
URL: https://source.winehq.org/git/tools.git/?a=commit;h=c65e54076f3edaca59deeaba2eefa204b5a194de
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Wed Mar 11 09:53:15 2020 +0100
testbot/LogUtils: Highlight the 'last test seen before the exception' lines.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
testbot/lib/WineTestBot/LogUtils.pm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/testbot/lib/WineTestBot/LogUtils.pm b/testbot/lib/WineTestBot/LogUtils.pm
index 4cc8aaa..bf933a0 100644
--- a/testbot/lib/WineTestBot/LogUtils.pm
+++ b/testbot/lib/WineTestBot/LogUtils.pm
@@ -332,7 +332,8 @@ sub GetReportLineCategory($)
{
return "error";
}
- if ($Line =~ /^[_.a-z0-9-]+:[_a-z0-9]* start /)
+ if ($Line =~ /^[_.a-z0-9-]+:[_a-z0-9]* start / or
+ $Line =~ /: this is the last test seen before the exception/)
{
return "info";
}
More information about the wine-cvs
mailing list