[tools] testbot/LogUtils: Simplify matching the WineRun* errors.
Francois Gouget
fgouget at codeweavers.com
Fri Mar 5 05:17:05 CST 2021
They now start with the script name and the ':error:' prefix.
Remove the 'Could not create' regexp since it actually corresponds to a
VM-side 'Task:' error which is already taken into account.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
testbot/lib/WineTestBot/LogUtils.pm | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/testbot/lib/WineTestBot/LogUtils.pm b/testbot/lib/WineTestBot/LogUtils.pm
index bdba8dad0..4e9b733c0 100644
--- a/testbot/lib/WineTestBot/LogUtils.pm
+++ b/testbot/lib/WineTestBot/LogUtils.pm
@@ -106,11 +106,8 @@ sub GetLogLineCategory($)
$Line =~ /^Task: / or
# Typical perl errors
_IsPerlError($Line) or
- # The main testbot.log errors
- $Line =~ /^An error occurred while / or
- $Line =~ /^Could not create / or
- $Line =~ /^Giving up after \d+ run\(s\)$/ or
- $Line =~ /^The (?:build|task) timed out$/)
+ # The testbot.log errors
+ $Line =~ /:error: /)
{
return "error";
}
--
2.20.1
More information about the wine-devel
mailing list