diff options
author | Martin Storsjö <martin@martin.st> | 2021-08-27 11:35:02 +0000 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2023-04-06 11:07:41 +0300 |
commit | 16857c4a30da502297ad3ac731ae3fb1a9e5d611 (patch) | |
tree | 93d6f950901899eeb443733619e0cc8ca2703212 /libcxxabi | |
parent | 503ef0a8e79ed26750ba1e064911e56e29c91f2f (diff) | |
download | llvm-16857c4a30da502297ad3ac731ae3fb1a9e5d611.tar.gz |
[libcxxabi, libunwind] [test] Quote the python path properly for LIB*_EXECUTOR
This is the same as c218c80c730a14a1cbcebd588b18220a879702c6,
but for libcxxabi and libunwind.
This fixes running tests on Windows with Python installed in
e.g. "C:\Program Files\Python38".
Differential Revision: https://reviews.llvm.org/D147629
Diffstat (limited to 'libcxxabi')
-rw-r--r-- | libcxxabi/test/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxxabi/test/CMakeLists.txt b/libcxxabi/test/CMakeLists.txt index 5da584a2c9cf..d639292d7a7e 100644 --- a/libcxxabi/test/CMakeLists.txt +++ b/libcxxabi/test/CMakeLists.txt @@ -8,7 +8,7 @@ macro(pythonize_bool var) endmacro() pythonize_bool(LIBCXXABI_USE_LLVM_UNWINDER) -set(LIBCXXABI_EXECUTOR "${Python3_EXECUTABLE} ${LIBCXXABI_LIBCXX_PATH}/utils/run.py" CACHE STRING +set(LIBCXXABI_EXECUTOR "\\\"${Python3_EXECUTABLE}\\\" ${LIBCXXABI_LIBCXX_PATH}/utils/run.py" CACHE STRING "Executor to use when running tests.") if (LIBCXXABI_ENABLE_SHARED) |