forked from qt-creator/qt-creator
Squish: Fix bug in selectBuildConfig()
Function did not wait when configName did not change, even when the active kit did change. Change-Id: Ia0954ee7da45864aefe88ad1919124c065af2ac1 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
@@ -184,8 +184,8 @@ def iterateBuildConfigs(kitCount, filter = ""):
|
||||
def selectBuildConfig(targetCount, currentTarget, configName):
|
||||
switchViewTo(ViewConstants.PROJECTS)
|
||||
switchToBuildOrRunSettingsFor(targetCount, currentTarget, ProjectSettings.BUILD)
|
||||
if selectFromCombo(":scrollArea.Edit build configuration:_QComboBox", configName):
|
||||
progressBarWait(30000)
|
||||
selectFromCombo(":scrollArea.Edit build configuration:_QComboBox", configName)
|
||||
progressBarWait(30000)
|
||||
return getQtInformationForBuildSettings(targetCount, True, ViewConstants.EDIT)
|
||||
|
||||
# This will not trigger a rebuild. If needed, caller has to do this.
|
||||
|
||||
Reference in New Issue
Block a user