summaryrefslogtreecommitdiff
path: root/libunwind
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2021-08-27 11:35:02 +0000
committerMartin Storsjö <martin@martin.st>2023-04-06 11:07:41 +0300
commit16857c4a30da502297ad3ac731ae3fb1a9e5d611 (patch)
tree93d6f950901899eeb443733619e0cc8ca2703212 /libunwind
parent503ef0a8e79ed26750ba1e064911e56e29c91f2f (diff)
downloadllvm-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 'libunwind')
-rw-r--r--libunwind/test/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/libunwind/test/CMakeLists.txt b/libunwind/test/CMakeLists.txt
index 0a09553e692d..e6bd52690442 100644
--- a/libunwind/test/CMakeLists.txt
+++ b/libunwind/test/CMakeLists.txt
@@ -10,7 +10,7 @@ endmacro()
pythonize_bool(LIBUNWIND_ENABLE_CET)
pythonize_bool(LIBUNWIND_ENABLE_THREADS)
pythonize_bool(LIBUNWIND_USES_ARM_EHABI)
-set(LIBUNWIND_EXECUTOR "${Python3_EXECUTABLE} ${LIBUNWIND_LIBCXX_PATH}/utils/run.py" CACHE STRING
+set(LIBUNWIND_EXECUTOR "\\\"${Python3_EXECUTABLE}\\\" ${LIBUNWIND_LIBCXX_PATH}/utils/run.py" CACHE STRING
"Executor to use when running tests.")
set(AUTO_GEN_COMMENT "## Autogenerated by libunwind configuration.\n# Do not edit!")