From: Adam Kupczyk Date: Wed, 11 Dec 2024 17:21:26 +0000 (+0000) Subject: os/bluestore: duplicate unittest_bluefs -> ceph_test_bluefs X-Git-Tag: v20.0.0~543^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=01acb34092422e8254f6015e2633a5a2e82ae2d1;p=ceph.git 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 --- 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()