summaryrefslogtreecommitdiff
path: root/test/use_lldb_suite.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/use_lldb_suite.py')
-rw-r--r--test/use_lldb_suite.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/use_lldb_suite.py b/test/use_lldb_suite.py
index 6e24b9da8d34..6a8c12d81898 100644
--- a/test/use_lldb_suite.py
+++ b/test/use_lldb_suite.py
@@ -4,7 +4,9 @@ import sys
def find_lldb_root():
- lldb_root = os.path.dirname(inspect.getfile(inspect.currentframe()))
+ lldb_root = os.path.dirname(
+ os.path.abspath(inspect.getfile(inspect.currentframe()))
+ )
while True:
lldb_root = os.path.dirname(lldb_root)
if lldb_root is None: