Francois Gouget : testbot/LogUtils: Fix the unhandled exception in child process handling.

Alexandre Julliard julliard at winehq.org
Fri Feb 19 16:42:31 CST 2021


Module: tools
Branch: master
Commit: 0d0e66b8c8d55c088c0f5e81014e429d6298a1ea
URL:    https://source.winehq.org/git/tools.git/?a=commit;h=0d0e66b8c8d55c088c0f5e81014e429d6298a1ea

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Fri Feb 19 01:40:08 2021 +0100

testbot/LogUtils: Fix the unhandled exception in child process handling.

The filename extension is not part of the test unit name.

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 7bd4d31..bbc0f47 100644
--- a/testbot/lib/WineTestBot/LogUtils.pm
+++ b/testbot/lib/WineTestBot/LogUtils.pm
@@ -639,8 +639,8 @@ sub ParseWineTestReport($$$)
       $Cur->{LineFailures}++;
     }
     elsif (($Cur->{Unit} ne "" and
-            $Line =~ /($Cur->{UnitsRE}):\d+: unhandled exception [0-9a-fA-F]{8} in child process ([0-9a-f]+)/) or
-           $Line =~ /^([_.a-z0-9]+):\d+: unhandled exception [0-9a-fA-F]{8} in child process ([0-9a-f]+)/)
+            $Line =~ /($Cur->{UnitsRE})\.c:\d+: unhandled exception [0-9a-fA-F]{8} in child process ([0-9a-f]+)/) or
+           $Line =~ /^([_.a-z0-9]+)\.c:\d+: unhandled exception [0-9a-fA-F]{8} in child process ([0-9a-f]+)/)
     {
       my ($Unit, $Pid) = ($1, $2);
       if ($Cur->{Units}->{$Unit})




More information about the wine-cvs mailing list