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 @@ -1753,14 +1753,18 @@ function(add_swift_library name)
1753
1753
# Add Swift standard library targets as dependencies to the top-level
1754
1754
# convenience target.
1755
1755
if (SWIFTLIB_TARGET_LIBRARY )
1756
+ set (FILTERED_UNITTESTS
1757
+ swiftStdlibCollectionUnittest
1758
+ swiftStdlibUnicodeUnittest )
1759
+
1756
1760
foreach (arch ${SWIFT_SDK_${sdk}_ARCHITECTURES} )
1757
1761
set (VARIANT_SUFFIX "-${SWIFT_SDK_${sdk} _LIB_SUBDIR}-${arch} " )
1758
- if (TARGET "swift-stdlib${VARIANT_SUFFIX} " AND TARGET "swift-test-stdlib${VARIANT_SUFFIX} " )
1762
+ if (TARGET "swift-stdlib${VARIANT_SUFFIX} " AND
1763
+ TARGET "swift-test-stdlib${VARIANT_SUFFIX} " )
1759
1764
add_dependencies ("swift-stdlib${VARIANT_SUFFIX} "
1760
1765
${lipo_target}
1761
1766
${lipo_target_static} )
1762
- if ((NOT "${name} " STREQUAL "swiftStdlibCollectionUnittest" ) AND
1763
- (NOT "${name} " STREQUAL "swiftStdlibUnicodeUnittest" ))
1767
+ if (NOT "${name} " IN_LIST FILTERED_UNITTESTS )
1764
1768
add_dependencies ("swift-test-stdlib${VARIANT_SUFFIX} "
1765
1769
${lipo_target}
1766
1770
${lipo_target_static} )
You can’t perform that action at this time.
0 commit comments