[lldb] Remove cmake check for pexpect with LLDB_TEST_USE_VENDOR_PACKAGES #86962
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The commit 8bed754 was intended to support the use case where users want to run all the LLDB tests in an environment where pexpect is not installed. Those users can build with
-DLLDB_TEST_USER_ARGS=--skip-category=pexpect
to skip pexpect tests, but because we still fail in cmake configuration, they must use-DLLDB_TEST_USE_VENDOR_PACKAGES=ON
to avoid failing due to pexpect not being available.I would like to remove
LLDB_TEST_USE_VENDOR_PACKAGES
now, but first I'd like to make sure users w/o pexpect can pass CI with-DLLDB_TEST_USE_VENDOR_PACKAGES=OFF -DLLDB_TEST_USER_ARGS=--skip-category=pexpect
. Once that is done, I am not aware of any other issues caused by the previous commits, so the third party tree should be safe to remove.