[PATCH 2/2] testbot/web: Highlight the LANG and 'Running the tests/WineTest' lines.

Francois Gouget fgouget at codeweavers.com
Fri Nov 23 09:27:22 CST 2018


Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---

This one does not technically depend on the previous patch but if we 
don't log $LANG there's not much point trying to highlight the LANG= 
lines.

 testbot/lib/WineTestBot/LogUtils.pm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/testbot/lib/WineTestBot/LogUtils.pm b/testbot/lib/WineTestBot/LogUtils.pm
index fee4278105..b75607af89 100644
--- a/testbot/lib/WineTestBot/LogUtils.pm
+++ b/testbot/lib/WineTestBot/LogUtils.pm
@@ -130,6 +130,8 @@ sub GetLogLineCategory($)
 
   if (# Build messages
       $Line =~ /^\+ \S/ or
+      $Line =~ /^LANG=/ or
+      $Line =~ /^Running (?:the tests|WineTest) / or
       $Line =~ /^Task: (?:ok|tests)/)
   {
     return "info";
-- 
2.19.1



More information about the wine-devel mailing list