Francois Gouget : testbot: Also identify Failure test units on unhandled exception lines.
Alexandre Julliard
julliard at winehq.org
Mon Jul 4 16:29:10 CDT 2022
Module: tools
Branch: master
Commit: 8bb8de5a5f9be971e1a66f899044f04308d54006
URL: https://source.winehq.org/git/tools.git/?a=commit;h=8bb8de5a5f9be971e1a66f899044f04308d54006
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Mon Jul 4 18:10:09 2022 +0200
testbot: Also identify Failure test units on unhandled exception lines.
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, 3 insertions(+), 1 deletion(-)
diff --git a/testbot/lib/WineTestBot/LogUtils.pm b/testbot/lib/WineTestBot/LogUtils.pm
index 41016314..3de2f12c 100644
--- a/testbot/lib/WineTestBot/LogUtils.pm
+++ b/testbot/lib/WineTestBot/LogUtils.pm
@@ -1408,7 +1408,9 @@ sub MatchLogFailures($$)
foreach my $ErrIndex (0..$#{$Group->{Errors}})
{
my $Line = $Group->{Errors}->[$ErrIndex];
- my $TestUnit = $Line =~ /^([_a-z0-9]+)\.c:\d+:/ ? $1 : "";
+ my $TestUnit = $Line =~ /^([_a-z0-9]+)\.c:\d+:[0-9.]* / ? $1 :
+ $Line =~ /^[0-9a-f]+:([_a-z0-9]+):[0-9.]* unhandled exception / ? $1 :
+ "";
my $UnitFailures = $FailureTree{$GroupName}->{$TestUnit};
next if (!$UnitFailures);
More information about the wine-cvs
mailing list