forked from OSchip/llvm-project
Fix a crash in dotest.py when the lldb executable is not built.
Summary: If lldb is not built, dotest.py throws an exception because we are using an unset variable. Reviewers: clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D6516 llvm-svn: 223446
This commit is contained in:
parent
39bd119842
commit
7a1d22a2af
|
@ -1011,7 +1011,7 @@ def setupSysPath():
|
|||
# Assume lldb-mi is in same place as lldb
|
||||
# If not found, disable the lldb-mi tests
|
||||
global dont_do_lldbmi_test
|
||||
if is_exe(lldbExec + "-mi"):
|
||||
if lldbExec and is_exe(lldbExec + "-mi"):
|
||||
lldbMiExec = lldbExec + "-mi"
|
||||
if not lldbMiExec:
|
||||
dont_do_lldbmi_test = True
|
||||
|
|
Loading…
Reference in New Issue