Files
swift-mirror/unittests/Remangler/CMakeLists.txt
Adrian Prantl ef83539c58 Add unittests for the remangler, particularly to cover error handling.
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.
2022-05-13 17:55:38 -07:00

11 lines
169 B
CMake

add_swift_unittest(SwiftRemangleTests
RemangleTest.cpp
)
target_link_libraries(SwiftRemangleTests
PRIVATE
swiftBasic
swiftDemangling
LLVMTestingSupport
)