mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
We currently don't have any tests for remangler error handling, because in asserts builds it asserts. This patch adds a flag that only exists in !NDEBUG builds to turn off assertions when inside the unit tests.
11 lines
169 B
CMake
11 lines
169 B
CMake
add_swift_unittest(SwiftRemangleTests
|
|
RemangleTest.cpp
|
|
)
|
|
|
|
target_link_libraries(SwiftRemangleTests
|
|
PRIVATE
|
|
swiftBasic
|
|
swiftDemangling
|
|
LLVMTestingSupport
|
|
)
|