diff options
author | Robert Loehning <robert.loehning@theqtcompany.com> | 2015-12-01 14:05:49 +0100 |
---|---|---|
committer | Robert Loehning <robert.loehning@theqtcompany.com> | 2015-12-01 14:38:36 +0000 |
commit | 66e7b77d88eb83ef32896da7e23908fc704a1b66 (patch) | |
tree | 809041d47fb0aee63371ec4f17c7199dfff7a512 /tests/system/suite_CSUP/tst_CSUP05/test.py | |
parent | a992a1064cae6f8f7e2ada90d8c73924f9695314 (diff) | |
download | qt-creator-66e7b77d88eb83ef32896da7e23908fc704a1b66.tar.gz |
Squish: Update selection of code model
Change-Id: Iee76086dfd886dd8d61db3cfe4600a5eedd36cb7
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Diffstat (limited to 'tests/system/suite_CSUP/tst_CSUP05/test.py')
-rw-r--r-- | tests/system/suite_CSUP/tst_CSUP05/test.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/tests/system/suite_CSUP/tst_CSUP05/test.py b/tests/system/suite_CSUP/tst_CSUP05/test.py index c3e51fbafe..366dc234c5 100644 --- a/tests/system/suite_CSUP/tst_CSUP05/test.py +++ b/tests/system/suite_CSUP/tst_CSUP05/test.py @@ -40,18 +40,15 @@ def main(): # copy example project to temp directory templateDir = prepareTemplate(sourceExample) examplePath = os.path.join(templateDir, proFile) - startCreatorTryingClang() + clangLoaded = startCreatorTryingClang() if not startedWithoutPluginError(): return # open example project openQmakeProject(examplePath) # wait for parsing to complete progressBarWait(30000) - models = iterateAvailableCodeModels() - for current in models: - if current != models[0]: - selectCodeModel(current) - test.log("Testing code model: %s" % current) + for useClang in set([False, clangLoaded]): + selectClangCodeModel(clangLoaded, useClang) # open .cpp file in editor if not openDocument("propertyanimation.Sources.main\\.cpp"): test.fatal("Could not open main.cpp") |