summaryrefslogtreecommitdiff
path: root/test/use_lldb_suite.py
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2019-01-19 10:06:29 +0000
committerDimitry Andric <dim@FreeBSD.org>2019-01-19 10:06:29 +0000
commit94994d372d014ce4c8758b9605d63fae651bd8aa (patch)
tree51c0b708bd59f205d6b35cb2a8c24d62f0c33d77 /test/use_lldb_suite.py
parent39be7ce23363d12ae3e49aeb1fdb2bfeb892e836 (diff)
Notes
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: