Remove `lldb.root` and just look for the file we care about.
llvm-svn: 253679
This commit is contained in:
parent
543cb4c333
commit
4c152690be
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue