From: Francois Gouget Subject: [Tools] testbot/WineRunTask: Clarify the timeout reporting. Message-Id: Date: Wed, 22 Mar 2017 01:16:22 +0100 (CET) Signed-off-by: Francois Gouget --- 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