summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/__init__.py
diff options
context:
space:
mode:
authorTodd Fiala <todd.fiala@gmail.com>2015-12-07 06:19:48 +0000
committerTodd Fiala <todd.fiala@gmail.com>2015-12-07 06:19:48 +0000
commit1d3b5a3ac2209366fe63c41f7b79ca2ab8b683ee (patch)
tree5da9376e9da74487c4c07c018364d0da824840a2 /lldb/packages/Python/lldbsuite/__init__.py
parent8cf5e3ae95c44625f313d58961de4ef8a427b635 (diff)
downloadbcm5719-llvm-1d3b5a3ac2209366fe63c41f7b79ca2ab8b683ee.tar.gz
bcm5719-llvm-1d3b5a3ac2209366fe63c41f7b79ca2ab8b683ee.zip
Added lldbsuite.lldb_test_root, switched formatter to use it.
llvm-svn: 254894
Diffstat (limited to 'lldb/packages/Python/lldbsuite/__init__.py')
-rw-r--r--lldb/packages/Python/lldbsuite/__init__.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/__init__.py b/lldb/packages/Python/lldbsuite/__init__.py
index fb65606923e..aa6874e78bc 100644
--- a/lldb/packages/Python/lldbsuite/__init__.py
+++ b/lldb/packages/Python/lldbsuite/__init__.py
@@ -18,3 +18,11 @@ def find_lldb_root():
# lldbsuite.lldb_root refers to the root of the git/svn source checkout
lldb_root = find_lldb_root()
+
+# lldbsuite.lldb_test_root refers to the root of the python test tree
+lldb_test_root = os.path.join(
+ lldb_root,
+ "packages",
+ "Python",
+ "lldbsuite",
+ "test")
OpenPOWER on IntegriCloud