[PATCH 4/4] testbot: Detect the TestBot scripts usage errors in LogUtils.
Francois Gouget
fgouget at codeweavers.com
Sun Aug 26 03:18:00 CDT 2018
They indicate a TestBot error obviously.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
testbot/lib/WineTestBot/LogUtils.pm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/testbot/lib/WineTestBot/LogUtils.pm b/testbot/lib/WineTestBot/LogUtils.pm
index a9ab20b5f..17b9093aa 100644
--- a/testbot/lib/WineTestBot/LogUtils.pm
+++ b/testbot/lib/WineTestBot/LogUtils.pm
@@ -119,7 +119,11 @@ sub GetLogLineCategory($)
{
return "diag";
}
- if ($Line =~ /^BotError:/ or
+ if (# TestBot script error messages
+ $Line =~ /^[a-zA-Z.]+:error: / or
+ # TestBot error
+ $Line =~ /^BotError:/ or
+ # X errors
$Line =~ /^X Error of failed request: / or
$Line =~ / opcode of failed request: /)
{
--
2.18.0
More information about the wine-devel
mailing list