summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorJordan Rupprecht <rupprecht@google.com>2024-02-28 15:00:41 -0600
committerGitHub <noreply@github.com>2024-02-28 15:00:41 -0600
commit249cf356ef21d0b6ed0d1fa962f3fc5a9e3fcc9e (patch)
tree6a4f7d7d62afb0baf8607fef89617707f80e7190 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent330793c91d08e6ac60334e4813746db898b9407e (diff)
[lldb][test][NFC] Add option to exclude third_party packages (#83191)
The goal here is to remove the third_party/Python/module tree, which LLDB tests only use to `import pexpect`. This package is available on `pip`, and I believe should not be hard to obtain. However, in case it isn't easily available, deleting the tree right now could cause disruption. This introduces a `LLDB_TEST_USE_VENDOR_PACKAGES` cmake param that can be enabled, and the tests will continue loading that tree. By default, it is enabled, meaning there's really no change here. A followup change will disable it by default once all known build bots are updated to include this package. When disabled, an eager cmake check runs that makes sure `pexpect` is available before waiting for the test to fail in an obscure way. Later, this option will go away, and when it does, we can delete the tree too. Ideally this is not disruptive, and we can remove it in a week or two.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions