Module: tools Branch: master Commit: 5d7b9a8af83f1fbecb84cede591b42b0b5d3df67 URL: http://source.winehq.org/git/tools.git/?a=commit;h=5d7b9a8af83f1fbecb84cede5...
Author: Francois Gouget fgouget@codeweavers.com Date: Tue Apr 18 12:16:00 2017 +0200
testbot/WineRunTask: Fix a task timeout vs test unit timeout mixup.
If a test unit timed out don't complaining that it did not report some failures, even if the task as a whole did not time out. This is important for the WineTest runs.
Signed-off-by: Francois Gouget fgouget@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
testbot/bin/WineRunTask.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testbot/bin/WineRunTask.pl b/testbot/bin/WineRunTask.pl index dec73a6..40e1780 100755 --- a/testbot/bin/WineRunTask.pl +++ b/testbot/bin/WineRunTask.pl @@ -568,7 +568,7 @@ if ($TA->GetFile($RptFileName, $FullLogFileName)) # Verify the summary lines if (!$CurrentIsPolluted) { - if ($LineFailures != 0 and $SummaryFailures == 0 and !$TimedOut) + if ($LineFailures != 0 and $SummaryFailures == 0 and $Rc != 258) { LogTaskError("$Dll:$Unit has unreported failures\n"); $LogFailures++;