Fix OS X tests.

llvm-svn: 252218
This commit is contained in:
Chaoren Lin 2015-11-05 22:00:47 +00:00
parent 775aaeb765
commit 18da38edb3
1 changed files with 1 additions and 1 deletions

View File

@ -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