From: Francois Gouget Subject: [Tools] testbot/WineRunTask: Add the $TimedOut flag. Message-Id: Date: Tue, 21 Feb 2017 10:29:11 +0100 (CET) The log analysis code depends on it to not issue redundant errors when the task timed out. Signed-off-by: Francois Gouget --- testbot/bin/WineRunTask.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testbot/bin/WineRunTask.pl b/testbot/bin/WineRunTask.pl index c21aec05..21ad8e2a 100755 --- a/testbot/bin/WineRunTask.pl +++ b/testbot/bin/WineRunTask.pl @@ -436,7 +436,7 @@ if (!$Pid) # my $NewStatus = 'completed'; -my ($TestFailures, $TAError, $PossibleCrash); +my ($TestFailures, $TimedOut, $TAError, $PossibleCrash); Debug(Elapsed($Start), " Waiting for the script (", $Task->Timeout, "s timeout)\n"); if (!defined $TA->Wait($Pid, $Timeout, $Keepalive)) { @@ -445,6 +445,7 @@ if (!defined $TA->Wait($Pid, $Timeout, $Keepalive)) { LogTaskError("The test timed out\n"); $TestFailures = 1; + $TimedOut = 1; } else { -- 2.11.0