]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: moved tests into test/osdc dir
authorAli Maredia <amaredia@redhat.com>
Tue, 2 Feb 2016 01:45:09 +0000 (20:45 -0500)
committerAli Maredia <amaredia@redhat.com>
Fri, 15 Apr 2016 00:48:20 +0000 (20:48 -0400)
Added a CMakeLists.txt into test/osdc.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
src/test/CMakeLists.txt
src/test/osdc/CMakeLists.txt [new file with mode: 0644]

index 6b0087eae92146686d2e065434705530087a8851..2149452b4dd38795017fd756830b898e77482b73 100644 (file)
@@ -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 (file)
index 0000000..ea90244
--- /dev/null
@@ -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}
+  )
+