summaryrefslogtreecommitdiffstats
path: root/lldb/test/dotest.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/dotest.py')
-rwxr-xr-xlldb/test/dotest.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/test/dotest.py b/lldb/test/dotest.py
index 5e2a1071925..5d96fc8e50e 100755
--- a/lldb/test/dotest.py
+++ b/lldb/test/dotest.py
@@ -849,6 +849,8 @@ def setupSysPath():
lines = lldb_dash_p_result.splitlines()
if len(lines) == 1 and os.path.isfile(os.path.join(lines[0], init_in_python_dir)):
lldbPath = lines[0]
+ if "linux" in sys.platform:
+ os.environ['LLDB_BUILD_DIR'] = os.path.join(lldbPath, 'lldb')
if not lldbPath:
dbgPath = os.path.join(base, *(xcode3_build_dir + dbg + python_resource_dir))
OpenPOWER on IntegriCloud