AutoTest: Print error message when test couldn't be started

Change-Id: Ibae31902e8a4ece25af8a97f6202269f1eecf597
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
David Schulz
2016-06-17 12:56:57 +02:00
committed by Christian Stenger
parent 4dd2571f2c
commit 537c6fa9a8

View File

@@ -186,6 +186,9 @@ static void performTestRun(QFutureInterface<TestResultPtr> &futureInterface,
}
eventLoop.processEvents();
}
} else {
futureInterface.reportResult(TestResultPtr(new FaultyTestResult(Result::MessageFatal,
QString::fromLatin1("Failed to start test for project \"%1\".").arg(testConfiguration->displayName()))));
}
if (testProcess.exitStatus() == QProcess::CrashExit) {
futureInterface.reportResult(TestResultPtr(new FaultyTestResult(Result::MessageFatal,