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 <akupczyk@ibm.com>
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()