]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: add missing bits for rados/test.sh
authorKefu Chai <kchai@redhat.com>
Mon, 27 Jun 2016 04:20:29 +0000 (12:20 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 28 Jun 2016 05:26:40 +0000 (13:26 +0800)
some executables named ceph_test_rados_* are missing in the ceph-test
package. and they are called by rados/test.sh.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/test/librados/CMakeLists.txt
src/test/system/CMakeLists.txt

index 014da7d7c9ab8d9fd92728f03824a03e7ded8dbe..964af6a1d76cd1a44c70476b9da3ac2d35351d30 100644 (file)
@@ -151,6 +151,22 @@ set_target_properties(ceph_test_rados_api_tmap_migrate PROPERTIES COMPILE_FLAGS
   ${UNITTEST_CXX_FLAGS})
 target_link_libraries(ceph_test_rados_api_tmap_migrate
   librados mds osdc global cls_cephfs_client ${UNITTEST_LIBS} radostest)
+install(TARGETS
+  ceph_test_rados_api_aio
+  ceph_test_rados_api_c_read_operations
+  ceph_test_rados_api_c_write_operations
+  ceph_test_rados_api_cmd
+  ceph_test_rados_api_io
+  ceph_test_rados_api_list
+  ceph_test_rados_api_lock
+  ceph_test_rados_api_misc
+  ceph_test_rados_api_pool
+  ceph_test_rados_api_snapshots
+  ceph_test_rados_api_stat
+  ceph_test_rados_api_tier
+  ceph_test_rados_api_tmap_migrate
+  ceph_test_rados_api_watch_notify
+  DESTINATION ${CMAKE_INSTALL_BINDIR})
 
 # unittest_librados
 add_executable(unittest_librados
index 699643b9f3cc72d5d23d4f822c19d70966a87f45..f59ed3e79c632ee85d3e01ce62c4cf9f396644c1 100644 (file)
@@ -12,19 +12,20 @@ set(libsystest_srcs
 add_library(systest STATIC ${libsystest_srcs})
 
 # test_rados_list_parallel
-add_executable(test_rados_list_parallel
+add_executable(ceph_test_rados_list_parallel
   rados_list_parallel.cc
   )
-target_link_libraries(test_rados_list_parallel librados systest global pthread
+target_link_libraries(ceph_test_rados_list_parallel librados systest global pthread
   rt ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS}) 
 
 # test_rados_open_pools_parallel
 set(test_rados_open_pools_parallel_srcs 
   rados_open_pools_parallel.cc)
-add_executable(test_rados_open_pools_parallel
+add_executable(ceph_test_rados_open_pools_parallel
   ${test_rados_open_pools_parallel_srcs}
   )
-target_link_libraries(test_rados_open_pools_parallel librados systest global
+target_link_libraries(ceph_test_rados_open_pools_parallel
+  librados systest global
   pthread rt ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS}) 
 
 # test_rados_delete_pools_parallel
@@ -39,8 +40,6 @@ add_executable(ceph_test_rados_delete_pools_parallel
   )
 target_link_libraries(ceph_test_rados_delete_pools_parallel librados systest global
   pthread rt ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS}) 
-install(TARGETS ceph_test_rados_delete_pools_parallel
-  DESTINATION ${CMAKE_INSTALL_BINDIR})
 
 # test_rados_watch_notify
 set(test_rados_watch_notify_srcs
@@ -51,9 +50,16 @@ set(test_rados_watch_notify_srcs
   st_rados_watch.cc
   st_rados_notify.cc
   )
-add_executable(test_rados_watch_notify
+add_executable(ceph_test_rados_watch_notify
   ${test_rados_watch_notify_srcs}
   )
-target_link_libraries(test_rados_watch_notify librados systest global
+target_link_libraries(ceph_test_rados_watch_notify
+  librados systest global
   pthread rt ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS}) 
 
+install(TARGETS
+  ceph_test_rados_delete_pools_parallel
+  ceph_test_rados_list_parallel
+  ceph_test_rados_open_pools_parallel
+  ceph_test_rados_watch_notify
+  DESTINATION ${CMAKE_INSTALL_BINDIR})