Added lldbsuite.lldb_test_root, switched formatter to use it.
llvm-svn: 254894
diff --git a/lldb/packages/Python/lldbsuite/__init__.py b/lldb/packages/Python/lldbsuite/__init__.py
index fb65606..aa6874e 100644
--- a/lldb/packages/Python/lldbsuite/__init__.py
+++ b/lldb/packages/Python/lldbsuite/__init__.py
@@ -18,3 +18,11 @@
# 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")