mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
StdlibUnittest uses gyb to avoid duplicating many source-context arguments. However, this means that any test that wishes to add new expect helpers has to also be gybbed. Given that this structure hasn't changed in years, and we should have a real language support eventually, de-gyb it.
27 lines
893 B
CMake
27 lines
893 B
CMake
set(swift_stdlib_unittest_compile_flags)
|
|
|
|
# TODO: support this on non-POSIX platforms. It cannot be currently as it
|
|
# depends on pthreads.
|
|
add_swift_library(swiftStdlibCollectionUnittest ${SWIFT_STDLIB_LIBRARY_BUILD_TYPES} IS_STDLIB
|
|
# This file should be listed the first. Module name is inferred from the
|
|
# filename.
|
|
StdlibCollectionUnittest.swift
|
|
|
|
CheckCollectionInstance.swift
|
|
CheckCollectionType.swift
|
|
CheckMutableCollectionType.swift
|
|
CheckRangeReplaceableCollectionType.swift
|
|
CheckRangeReplaceableSliceType.swift
|
|
CheckSequenceInstance.swift
|
|
CheckSequenceType.swift
|
|
LoggingWrappers.swift
|
|
MinimalCollections.swift
|
|
RangeSelection.swift
|
|
../../public/core/WriteBackMutableSlice.swift
|
|
|
|
SWIFT_MODULE_DEPENDS StdlibUnittest
|
|
SWIFT_COMPILE_FLAGS ${swift_stdlib_unittest_compile_flags}
|
|
TARGET_SDKS ALL_POSIX_PLATFORMS
|
|
INSTALL_IN_COMPONENT stdlib-experimental)
|
|
|