forked from OSchip/llvm-project
[lldb/test] Use abspath when searching for lldb.exe
realpath is too aggressive and does not produce the desired effect if ones build folder is a symlink farm.
This commit is contained in:
parent
0f08db66db
commit
ce6903595b
|
@ -357,7 +357,7 @@ def parseOptionsAndInitTestdirs():
|
|||
|
||||
if args.executable:
|
||||
# lldb executable is passed explicitly
|
||||
lldbtest_config.lldbExec = os.path.realpath(args.executable)
|
||||
lldbtest_config.lldbExec = os.path.abspath(args.executable)
|
||||
if not is_exe(lldbtest_config.lldbExec):
|
||||
lldbtest_config.lldbExec = which(args.executable)
|
||||
if not is_exe(lldbtest_config.lldbExec):
|
||||
|
|
Loading…
Reference in New Issue