summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChaoren Lin <chaorenl@google.com>2015-11-05 22:00:47 +0000
committerChaoren Lin <chaorenl@google.com>2015-11-05 22:00:47 +0000
commit18da38edb315fe9e063348c4d785b26111b6d7ec (patch)
tree408c21dc9b23bfd95cbdb4ec089c49f11c291b5d
parent775aaeb7656dc3529a32e2cf2fd84aba5a189b7e (diff)
downloadbcm5719-llvm-18da38edb315fe9e063348c4d785b26111b6d7ec.tar.gz
bcm5719-llvm-18da38edb315fe9e063348c4d785b26111b6d7ec.zip
Fix OS X tests.
llvm-svn: 252218
-rw-r--r--lldb/packages/Python/lldbsuite/test/dotest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/dotest.py b/lldb/packages/Python/lldbsuite/test/dotest.py
index 0799ac789de..13948edfcfc 100644
--- a/lldb/packages/Python/lldbsuite/test/dotest.py
+++ b/lldb/packages/Python/lldbsuite/test/dotest.py
@@ -387,7 +387,7 @@ def setupCrashInfoHook():
global setCrashInfoHook
setCrashInfoHook = setCrashInfoHook_NonMac # safe default
if platform.system() == "Darwin":
- import lock
+ from . import lock
test_dir = os.environ['LLDB_TEST']
if not test_dir or not os.path.exists(test_dir):
return
OpenPOWER on IntegriCloud