diff options
Diffstat (limited to 'tests/system/suite_CCOM/tst_CCOM01/test.py')
-rwxr-xr-x | tests/system/suite_CCOM/tst_CCOM01/test.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/system/suite_CCOM/tst_CCOM01/test.py b/tests/system/suite_CCOM/tst_CCOM01/test.py index 1968b5d721..4c68038b97 100755 --- a/tests/system/suite_CCOM/tst_CCOM01/test.py +++ b/tests/system/suite_CCOM/tst_CCOM01/test.py @@ -13,13 +13,13 @@ def main(): examplePath = os.path.join(templateDir, proFile) startApplication("qtcreator" + SettingsPath) # open example project - openQmakeProject(examplePath) + checkedTargets = openQmakeProject(examplePath) # build and wait until finished - on all build configurations - availableConfigs = iterateBuildConfigs(1) + availableConfigs = iterateBuildConfigs(len(checkedTargets)) if not availableConfigs: test.fatal("Haven't found a suitable Qt version - leaving without building.") for kit, config in availableConfigs: - selectBuildConfig(1, kit, config) + selectBuildConfig(len(checkedTargets), kit, config) # try to build project test.log("Testing build configuration: " + config) invokeMenuItem("Build", "Build All") |