[Lldb-commits] [lldb] r252218 - Fix OS X tests.

Chaoren Lin via lldb-commits lldb-commits at lists.llvm.org
Thu Nov 5 14:00:47 PST 2015


Author: chaoren
Date: Thu Nov  5 16:00:47 2015
New Revision: 252218

URL: http://llvm.org/viewvc/llvm-project?rev=252218&view=rev
Log:
Fix OS X tests.

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/dotest.py

Modified: lldb/trunk/packages/Python/lldbsuite/test/dotest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/dotest.py?rev=252218&r1=252217&r2=252218&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/dotest.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/dotest.py Thu Nov  5 16:00:47 2015
@@ -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




More information about the lldb-commits mailing list