From 0cd7a023a2698fe43480fc56c7e99868ef491c18 Mon Sep 17 00:00:00 2001
From: Roman Telezhynskyi <kroluku@gmail.com>
Date: Mon, 14 Nov 2016 20:34:26 +0200
Subject: [PATCH] Trying to understand why tests failing on bitbucket
 pipelines.

--HG--
branch : develop
---
 src/libs/vmisc/abstracttest.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libs/vmisc/abstracttest.cpp b/src/libs/vmisc/abstracttest.cpp
index ef8c3c63e..7982ff711 100644
--- a/src/libs/vmisc/abstracttest.cpp
+++ b/src/libs/vmisc/abstracttest.cpp
@@ -115,7 +115,7 @@ int AbstractTest::Run(int exit, const QString &program, const QStringList &argum
     process->setWorkingDirectory(info.absoluteDir().absolutePath());
     process->start(program, arguments);
 
-    if (not process->waitForFinished(msecs) && process->state() != QProcess::NotRunning)
+    if (not process->waitForFinished(msecs))
     {
         const QString msg = QString("The operation timed out or an error occurred.\n%1").arg(parameters);
         QWARN(qUtf8Printable(msg));