[Tools] testbot/WineSendLog: Simplify the detection of timeout errors.

Francois Gouget fgouget at codeweavers.com
Mon Mar 20 17:57:22 CDT 2017


Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 testbot/bin/WineSendLog.pl | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/testbot/bin/WineSendLog.pl b/testbot/bin/WineSendLog.pl
index 983ae37..922811d 100755
--- a/testbot/bin/WineSendLog.pl
+++ b/testbot/bin/WineSendLog.pl
@@ -104,8 +104,7 @@ sub ReadLog($$$)
         $Line =~ s/[\r\n]*$//;
         if ($Line =~ m/${BaseName}:${TestSet} done/)
         {
-          if ($Line =~ m/${BaseName}:${TestSet} done \((\d+)\)/ &&
-              $1 eq "258")
+          if ($Line =~ m/${BaseName}:${TestSet} done \(258\)/)
           {
             $Messages[@Messages] = "The test timed out";
           }
-- 
2.11.0




More information about the wine-patches mailing list