[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:
Pavel Labath 2022-01-25 12:10:28 +01:00
parent 0f08db66db
commit ce6903595b
1 changed files with 1 additions and 1 deletions

View File

@ -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):