[lldb] Use the build's python interpreter in the shell tests
authorJonas Devlieghere <jonas@devlieghere.com>
Tue, 1 Feb 2022 00:51:07 +0000 (16:51 -0800)
committerJonas Devlieghere <jonas@devlieghere.com>
Tue, 1 Feb 2022 00:53:42 +0000 (16:53 -0800)
commitd329dfd0c8576f022ce851a41d9555884b876390
tree393645d779d3a80729af0cb70f5ffc2ce54549e3
parent7aaf024dac719d6cc73e15074ec8c9ad804229ad
[lldb] Use the build's python interpreter in the shell tests

Make sure that the shell tests use the same python interpreter as the
rest of the build instead of picking up `python` from the PATH.

It would be nice if we could use the _disallow helper, but that triggers
on invocations that specify python as the scripting language.
lldb/test/Shell/ScriptInterpreter/Python/Crashlog/json.test
lldb/test/Shell/ScriptInterpreter/Python/Crashlog/no_threadState.test
lldb/test/Shell/ScriptInterpreter/Python/Crashlog/text.test