[Tools 1/2] testbot/WineRunTask: Fix a task timeout vs test unit timeout mixup.

Francois Gouget fgouget at codeweavers.com
Tue Apr 18 05:16:00 CDT 2017


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 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 dec73a6f..40e1780d 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++;
-- 
2.11.0




More information about the wine-patches mailing list