summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill King <bill.king@nokia.com>2011-12-15 13:41:25 +0100
committerBill King <bill.king@nokia.com>2011-12-15 16:16:39 +0100
commitcfacc486f4f4cf9f885cf53649fcfc71bbdfbc27 (patch)
treedc11372b926c9f58a87f5a01f287aba5e44e9a06
parent046f25ea7b940d44a320449f0e4471daf4109234 (diff)
downloadqt-creator-cfacc486f4f4cf9f885cf53649fcfc71bbdfbc27.tar.gz
SQUISH: Use env var for src path if available.
Change-Id: I1844db3bb3dc5eca0c434089288916ac86db775a Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
-rw-r--r--tests/system/shared/qtcreator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/system/shared/qtcreator.py b/tests/system/shared/qtcreator.py
index 3911aa62bb..ebc6a987fd 100644
--- a/tests/system/shared/qtcreator.py
+++ b/tests/system/shared/qtcreator.py
@@ -63,7 +63,7 @@ else:
cwd = os.getcwd() # current dir is directory holding qtcreator.py
cwd+="/../../settings/unix"
defaultQtVersion = "Desktop Qt 4.7.4 for GCC (Qt SDK)"
-srcPath = sdkPath + "/src"
+srcPath = os.getenv("SYSTEST_SRCPATH", sdkPath + "/src")
cwd = os.path.abspath(cwd)
tmpSettingsDir = tempDir()