From 01acb34092422e8254f6015e2633a5a2e82ae2d1 Mon Sep 17 00:00:00 2001 From: Adam Kupczyk Date: Wed, 11 Dec 2024 17:21:26 +0000 Subject: [PATCH] os/bluestore: duplicate unittest_bluefs -> ceph_test_bluefs This change has 2 rationales: 1) The test outgrew initial unittest framework and now executes component testing 2) We still need to run most of unittest_blues as part of jenkins make check 3) We want to run tests on teuthology. Build process excludes unit tests, so ceph_test_bluefs was created. Signed-off-by: Adam Kupczyk --- src/test/objectstore/CMakeLists.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/test/objectstore/CMakeLists.txt b/src/test/objectstore/CMakeLists.txt index bddff3f672762..083886400432f 100644 --- a/src/test/objectstore/CMakeLists.txt +++ b/src/test/objectstore/CMakeLists.txt @@ -48,6 +48,18 @@ add_executable(unittest_rocksdb_option add_ceph_unittest(unittest_rocksdb_option) target_link_libraries(unittest_rocksdb_option global os ${BLKID_LIBRARIES}) +# ceph_test_bluefs (a clone of unittest_bluefs) +add_executable(ceph_test_bluefs + test_bluefs.cc + ) +target_link_libraries(ceph_test_bluefs + os + global + ${UNITTEST_LIBS} + ) +install(TARGETS ceph_test_bluefs + DESTINATION ${CMAKE_INSTALL_BINDIR}) + if(WITH_EVENTTRACE) add_dependencies(os eventtrace_tp) endif() -- 2.39.5