[all-commits] [llvm/llvm-project] 3bae8e: [lldb] Suppport testing with debug-python on Windo...
nerix via All-commits
all-commits at lists.llvm.org
Mon May 19 11:14:12 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3bae8e2ef2ff02dcba745cb47ea1264fd08885cc
https://github.com/llvm/llvm-project/commit/3bae8e2ef2ff02dcba745cb47ea1264fd08885cc
Author: nerix <nerixdev at outlook.de>
Date: 2025-05-19 (Mon, 19 May 2025)
Changed paths:
M lldb/test/API/CMakeLists.txt
M lldb/test/API/lit.site.cfg.py.in
Log Message:
-----------
[lldb] Suppport testing with debug-python on Windows (#140443)
When trying to run the LLDB API tests on Windows with a debug
configuration, they fail, because the `_lldb` module won't be found. As
explained in https://github.com/llvm/llvm-project/issues/51272, this is
because lit will run the test with `python.exe` but the module is built
for the debug version of python, `python_d.exe`.
CMake already resolved the debug executable in
`Python3_EXECUTABLE_DEBUG`, so this PR changes the
`config.python_executable` to point to `python_d.exe` on Windows in
debug mode.
The check is equivalent to the one done in the top-level LLDB CMakeLists
[when setting the python
suffix](https://github.com/llvm/llvm-project/blob/3ccb15d6caf57f2a866d496ada2fb52d14b179d2/lldb/CMakeLists.txt#L79-L86).
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list