Remove `lldb.root` and just look for the file we care about.

llvm-svn: 253679
This commit is contained in:
Zachary Turner 2015-11-20 17:40:57 +00:00
parent 543cb4c333
commit 4c152690be
5 changed files with 4 additions and 4 deletions

View File

View File

@ -11,7 +11,7 @@ def find_lldb_root():
if lldb_root is None:
return None
test_path = os.path.join(lldb_root, "lldb.root")
test_path = os.path.join(lldb_root, "use_lldb_suite_root.py")
if os.path.isfile(test_path):
return lldb_root
return None

View File

@ -9,7 +9,7 @@ def find_lldb_root():
if lldb_root is None:
return None
test_path = os.path.join(lldb_root, "lldb.root")
test_path = os.path.join(lldb_root, "use_lldb_suite_root.py")
if os.path.isfile(test_path):
return lldb_root
return None

View File

@ -9,7 +9,7 @@ def find_lldb_root():
if lldb_root is None:
return None
test_path = os.path.join(lldb_root, "lldb.root")
test_path = os.path.join(lldb_root, "use_lldb_suite_root.py")
if os.path.isfile(test_path):
return lldb_root
return None

View File

@ -9,7 +9,7 @@ def find_lldb_root():
if lldb_root is None:
return None
test_path = os.path.join(lldb_root, "lldb.root")
test_path = os.path.join(lldb_root, "use_lldb_suite_root.py")
if os.path.isfile(test_path):
return lldb_root
return None