mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-24 06:10:12 +00:00
7ed3e22f00
Summary: Fetching an input file required about five lines of code, and this was repeated in multiple unit tests, with slight variations. Add a helper function for doing that into the lldbUtilityMocks module (which I rename to lldbUtilityHelpers to commemorate the fact it includes more than mocks) Reviewers: zturner, eugene Subscribers: emaste, mgorny, lldb-commits Differential Revision: https://reviews.llvm.org/D34683 llvm-svn: 306668
26 lines
451 B
CMake
26 lines
451 B
CMake
add_subdirectory(Helpers)
|
|
|
|
add_lldb_unittest(UtilityTests
|
|
ConstStringTest.cpp
|
|
LogTest.cpp
|
|
NameMatchesTest.cpp
|
|
StatusTest.cpp
|
|
StringExtractorTest.cpp
|
|
StructuredDataTest.cpp
|
|
TaskPoolTest.cpp
|
|
TildeExpressionResolverTest.cpp
|
|
TimeoutTest.cpp
|
|
UriParserTest.cpp
|
|
VASprintfTest.cpp
|
|
|
|
LINK_LIBS
|
|
lldbUtility
|
|
lldbUtilityHelpers
|
|
LINK_COMPONENTS
|
|
Support
|
|
)
|
|
|
|
add_unittest_inputs(UtilityTests
|
|
StructuredData-basic.json
|
|
)
|