summaryrefslogtreecommitdiff
path: root/tests/system/suite_CSUP/tst_CSUP04/test.py
diff options
context:
space:
mode:
authorRobert Loehning <robert.loehning@digia.com>2012-09-27 15:05:38 +0200
committerRobert Loehning <robert.loehning@digia.com>2012-09-27 17:32:39 +0200
commit832bc738c7f61d7b35fc993c38d88c16a4e0a8b6 (patch)
treebc7a5053efc05d43566eba38d0d96e0ce44f4a9a /tests/system/suite_CSUP/tst_CSUP04/test.py
parenta5b2d8f5c09850d0f52e85cb82f32a0f5a4e8d9d (diff)
downloadqt-creator-832bc738c7f61d7b35fc993c38d88c16a4e0a8b6.tar.gz
Squish: Improved checks before working on projects
Change-Id: Ieb230be55b94d00be272cb84796ce8fd22f4f8f7 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Diffstat (limited to 'tests/system/suite_CSUP/tst_CSUP04/test.py')
-rw-r--r--tests/system/suite_CSUP/tst_CSUP04/test.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/system/suite_CSUP/tst_CSUP04/test.py b/tests/system/suite_CSUP/tst_CSUP04/test.py
index cafe7cf582..28d4ac145b 100644
--- a/tests/system/suite_CSUP/tst_CSUP04/test.py
+++ b/tests/system/suite_CSUP/tst_CSUP04/test.py
@@ -6,11 +6,12 @@ def main():
global searchFinished
# prepare example project
sourceExample = os.path.abspath(sdkPath + "/Examples/4.7/declarative/animation/basics/property-animation")
- if not neededFilePresent(sourceExample):
+ proFile = "propertyanimation.pro"
+ if not neededFilePresent(os.path.join(sourceExample, proFile)):
return
# copy example project to temp directory
templateDir = prepareTemplate(sourceExample)
- examplePath = templateDir + "/propertyanimation.pro"
+ examplePath = os.path.join(templateDir, proFile)
startApplication("qtcreator" + SettingsPath)
# open example project
openQmakeProject(examplePath)