From cfacc486f4f4cf9f885cf53649fcfc71bbdfbc27 Mon Sep 17 00:00:00 2001
From: Bill King <bill.king@nokia.com>
Date: Thu, 15 Dec 2011 13:41:25 +0100
Subject: [PATCH] SQUISH: Use env var for src path if available.

Change-Id: I1844db3bb3dc5eca0c434089288916ac86db775a
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
---
 tests/system/shared/qtcreator.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/system/shared/qtcreator.py b/tests/system/shared/qtcreator.py
index 3911aa62bb9..ebc6a987fd1 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()
-- 
GitLab