[libcxx-commits] [PATCH] D97369: [libcxx] [test] Quote the path to the python interpreter
Martin Storsjö via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Feb 24 02:24:24 PST 2021
mstorsjo created this revision.
mstorsjo added a reviewer: libc++.
Herald added a subscriber: mgorny.
mstorsjo requested review of this revision.
Herald added a project: libc++.
Herald added 1 blocking reviewer(s): libc++.
This should allow running tests with the interpreter in some of the default paths where Python for Windows might be installed.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D97369
Files:
libcxx/test/CMakeLists.txt
Index: libcxx/test/CMakeLists.txt
===================================================================
--- libcxx/test/CMakeLists.txt
+++ libcxx/test/CMakeLists.txt
@@ -82,7 +82,7 @@
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!")
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97369.326026.patch
Type: text/x-patch
Size: 652 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210224/7a344020/attachment.bin>
More information about the libcxx-commits
mailing list