forked from OSchip/llvm-project
tests: Improve Makefile/dotest to properly set LLDB_HERE variable used in some
tests. llvm-svn: 143394
This commit is contained in:
parent
56bbb88689
commit
16d88ff045
|
@ -32,5 +32,6 @@ check-local::
|
|||
rm -rf ../test-rdir
|
||||
env PATH="$(ToolDir):$(PATH)" \
|
||||
PYTHONPATH=$(ToolDir) \
|
||||
LLDB_EXEC=$(ToolDir)/lldb \
|
||||
$(SHLIBPATH_VAR)=$(LibDir):$($(SHLIBPATH_VAR)) \
|
||||
python $(PROJ_SRC_DIR)/dotest.py -i -v -r ../test-rdir
|
||||
|
|
|
@ -663,6 +663,8 @@ def setupSysPath():
|
|||
lldbHere = baiExec
|
||||
elif is_exe(baiExec2):
|
||||
lldbHere = baiExec2
|
||||
elif lldbExec:
|
||||
lldbHere = lldbExec
|
||||
|
||||
if lldbHere:
|
||||
os.environ["LLDB_HERE"] = lldbHere
|
||||
|
|
Loading…
Reference in New Issue