summaryrefslogtreecommitdiff
path: root/tests/system/suite_CCOM/tst_CCOM01/test.py
diff options
context:
space:
mode:
authorRobert Loehning <robert.loehning@digia.com>2013-01-18 16:31:48 +0100
committerRobert Loehning <robert.loehning@digia.com>2013-01-23 12:06:26 +0100
commit3f570a79019294d884e363d2c8ef763ab373afd8 (patch)
treecaf8a8b89d6f34f51c8465731b680603f81c34ee /tests/system/suite_CCOM/tst_CCOM01/test.py
parent1f80a41ffc07fadbe19ee6f642e25301352685c1 (diff)
downloadqt-creator-3f570a79019294d884e363d2c8ef763ab373afd8.tar.gz
Squish: Enable testing with MSVC again
Change-Id: Ib6051caa6e3a52a611aa24c0bf0c4d89939fdd58 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Diffstat (limited to 'tests/system/suite_CCOM/tst_CCOM01/test.py')
-rwxr-xr-xtests/system/suite_CCOM/tst_CCOM01/test.py6
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")