[Tools] testbot/WineRunTask: Don't complain about unreported failures for timeouts.
Francois Gouget
fgouget at codeweavers.com
Wed Feb 22 09:31:12 CST 2017
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 at codeweavers.com>
---
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 0b686f6d..b48d65b1 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++;
--
2.11.0
More information about the wine-patches
mailing list