mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
For the options that specifies the output, it should be cache invariant. Fix the one remaining option that is not correctly labelled and add an unittest to make sure all the options with output path naming convertion are correctly marked as CacheInvariant. rdar://146155049
62 lines
1.3 KiB
CMake
62 lines
1.3 KiB
CMake
set(generated_tests UnicodeGraphemeBreakTest.cpp.gyb)
|
|
|
|
handle_gyb_sources(
|
|
gyb_dependency_targets
|
|
generated_tests
|
|
ARCH ${SWIFT_HOST_VARIANT_ARCH})
|
|
|
|
add_swift_unittest(SwiftBasicTests
|
|
BlotMapVectorTest.cpp
|
|
BlocklistTest.cpp
|
|
CacheTest.cpp
|
|
ClangImporterOptionsTest.cpp
|
|
ClusteredBitVectorTest.cpp
|
|
DemangleTest.cpp
|
|
DiverseStackTest.cpp
|
|
EditorPlaceholderTest.cpp
|
|
EnumMapTest.cpp
|
|
EncodedSequenceTest.cpp
|
|
ExponentialGrowthAppendingBinaryByteStreamTests.cpp
|
|
FileSystemTest.cpp
|
|
FileTypes.cpp
|
|
FixedBitSetTest.cpp
|
|
FrozenMultiMapTest.cpp
|
|
ImmutablePointerSetTest.cpp
|
|
JSONSerialization.cpp
|
|
OptionSetTest.cpp
|
|
Options.cpp
|
|
OwnedStringTest.cpp
|
|
MultiMapCacheTest.cpp
|
|
PointerIntEnumTest.cpp
|
|
PrefixMapTest.cpp
|
|
RangeTest.cpp
|
|
SmallMapTest.cpp
|
|
SourceManagerTest.cpp
|
|
StableHasher.cpp
|
|
STLExtrasTest.cpp
|
|
StringExtrasTest.cpp
|
|
SuccessorMapTest.cpp
|
|
TaggedUnionTest.cpp
|
|
ThreadSafeRefCntPointerTest.cpp
|
|
TransformRangeTest.cpp
|
|
TypeLookupError.cpp
|
|
UnicodeTest.cpp
|
|
${generated_tests}
|
|
)
|
|
|
|
add_dependencies(SwiftBasicTests "${gyb_dependency_targets}")
|
|
|
|
target_link_libraries(SwiftBasicTests
|
|
PRIVATE
|
|
swiftBasic
|
|
swiftOption
|
|
swiftThreading
|
|
clangBasic
|
|
LLVMOption
|
|
LLVMTestingSupport
|
|
)
|
|
|
|
if(SWIFT_HOST_VARIANT STREQUAL "windows")
|
|
target_link_libraries(SwiftBasicTests PRIVATE Synchronization)
|
|
endif()
|