From: Jason Dillaman Date: Thu, 12 Oct 2017 12:56:57 +0000 (-0400) Subject: test: ceph_test_cls_journal was dropped when converting to cmake X-Git-Tag: v13.0.1~594^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5d9cfebabac33b645c6199bda63ff4619e6f538f;p=ceph.git test: ceph_test_cls_journal was dropped when converting to cmake Signed-off-by: Jason Dillaman --- diff --git a/src/test/CMakeLists.txt b/src/test/CMakeLists.txt index 086e94a7d91b..6c5414627a3f 100644 --- a/src/test/CMakeLists.txt +++ b/src/test/CMakeLists.txt @@ -14,6 +14,7 @@ add_subdirectory(cls_log) add_subdirectory(cls_numops) add_subdirectory(cls_sdk) if(WITH_RBD) + add_subdirectory(cls_journal) add_subdirectory(cls_rbd) endif(WITH_RBD) add_subdirectory(cls_refcount) diff --git a/src/test/cls_journal/CMakeLists.txt b/src/test/cls_journal/CMakeLists.txt new file mode 100644 index 000000000000..6e99cdc5af0f --- /dev/null +++ b/src/test/cls_journal/CMakeLists.txt @@ -0,0 +1,18 @@ +# cls_test_cls_journal +add_executable(ceph_test_cls_journal + test_cls_journal.cc + $) +set_target_properties(ceph_test_cls_journal PROPERTIES COMPILE_FLAGS + ${UNITTEST_CXX_FLAGS}) +target_link_libraries(ceph_test_cls_journal + cls_journal_client + librados + global + ${UNITTEST_LIBS} + ${CMAKE_DL_LIBS} + ${CRYPTO_LIBS} + ${EXTRALIBS} + radostest) +install(TARGETS + ceph_test_cls_journal + DESTINATION ${CMAKE_INSTALL_BINDIR})