Francois Gouget : testbot/web: Hightlight the winediag and X errors.

Alexandre Julliard julliard at winehq.org
Wed Jul 11 11:52:08 CDT 2018


Module: tools
Branch: master
Commit: 16eaec6d1b54bea0b77e521e4dbf225885edb37b
URL:    https://source.winehq.org/git/tools.git/?a=commit;h=16eaec6d1b54bea0b77e521e4dbf225885edb37b

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Wed Jul 11 11:31:11 2018 +0200

testbot/web: Hightlight the winediag and X errors.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 testbot/lib/WineTestBot/LogUtils.pm | 8 +++++++-
 testbot/web/WineTestBot.css         | 1 +
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/testbot/lib/WineTestBot/LogUtils.pm b/testbot/lib/WineTestBot/LogUtils.pm
index 0ef9609..5e6407b 100644
--- a/testbot/lib/WineTestBot/LogUtils.pm
+++ b/testbot/lib/WineTestBot/LogUtils.pm
@@ -431,7 +431,13 @@ sub GetLogLineCategory($)
   {
     return "error";
   }
-  if ($Line =~ /^BotError:/)
+  if ($Line =~ /:winediag:/)
+  {
+    return "diag";
+  }
+  if ($Line =~ /^BotError:/ or
+      $Line =~ /^X Error of failed request: / or
+      $Line =~ / opcode of failed request: /)
   {
     return "boterror";
   }
diff --git a/testbot/web/WineTestBot.css b/testbot/web/WineTestBot.css
index ae20382..9656254 100644
--- a/testbot/web/WineTestBot.css
+++ b/testbot/web/WineTestBot.css
@@ -378,6 +378,7 @@ pre
 .log-todo  { color: #d08000; }
 .log-error { color: red; }
 .log-boterror { color: #cc0052; }
+.log-diag { color: #e56300; }
 
 a.title { color:inherit; text-decoration: none; }
 




More information about the wine-cvs mailing list