[libcxx-commits] [libcxx] c218c80 - [libcxx] [test] Quote the path to the python interpreter
Martin Storsjö via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Feb 24 12:26:34 PST 2021
Author: Martin Storsjö
Date: 2021-02-24T22:24:41+02:00
New Revision: c218c80c730a14a1cbcebd588b18220a879702c6
URL: https://github.com/llvm/llvm-project/commit/c218c80c730a14a1cbcebd588b18220a879702c6
DIFF: https://github.com/llvm/llvm-project/commit/c218c80c730a14a1cbcebd588b18220a879702c6.diff
LOG: [libcxx] [test] Quote the path to the python interpreter
This should allow running tests with the interpreter in some of the
default paths where Python for Windows might be installed.
Differential Revision: https://reviews.llvm.org/D97369
Added:
Modified:
libcxx/test/CMakeLists.txt
Removed:
################################################################################
diff --git a/libcxx/test/CMakeLists.txt b/libcxx/test/CMakeLists.txt
index 7173e22d615d..61ef4aea3c7f 100644
--- a/libcxx/test/CMakeLists.txt
+++ b/libcxx/test/CMakeLists.txt
@@ -82,7 +82,7 @@ endif()
set(LIBCXX_TARGET_INFO "libcxx.test.target_info.LocalTI" CACHE STRING
"TargetInfo to use when setting up test environment.")
-set(LIBCXX_EXECUTOR "${Python3_EXECUTABLE} ${CMAKE_CURRENT_LIST_DIR}/../utils/run.py" CACHE STRING
+set(LIBCXX_EXECUTOR "\\\"${Python3_EXECUTABLE}\\\" ${CMAKE_CURRENT_LIST_DIR}/../utils/run.py" CACHE STRING
"Executor to use when running tests.")
set(AUTO_GEN_COMMENT "## Autogenerated by libcxx configuration.\n# Do not edit!")
More information about the libcxx-commits
mailing list