forked from qt-creator/qt-creator
AutoTest: Replace some scary wording
Change-Id: If8c45824c80ed6dd2da5874af56e61ab7abb3305 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -151,11 +151,11 @@ void TestConfiguration::completeTestInformation(TestRunMode runMode)
|
||||
if (targetInfo.targetFilePath.isEmpty()) {
|
||||
qCDebug(LOG) << "BuildTargetInfos";
|
||||
const QList<BuildTargetInfo> buildTargets = target->applicationTargets().list;
|
||||
// if there is only one build target just use it (but be honest that we're guessing)
|
||||
// if there is only one build target just use it (but be honest that we're deducing)
|
||||
if (buildTargets.size() == 1) {
|
||||
targetInfo = buildTargets.first();
|
||||
m_guessedConfiguration = true;
|
||||
m_guessedFrom = targetInfo.buildKey;
|
||||
m_deducedConfiguration = true;
|
||||
m_deducedFrom = targetInfo.buildKey;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -223,8 +223,8 @@ void TestConfiguration::completeTestInformation(TestRunMode runMode)
|
||||
if (isLocal(rc)) { // FIXME for now only Desktop support
|
||||
const Runnable runnable = rc->runnable();
|
||||
m_runnable.environment = runnable.environment;
|
||||
m_guessedConfiguration = true;
|
||||
m_guessedFrom = rc->displayName();
|
||||
m_deducedConfiguration = true;
|
||||
m_deducedFrom = rc->displayName();
|
||||
if (runMode == TestRunMode::Debug)
|
||||
m_runConfig = new TestRunConfiguration(rc->target(), this);
|
||||
} else {
|
||||
@@ -234,7 +234,7 @@ void TestConfiguration::completeTestInformation(TestRunMode runMode)
|
||||
}
|
||||
}
|
||||
|
||||
if (m_displayName.isEmpty()) // happens e.g. when guessing the TestConfiguration or error
|
||||
if (m_displayName.isEmpty()) // happens e.g. when deducing the TestConfiguration or error
|
||||
m_displayName = (*buildSystemTargets.begin());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user