Francois Gouget : testbot: Fix the detection of the start and skipped report lines.
Alexandre Julliard
julliard at winehq.org
Wed Jun 27 12:45:44 CDT 2018
Module: tools
Branch: master
Commit: 5565d09526fe49ddb5922f379b2ef755d994dd63
URL: https://source.winehq.org/git/tools.git/?a=commit;h=5565d09526fe49ddb5922f379b2ef755d994dd63
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Wed Jun 27 08:06:40 2018 +0200
testbot: Fix the detection of the start and skipped report lines.
This now matches the Wine report parser.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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 2d3042e..bccf30d 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/)
{
More information about the wine-cvs
mailing list