File tree Expand file tree Collapse file tree 3 files changed +2
-13
lines changed
stdlib/private/BlocksRuntimeStubs Expand file tree Collapse file tree 3 files changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ foreach(SDK ${SWIFT_SDKS})
66 foreach (ARCH ${SWIFT_SDK_${SDK} _ARCHITECTURES})
77 get_swift_test_build_flavors(build_flavors "${SDK} " )
88
9- foreach (BUILD_FLAVOR build_flavors)
9+ foreach (BUILD_FLAVOR ${ build_flavors} )
1010 get_swift_test_variant_suffix(VARIANT_SUFFIX "${SDK} " "${ARCH} " "${BUILD_FLAVOR} " )
1111
1212 set (test_bin_dir "${SWIFT_BINARY_DIR} /test${VARIANT_SUFFIX} " )
Original file line number Diff line number Diff line change @@ -207,8 +207,8 @@ foreach(SDK ${SWIFT_SDKS})
207207 # Configure variables for this subdirectory.
208208 set (VARIANT_SDK "${SWIFT_SDK_${SDK} _ARCH_${ARCH} _PATH}" )
209209 get_swift_test_variant_suffix(VARIANT_SUFFIX "${SDK} " "${ARCH} " "${BUILD_FLAVOR} " )
210+ get_swift_test_variant_suffix(DEFAULT_OSX_VARIANT_SUFFIX "${SDK} " "${ARCH} " "default" )
210211 get_swift_test_versioned_target_triple(VARIANT_TRIPLE "${SDK} " "${ARCH} " "${SWIFT_SDK_${SDK} _DEPLOYMENT_VERSION}" "${BUILD_FLAVOR} " )
211- get_swift_test_default_osx_variant_suffix(DEFAULT_OSX_VARIANT_SUFFIX "${VARIANT_SUFFIX} " "${BUILD_FLAVOR} " )
212212
213213 # A directory where to put the xUnit-style XML test results.
214214 set (SWIFT_TEST_RESULTS_DIR
Original file line number Diff line number Diff line change @@ -35,14 +35,3 @@ function(get_swift_test_versioned_target_triple variant_triple_out_var sdk arch
3535
3636 set (${variant_triple_out_var} "${variant_triple} " PARENT_SCOPE)
3737endfunction ()
38-
39- # Get the default OSX variant suffix for test targets
40- function (get_swift_test_default_osx_variant_suffix suffix_out_var original_variant_suffix build_flavor)
41- set (suffix "" )
42- if (build_flavor STREQUAL "ios-like" )
43- set (suffix "${variant_suffix} " )
44- endif ()
45-
46- set (${suffix_out_var} "${suffix} " PARENT_SCOPE)
47- endfunction ()
48-
You can’t perform that action at this time.
0 commit comments