Skip to content
Snippets Groups Projects
Commit c42351be authored by Bill King's avatar Bill King
Browse files

Shift temp dir into more findable location.

Change-Id: Idbf29e79d4a3dc7c4083a5b7cba78489db46366b
Reviewed-on: http://codereview.qt-project.org/5298


Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarChristian Stenger <christian.stenger@nokia.com>
parent 8792fcfd
No related branches found
No related tags found
No related merge requests found
import tempfile, shutil, os
def tempDir():
return tempfile.mkdtemp(prefix="qtcreator_")
Result = os.path.abspath(os.getcwd()+"/../../testing")
if not os.path.exists(Result):
os.mkdir(Result)
return tempfile.mkdtemp(prefix="qtcreator_", dir=Result)
def deleteDirIfExists(path):
shutil.rmtree(path, True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment