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})
6
6
foreach (ARCH ${SWIFT_SDK_${SDK}_ARCHITECTURES} )
7
7
get_swift_test_build_flavors (build_flavors "${SDK} " )
8
8
9
- foreach (BUILD_FLAVOR build_flavors )
9
+ foreach (BUILD_FLAVOR ${ build_flavors} )
10
10
get_swift_test_variant_suffix (VARIANT_SUFFIX "${SDK} " "${ARCH} " "${BUILD_FLAVOR} " )
11
11
12
12
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})
207
207
# Configure variables for this subdirectory.
208
208
set (VARIANT_SDK "${SWIFT_SDK_${SDK} _ARCH_${ARCH} _PATH}" )
209
209
get_swift_test_variant_suffix (VARIANT_SUFFIX "${SDK} " "${ARCH} " "${BUILD_FLAVOR} " )
210
+ get_swift_test_variant_suffix (DEFAULT_OSX_VARIANT_SUFFIX "${SDK} " "${ARCH} " "default" )
210
211
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} " )
212
212
213
213
# A directory where to put the xUnit-style XML test results.
214
214
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
35
35
36
36
set (${variant_triple_out_var} "${variant_triple} " PARENT_SCOPE )
37
37
endfunction ()
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