[Tools] testbot/WineRunTask: Clarify the timeout reporting.

Francois Gouget fgouget at codeweavers.com
Tue Mar 21 19:16:22 CDT 2017


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

diff --git a/testbot/bin/WineRunTask.pl b/testbot/bin/WineRunTask.pl
index 13f8162..d364777 100755
--- a/testbot/bin/WineRunTask.pl
+++ b/testbot/bin/WineRunTask.pl
@@ -444,7 +444,7 @@ if (!defined $TA->Wait($Pid, $Timeout, $Keepalive))
   my $ErrMessage = $TA->GetLastError();
   if ($ErrMessage =~ /timed out waiting for the child process/)
   {
-    LogTaskError("The test timed out\n");
+    LogTaskError("The task timed out\n");
     $TestFailures = 1;
     $TimedOut = 1;
   }
@@ -578,7 +578,8 @@ if ($TA->GetFile($RptFileName, $FullLogFileName))
           }
           elsif ($Rc == 258)
           {
-            # This is a timeout
+            # This is a timeout. Those are already reported based on the
+            # done line.
             $LogFailures++;
           }
           elsif ($LineFailures == 0 and $Rc != 0)
-- 
2.11.0



More information about the wine-patches mailing list