[PATCH] testbot: Fix the detection of the start and skipped report lines.

Francois Gouget fgouget at codeweavers.com
Wed Jun 27 01:06:40 CDT 2018


This now matches the Wine report parser.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 testbot/lib/WineTestBot/LogUtils.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/testbot/lib/WineTestBot/LogUtils.pm b/testbot/lib/WineTestBot/LogUtils.pm
index 2d3042ec7..bccf30db3 100644
--- a/testbot/lib/WineTestBot/LogUtils.pm
+++ b/testbot/lib/WineTestBot/LogUtils.pm
@@ -408,7 +408,7 @@ sub GetLogLineCategory($)
     return "todo";
   }
   if ($Line =~ /: Tests skipped: / or
-      $Line =~ /^\w+:\w+ skipped /)
+      $Line =~ /^[_.a-z0-9-]+:[_a-z0-9]* skipped /)
   {
     return "skip";
   }
@@ -431,7 +431,7 @@ sub GetLogLineCategory($)
     return "error";
   }
   if ($Line =~ /^\+ \S/ or
-      $Line =~ /^\w+:\w+ start / or
+      $Line =~ /^[_.a-z0-9-]+:[_a-z0-9]* start / or
       # Build messages
       $Line =~ /^(?:Build|Reconfig|Task): ok/)
   {
-- 
2.18.0



More information about the wine-devel mailing list