File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -1764,14 +1764,18 @@ function(add_swift_library name)
1764
1764
# Add Swift standard library targets as dependencies to the top-level
1765
1765
# convenience target.
1766
1766
if (SWIFTLIB_TARGET_LIBRARY )
1767
+ set (FILTERED_UNITTESTS
1768
+ swiftStdlibCollectionUnittest
1769
+ swiftStdlibUnicodeUnittest )
1770
+
1767
1771
foreach (arch ${SWIFT_SDK_${sdk}_ARCHITECTURES} )
1768
1772
set (VARIANT_SUFFIX "-${SWIFT_SDK_${sdk} _LIB_SUBDIR}-${arch} " )
1769
- if (TARGET "swift-stdlib${VARIANT_SUFFIX} " AND TARGET "swift-test-stdlib${VARIANT_SUFFIX} " )
1773
+ if (TARGET "swift-stdlib${VARIANT_SUFFIX} " AND
1774
+ TARGET "swift-test-stdlib${VARIANT_SUFFIX} " )
1770
1775
add_dependencies ("swift-stdlib${VARIANT_SUFFIX} "
1771
1776
${lipo_target}
1772
1777
${lipo_target_static} )
1773
- if ((NOT "${name} " STREQUAL "swiftStdlibCollectionUnittest" ) AND
1774
- (NOT "${name} " STREQUAL "swiftStdlibUnicodeUnittest" ))
1778
+ if (NOT "${name} " IN_LIST FILTERED_UNITTESTS )
1775
1779
add_dependencies ("swift-test-stdlib${VARIANT_SUFFIX} "
1776
1780
${lipo_target}
1777
1781
${lipo_target_static} )
You can’t perform that action at this time.
0 commit comments