Francois Gouget : testbot/LogUtils: Remove line numbers from some make errors.

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


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

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

testbot/LogUtils: Remove line numbers from some make errors.

We would presumably not routinely have compilation errors so this is not
really needed for the normal TestBot operation. But this allows TestWTBS
to check the presence of expected compilation errors.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 testbot/lib/WineTestBot/LogUtils.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/testbot/lib/WineTestBot/LogUtils.pm b/testbot/lib/WineTestBot/LogUtils.pm
index 2cb2ad2..7bd4d31 100644
--- a/testbot/lib/WineTestBot/LogUtils.pm
+++ b/testbot/lib/WineTestBot/LogUtils.pm
@@ -1137,6 +1137,7 @@ sub _GetLineKey($)
 
   # Remove the line number
   $Line =~ s/^([_a-z0-9]+\.c:)\d+:( Test (?:failed|succeeded inside todo block):)/$1$2/
+  or $Line =~ s/^([._a-zA-Z0-9-]+:)\d+(: recipe for target )/$1$2/
 
   # Remove the crash code address: it changes whenever the test is recompiled
   or $Line =~ s/^(Unhandled exception: .* code) \(0x[0-9a-fA-F]{8,16}\)\.$/$1/




More information about the wine-cvs mailing list