From: Ali Maredia Date: Tue, 2 Feb 2016 00:39:23 +0000 (-0500) Subject: cmake: moved tests into test/cls_version dir X-Git-Tag: v10.2.0~27^2~33 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d50478f30fa994921e83b8eb197f1c4bd8513d4c;p=ceph.git cmake: moved tests into test/cls_version dir Added a CMakeLists.txt into test/cls_version. Signed-off-by: Ali Maredia --- diff --git a/src/test/CMakeLists.txt b/src/test/CMakeLists.txt index 05bc339b76b8..d15a48d39b08 100644 --- a/src/test/CMakeLists.txt +++ b/src/test/CMakeLists.txt @@ -12,6 +12,7 @@ add_subdirectory(cls_refcount) add_subdirectory(cls_replica_log) add_subdirectory(cls_rgw) add_subdirectory(cls_statelog) +add_subdirectory(cls_version) # test_timers add_executable(ceph_test_timers @@ -397,23 +398,6 @@ target_link_libraries(test_librbd_fsx keyutils ) -add_executable(ceph_test_cls_version - cls_version/test_cls_version.cc - ) -set_target_properties(ceph_test_cls_version PROPERTIES COMPILE_FLAGS - ${UNITTEST_CXX_FLAGS}) -target_link_libraries(ceph_test_cls_version - librados - cls_version_client - global - ${UNITTEST_LIBS} - ${BLKID_LIBRARIES} - ${CMAKE_DL_LIBS} - ${CRYPTO_LIBS} - ${EXTRALIBS} - radostest - ) - # ceph_test_async_driver add_executable(ceph_test_async_driver msgr/test_async_driver.cc diff --git a/src/test/cls_version/CMakeLists.txt b/src/test/cls_version/CMakeLists.txt new file mode 100644 index 000000000000..24fabc933e0d --- /dev/null +++ b/src/test/cls_version/CMakeLists.txt @@ -0,0 +1,18 @@ +# ceph_test_cls_version +add_executable(ceph_test_cls_version + test_cls_version.cc + ) +set_target_properties(ceph_test_cls_version PROPERTIES COMPILE_FLAGS + ${UNITTEST_CXX_FLAGS}) +target_link_libraries(ceph_test_cls_version + librados + cls_version_client + global + ${UNITTEST_LIBS} + ${BLKID_LIBRARIES} + ${CMAKE_DL_LIBS} + ${CRYPTO_LIBS} + ${EXTRALIBS} + radostest + ) +