aboutsummaryrefslogtreecommitdiffstats
path: root/tests/system/suite_debugger/tst_build_new_project
diff options
context:
space:
mode:
authorRobert Loehning <robert.loehning@qt.io>2018-08-02 11:26:43 +0200
committerRobert Loehning <robert.loehning@qt.io>2018-08-02 11:48:14 +0000
commite8acb75115723dce6af4079efa0c3fd1d2a2936f (patch)
tree00be061f62d0b45187fbf5568e6b991c5fb7ce93 /tests/system/suite_debugger/tst_build_new_project
parent01aafd8021de9afc80a13bd48bb5cbe59d90295a (diff)
Squish: Refactor selecting configured Kits in project
The design of the Projects mode changed several times. We wrote lots of workarounds to keep even more old code alive because we never had the time for a proper refactoring. This time is now. Leads to more stable code with far less variables flying around. Task-number: QTCREATORBUG-20265 Change-Id: I29e5956ea3279cdb1d6da61bf5b461666de436bc Reviewed-by: Robert Loehning <robert.loehning@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'tests/system/suite_debugger/tst_build_new_project')
-rw-r--r--tests/system/suite_debugger/tst_build_new_project/test.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/system/suite_debugger/tst_build_new_project/test.py b/tests/system/suite_debugger/tst_build_new_project/test.py
index 93cfaa8d03..f977435328 100644
--- a/tests/system/suite_debugger/tst_build_new_project/test.py
+++ b/tests/system/suite_debugger/tst_build_new_project/test.py
@@ -31,12 +31,12 @@ def main():
startApplication("qtcreator" + SettingsPath)
if not startedWithoutPluginError():
return
- checkedTargets = createProject_Qt_Console(tempDir(), project)
- availableConfigs = iterateBuildConfigs(len(checkedTargets))
+ createProject_Qt_Console(tempDir(), project)
+ availableConfigs = iterateBuildConfigs()
if not availableConfigs:
test.fatal("Haven't found a suitable Qt version - leaving without building.")
for kit, config in availableConfigs:
- selectBuildConfig(len(checkedTargets), kit, config)
+ selectBuildConfig(kit, config)
test.log("Testing build configuration: " + config)
if runAndCloseApp() == None:
checkCompile()