forked from qt-creator/qt-creator
AutoTest: Early return if fail to get local executable
If we have not found a local executable any further processing is not necessary as the outcome will be the same: we will not be able to start the test runnable. Change-Id: Iaa4bbd533ced6184148f941c1cba394f9f47554d Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
This commit is contained in:
@@ -115,6 +115,8 @@ void TestConfiguration::completeTestInformation(TestRunMode runMode)
|
|||||||
}
|
}
|
||||||
|
|
||||||
const QString localExecutable = ensureExeEnding(targetInfo.targetFilePath.toString());
|
const QString localExecutable = ensureExeEnding(targetInfo.targetFilePath.toString());
|
||||||
|
if (localExecutable.isEmpty())
|
||||||
|
return;
|
||||||
|
|
||||||
QString buildBase;
|
QString buildBase;
|
||||||
if (auto buildConfig = target->activeBuildConfiguration()) {
|
if (auto buildConfig = target->activeBuildConfiguration()) {
|
||||||
|
Reference in New Issue
Block a user