From 798b821e022d763fce59384250d85ca147d789ef Mon Sep 17 00:00:00 2001 From: Ali Maredia Date: Mon, 1 Feb 2016 20:45:09 -0500 Subject: [PATCH] cmake: moved tests into test/osdc dir Added a CMakeLists.txt into test/osdc. Signed-off-by: Ali Maredia --- src/test/CMakeLists.txt | 12 +----------- src/test/osdc/CMakeLists.txt | 11 +++++++++++ 2 files changed, 12 insertions(+), 11 deletions(-) create mode 100644 src/test/osdc/CMakeLists.txt diff --git a/src/test/CMakeLists.txt b/src/test/CMakeLists.txt index 6b0087eae9214..2149452b4dd38 100644 --- a/src/test/CMakeLists.txt +++ b/src/test/CMakeLists.txt @@ -21,6 +21,7 @@ add_subdirectory(librados_test_stub) add_subdirectory(messenger) add_subdirectory(msgr) add_subdirectory(ObjectMap) +add_subdirectory(osdc) # test_timers add_executable(ceph_test_timers @@ -467,17 +468,6 @@ target_link_libraries(ceph_test_stress_watch ${CMAKE_DL_LIBS} ) -add_executable(ceph_test_objectcacher_stress - osdc/object_cacher_stress.cc - osdc/FakeWriteback.cc - ) -target_link_libraries(ceph_test_objectcacher_stress - osdc - global - ${EXTRALIBS} - ${CMAKE_DL_LIBS} - ) - if(${HAVE_FUSE}) add_executable(ceph_test_cfuse_cache_invalidate test_cfuse_cache_invalidate.cc diff --git a/src/test/osdc/CMakeLists.txt b/src/test/osdc/CMakeLists.txt new file mode 100644 index 0000000000000..ea902443973fe --- /dev/null +++ b/src/test/osdc/CMakeLists.txt @@ -0,0 +1,11 @@ +add_executable(ceph_test_objectcacher_stress + object_cacher_stress.cc + FakeWriteback.cc + ) +target_link_libraries(ceph_test_objectcacher_stress + osdc + global + ${EXTRALIBS} + ${CMAKE_DL_LIBS} + ) + -- 2.39.5