mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-25 19:06:05 +00:00
Use sys.executable in lldb-dotest
Without that, dotest.py would be executed with the default python interpreter, which may not be the same one that lldb is built with. This still requires the user do know which python interpreter to use when running lldb-dotest, but now he is at least able to choose it, if he knows which one to use. llvm-svn: 354105
This commit is contained in:
parent
8d6b60c14c
commit
b302bd2324
@ -9,7 +9,7 @@ if __name__ == '__main__':
|
||||
wrapper_args = sys.argv[1:]
|
||||
dotest_args = dotest_args_str.split(';')
|
||||
# Build dotest.py command.
|
||||
cmd = [dotest_path, '-q']
|
||||
cmd = [sys.executable, dotest_path, '-q']
|
||||
cmd.extend(dotest_args)
|
||||
cmd.extend(wrapper_args)
|
||||
# Invoke dotest.py and return exit code.
|
||||
|
Loading…
x
Reference in New Issue
Block a user