Module: tools Branch: master Commit: 204ba3e525d9418b86dd9ec2363d8dfae4db2037 URL: http://source.winehq.org/git/tools.git/?a=commit;h=204ba3e525d9418b86dd9ec23...
Author: Francois Gouget fgouget@codeweavers.com Date: Wed Feb 22 16:31:12 2017 +0100
testbot/WineRunTask: Don't complain about unreported failures for timeouts.
When a test times out it usually does not have time to print the test summary line so complaining would be redundant.
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 0b686f6..b48d65b 100755 --- a/testbot/bin/WineRunTask.pl +++ b/testbot/bin/WineRunTask.pl @@ -539,7 +539,7 @@ if ($TA->GetFile($RptFileName, $FullLogFileName)) # Verify the summary lines if (!$CurrentIsPolluted) { - if ($LineFailures != 0 and $SummaryFailures == 0) + if ($LineFailures != 0 and $SummaryFailures == 0 and !$TimedOut) { LogTaskError("$Dll:$Unit has unreported failures\n"); $LogFailures++;