forked from qt-creator/qt-creator
Change-Id: I8f937120f7b151b0c68480a898fd953ae542bf69 Reviewed-on: http://codereview.qt.nokia.com/3662 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
25 lines
700 B
Python
25 lines
700 B
Python
import platform;
|
|
import shutil;
|
|
import os;
|
|
import glob;
|
|
|
|
SDKPath = ''
|
|
SettingsPath = ''
|
|
testSettings.logScreenshotOnFail = True
|
|
|
|
source("../../shared/utils.py")
|
|
source("../../shared/mainwin.py")
|
|
|
|
if platform.system() in ('Windows', 'Microsoft'):
|
|
SDKPath = "C:/QtSDK/src"
|
|
cwd = os.getcwd() # current dir is directory holding qtcreator.py
|
|
cwd+="/../../settings/windows"
|
|
cwd = os.path.abspath(cwd)
|
|
SettingsPath = " -settingspath %s" % cwd
|
|
else:
|
|
SDKPath = os.path.expanduser("~/QtSDK/src")
|
|
cwd = os.getcwd() # current dir is directory holding qtcreator.py
|
|
cwd+="/../../settings/unix"
|
|
cwd = os.path.abspath(cwd)
|
|
SettingsPath = " -settingspath %s" % cwd
|