diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 11:54:28 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 11:54:28 +0000 |
commit | e6918187568dbd01842d8d1d2c808ce16a894239 (patch) | |
tree | 64f88b554b444a49f656b6c656111a145cbbaa28 /src/test/journal/CMakeLists.txt | |
parent | Initial commit. (diff) | |
download | ceph-e6918187568dbd01842d8d1d2c808ce16a894239.tar.xz ceph-e6918187568dbd01842d8d1d2c808ce16a894239.zip |
Adding upstream version 18.2.2.upstream/18.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/journal/CMakeLists.txt')
-rw-r--r-- | src/test/journal/CMakeLists.txt | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/test/journal/CMakeLists.txt b/src/test/journal/CMakeLists.txt new file mode 100644 index 000000000..99e0f8ae6 --- /dev/null +++ b/src/test/journal/CMakeLists.txt @@ -0,0 +1,32 @@ +add_library(journal_test_mock STATIC mock/MockJournaler.cc) +target_link_libraries(journal_test_mock + PUBLIC GMock::GMock) + +# unittest_journal +set(unittest_journal_srcs + test_main.cc + test_Entry.cc + test_FutureImpl.cc + test_Journaler.cc + test_JournalMetadata.cc + test_JournalPlayer.cc + test_JournalRecorder.cc + test_JournalTrimmer.cc + test_ObjectPlayer.cc + test_ObjectRecorder.cc + RadosTestFixture.cc + ) + +add_executable(unittest_journal + ${unittest_journal_srcs} + ) +add_ceph_unittest(unittest_journal) +target_link_libraries(unittest_journal + journal + cls_journal + cls_journal_client + rados_test_stub + librados + radostest-cxx + global + ) |