From: Ali Maredia Date: Tue, 2 Feb 2016 00:23:46 +0000 (-0500) Subject: cmake: moved tests into test/cls_numops dir X-Git-Tag: v10.2.0~27^2~39 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7271c96d27aaac11c8ea38e25b4810f28ed481e6;p=ceph.git cmake: moved tests into test/cls_numops dir Added a CMakeLists.txt into test/cls_numops. Signed-off-by: Ali Maredia --- diff --git a/src/test/CMakeLists.txt b/src/test/CMakeLists.txt index bcdf2be83a46..35f27d6bf1c1 100644 --- a/src/test/CMakeLists.txt +++ b/src/test/CMakeLists.txt @@ -6,6 +6,7 @@ set(UNITTEST_CXX_FLAGS "-I${CMAKE_SOURCE_DIR}/src/gmock/include -I${CMAKE_BINARY add_subdirectory(cls_hello) add_subdirectory(cls_lock) add_subdirectory(cls_log) +add_subdirectory(cls_numops) # test_timers add_executable(ceph_test_timers @@ -482,20 +483,6 @@ target_link_libraries(ceph_test_cls_replica_log radostest ) -add_executable(ceph_test_cls_numops cls_numops/test_cls_numops.cc) -set_target_properties(ceph_test_cls_numops PROPERTIES COMPILE_FLAGS - ${UNITTEST_CXX_FLAGS}) -target_link_libraries(ceph_test_cls_numops - librados - global - cls_numops_client - ${EXTRALIBS} - ${BLKID_LIBRARIES} - ${CMAKE_DL_LIBS} - radostest - ${UNITTEST_LIBS} - ) - if(${WITH_RADOSGW}) add_executable(ceph_test_cls_rgw cls_rgw/test_cls_rgw.cc diff --git a/src/test/cls_numops/CMakeLists.txt b/src/test/cls_numops/CMakeLists.txt new file mode 100644 index 000000000000..e4d8a9f266e4 --- /dev/null +++ b/src/test/cls_numops/CMakeLists.txt @@ -0,0 +1,16 @@ +# ceph_test_cls_numops +add_executable(ceph_test_cls_numops + test_cls_numops.cc) +set_target_properties(ceph_test_cls_numops PROPERTIES COMPILE_FLAGS + ${UNITTEST_CXX_FLAGS}) +target_link_libraries(ceph_test_cls_numops + librados + global + cls_numops_client + ${EXTRALIBS} + ${BLKID_LIBRARIES} + ${CMAKE_DL_LIBS} + radostest + ${UNITTEST_LIBS} + ) +