Skip to content

Commit c218c80

Browse files
committed
[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
1 parent 3475159 commit c218c80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/test/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ endif()
8282

8383
set(LIBCXX_TARGET_INFO "libcxx.test.target_info.LocalTI" CACHE STRING
8484
"TargetInfo to use when setting up test environment.")
85-
set(LIBCXX_EXECUTOR "${Python3_EXECUTABLE} ${CMAKE_CURRENT_LIST_DIR}/../utils/run.py" CACHE STRING
85+
set(LIBCXX_EXECUTOR "\\\"${Python3_EXECUTABLE}\\\" ${CMAKE_CURRENT_LIST_DIR}/../utils/run.py" CACHE STRING
8686
"Executor to use when running tests.")
8787

8888
set(AUTO_GEN_COMMENT "## Autogenerated by libcxx configuration.\n# Do not edit!")

0 commit comments

Comments
 (0)