summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/dotest.py
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2017-03-14 20:04:46 +0000
committerChris Bieneman <beanz@apple.com>2017-03-14 20:04:46 +0000
commit265ca535ab1c208749c05fbbb2d18ddd0047dd65 (patch)
treecff3ad25dc01a4f7fa9b0ee686860700ba6ad758 /lldb/packages/Python/lldbsuite/test/dotest.py
parent32f6b5129f21d7e0e0e654d143a02b56509e74ea (diff)
downloadbcm5719-llvm-265ca535ab1c208749c05fbbb2d18ddd0047dd65.tar.gz
bcm5719-llvm-265ca535ab1c208749c05fbbb2d18ddd0047dd65.zip
[CMake] Override debugserver to use the build tree on Darwin
This patch adds support to the test suite for overriding the path to debugserver, and uses the override to point to the build tree's debugserver on Darwin. llvm-svn: 297776
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/dotest.py')
-rw-r--r--lldb/packages/Python/lldbsuite/test/dotest.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/dotest.py b/lldb/packages/Python/lldbsuite/test/dotest.py
index 6b6b2574e63..122c51432fc 100644
--- a/lldb/packages/Python/lldbsuite/test/dotest.py
+++ b/lldb/packages/Python/lldbsuite/test/dotest.py
@@ -364,6 +364,9 @@ def parseOptionsAndInitTestdirs():
if args.executable:
lldbtest_config.lldbExec = os.path.realpath(args.executable)
+
+ if args.server:
+ os.environ['LLDB_DEBUGSERVER_PATH'] = args.server
if args.excluded:
for excl_file in args.excluded:
OpenPOWER on IntegriCloud