forked from qt-creator/qt-creator
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:
committed by
Christian Stenger
parent
4dd2571f2c
commit
537c6fa9a8
@@ -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,
|
||||
|
Reference in New Issue
Block a user