aboutsummaryrefslogtreecommitdiffstats
path: root/tests/system/suite_debugger/tst_build_new_project
diff options
context:
space:
mode:
authorRobert Loehning <robert.loehning@digia.com>2012-10-17 21:48:46 +0200
committerRobert Loehning <robert.loehning@digia.com>2012-10-18 16:26:28 +0200
commit9687e18820d9fd7411ce8948978e8ab5c5478f78 (patch)
treee7721986fe712c8d744defc36162c41eb87de82a /tests/system/suite_debugger/tst_build_new_project
parent10c40294493b6c472e301ce2b4430daaf1bb5b94 (diff)
Squish: Removed outdated cleanups
__removeTmpSettingsDir__() does it all. Change-Id: Ic1eb2ef02665c5d863956a1587f4f46344743f8e Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Diffstat (limited to 'tests/system/suite_debugger/tst_build_new_project')
-rw-r--r--tests/system/suite_debugger/tst_build_new_project/test.py11
1 files changed, 1 insertions, 10 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 cd33ccfbbf..4474bbdc32 100644
--- a/tests/system/suite_debugger/tst_build_new_project/test.py
+++ b/tests/system/suite_debugger/tst_build_new_project/test.py
@@ -1,11 +1,10 @@
source("../../shared/qtcreator.py")
-projectsPath = tempDir()
project = "SquishProject"
def main():
startApplication("qtcreator" + SettingsPath)
- createProject_Qt_Console(projectsPath, project)
+ createProject_Qt_Console(tempDir(), project)
availableConfigs = iterateBuildConfigs(1, 0)
if not availableConfigs:
test.fatal("Haven't found a suitable Qt version - leaving without building.")
@@ -14,11 +13,3 @@ def main():
test.log("Testing build configuration: " + config)
runAndCloseApp()
invokeMenuItem("File", "Exit")
- waitForCleanShutdown()
-
-def init():
- cleanup()
-
-def cleanup():
- deleteDirIfExists(projectsPath + os.sep + project)
- deleteDirIfExists(shadowBuildDir(projectsPath, project, defaultQtVersion, 1))