Skip to content

Commit ec8df55

Browse files
committed
[lldb][test][Windows] Don't check for pexpect with LLDB_ENFORCE_STRICT_TEST_REQUIREMENTS
See #22648 for why we don't use it on Windows. Any pexpect tests are skipped there.
1 parent 6ed67ca commit ec8df55

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

lldb/test/CMakeLists.txt

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,14 @@ endif()
1111

1212
if(LLDB_ENFORCE_STRICT_TEST_REQUIREMENTS)
1313
message(STATUS "Enforcing strict test requirements for LLDB")
14-
set(useful_python_modules
15-
psutil # Lit uses psutil to do per-test timeouts.
16-
pexpect # We no longer vendor pexpect.
17-
)
14+
# Lit uses psutil to do per-test timeouts.
15+
set(useful_python_modules psutil)
16+
17+
if(NOT WIN32)
18+
# We no longer vendor pexpect and it is not used on Windows.
19+
list(APPEND pexpect)
20+
endif()
21+
1822
foreach(module ${useful_python_modules})
1923
lldb_find_python_module(${module})
2024
if (NOT PY_${module}_FOUND)

0 commit comments

Comments
 (0)