File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,7 @@ if(ENABLE_TESTING)
95
95
96
96
find_package (Python3 COMPONENTS Interpreter REQUIRED )
97
97
98
+ string (REPLACE "\\ " "\\\\ " CMAKE_Swift_FLAGS_ESCAPED ${CMAKE_Swift_FLAGS} )
98
99
add_custom_target (check-xctest
99
100
COMMAND
100
101
${CMAKE_COMMAND} -E env
@@ -104,7 +105,7 @@ if(ENABLE_TESTING)
104
105
LIBDISPATCH_BUILD_DIR=${XCTEST_PATH_TO_LIBDISPATCH_BUILD}
105
106
LIBDISPATCH_OVERLAY_DIR=${XCTEST_PATH_TO_LIBDISPATCH_BUILD}/src/swift
106
107
SWIFT_EXEC=${CMAKE_Swift_COMPILER}
107
- SWIFT_FLAGS=${CMAKE_Swift_FLAGS }
108
+ SWIFT_FLAGS=${CMAKE_Swift_FLAGS_ESCAPED }
108
109
$< TARGET_FILE:Python3::Interpreter> ${LIT_COMMAND} -sv ${CMAKE_SOURCE_DIR} /Tests/Functional
109
110
COMMENT
110
111
"Running XCTest functional test suite"
You can’t perform that action at this time.
0 commit comments