From: Ali Maredia Date: Tue, 2 Feb 2016 00:32:07 +0000 (-0500) Subject: cmake: moved tests into test/cls_replica_log dir X-Git-Tag: v10.2.0~27^2~36 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=521b07b46e67485019efe5c97befd99dcf644d55;p=ceph.git cmake: moved tests into test/cls_replica_log dir Added a CMakeLists.txt into test/cls_replica_log. Signed-off-by: Ali Maredia --- diff --git a/src/test/CMakeLists.txt b/src/test/CMakeLists.txt index 52ef310ffa73..e2eec1aa2c4d 100644 --- a/src/test/CMakeLists.txt +++ b/src/test/CMakeLists.txt @@ -9,6 +9,7 @@ add_subdirectory(cls_log) add_subdirectory(cls_numops) add_subdirectory(cls_rbd) add_subdirectory(cls_refcount) +add_subdirectory(cls_replica_log) # test_timers add_executable(ceph_test_timers @@ -428,23 +429,6 @@ target_link_libraries(ceph_test_cls_statelog radostest ) -add_executable(ceph_test_cls_replica_log - cls_replica_log/test_cls_replica_log.cc - ) -set_target_properties(ceph_test_cls_replica_log PROPERTIES COMPILE_FLAGS - ${UNITTEST_CXX_FLAGS}) -target_link_libraries(ceph_test_cls_replica_log - librados - cls_replica_log_client - global - ${UNITTEST_LIBS} - ${BLKID_LIBRARIES} - ${CMAKE_DL_LIBS} - ${CRYPTO_LIBS} - ${EXTRALIBS} - radostest - ) - if(${WITH_RADOSGW}) add_executable(ceph_test_cls_rgw cls_rgw/test_cls_rgw.cc diff --git a/src/test/cls_replica_log/CMakeLists.txt b/src/test/cls_replica_log/CMakeLists.txt new file mode 100644 index 000000000000..bf7ce9915431 --- /dev/null +++ b/src/test/cls_replica_log/CMakeLists.txt @@ -0,0 +1,18 @@ +# ceph_test_cls_replica_log +add_executable(ceph_test_cls_replica_log + test_cls_replica_log.cc + ) +set_target_properties(ceph_test_cls_replica_log PROPERTIES COMPILE_FLAGS + ${UNITTEST_CXX_FLAGS}) +target_link_libraries(ceph_test_cls_replica_log + librados + cls_replica_log_client + global + ${UNITTEST_LIBS} + ${BLKID_LIBRARIES} + ${CMAKE_DL_LIBS} + ${CRYPTO_LIBS} + ${EXTRALIBS} + radostest + ) +