[tools] testbot/LogUtils: Highlight the 'last test seen before the exception' lines.

Francois Gouget fgouget at codeweavers.com
Wed Mar 11 03:53:15 CDT 2020


Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 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 4cc8aaa413..bf933a007d 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";
   }
-- 
2.20.1




More information about the wine-devel mailing list