]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: install binaries used by ceph-qa-suite
authorKefu Chai <kchai@redhat.com>
Fri, 3 Jun 2016 05:39:04 +0000 (13:39 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 4 Jun 2016 01:40:28 +0000 (09:40 +0800)
they are:
- ceph_test_rados: used by
  tasks/rados.py
- ceph_test_rados_delete_pools_parallel: used by
  suites/rados/monthrash/workloads/pool-create-delete.yaml
- ceph_test_filejournal
  suites/rados/objectstore/filejournal.yaml
- ceph_test_objectstore: used by
  suites/rados/objectstore/objectstore.yaml
- ceph_test_{async_driver,msgr}: used by
  suites/rados/singleton-nomsgr/all/msgr.yaml

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

index 07e83a1b4d70b44729a606d5e4b79e2b63bf5a5f..ee0392f89be6bb9c85516c25eff85153dda920aa 100644 (file)
@@ -398,6 +398,9 @@ target_link_libraries(ceph_test_filejournal
   ${CMAKE_DL_LIBS}
   ${EXTRALIBS}
   )
+install(TARGETS
+  ceph_test_filejournal
+  DESTINATION ${CMAKE_INSTALL_BINDIR})
 
 # ceph_test_keys
 add_executable(ceph_test_keys
index 78b78dc7204491de1d8a37151132886a5889582a..4eb10acfa17a6d377881e2f3bed1c1c27d930408 100644 (file)
@@ -27,6 +27,8 @@ set_target_properties(ceph_perf_msgr_client PROPERTIES COMPILE_FLAGS
 target_link_libraries(ceph_perf_msgr_client os global ${UNITTEST_LIBS})
 
 install(TARGETS
+  ceph_test_async_driver
+  ceph_test_msgr
   ceph_perf_msgr_server
   ceph_perf_msgr_client
-  DESTINATION bin)
+  DESTINATION ${CMAKE_INSTALL_BINDIR})
index 233fffafa1e12b5ba6d94476d94b106451a93237..213549ab9df905f6d4d1a8ae707b5b849078a4c2 100644 (file)
@@ -23,6 +23,8 @@ target_link_libraries(ceph_test_objectstore
   ${BLKID_LIBRARIES}
   ${CMAKE_DL_LIBS}
   )
+install(TARGETS ceph_test_objectstore
+  DESTINATION ${CMAKE_INSTALL_BINDIR})
 
 #ceph_test_keyvaluedb
 add_executable(ceph_test_keyvaluedb
index 1278675fc70db599a0a4d1c17e83d4614c577743..8eabea8da2aa0a8b2fa4d70d5c9b9bd8163404c9 100644 (file)
@@ -13,6 +13,9 @@ target_link_libraries(ceph_test_rados
   ${EXTRALIBS}
   ${CMAKE_DL_LIBS}
   )
+install(TARGETS
+  ceph_test_rados
+  DESTINATION ${CMAKE_INSTALL_BINDIR})
 
 # scripts
 add_ceph_test(osd-bench.sh ${CMAKE_CURRENT_SOURCE_DIR}/osd-bench.sh) 
index bd3a45b4ded54d21bf4d02a465ef31f5c0fc6e5c..699643b9f3cc72d5d23d4f822c19d70966a87f45 100644 (file)
@@ -34,11 +34,13 @@ set(test_rados_delete_pools_parallel_srcs
   st_rados_delete_pool.cc
   st_rados_list_objects.cc
   )
-add_executable(test_rados_delete_pools_parallel
+add_executable(ceph_test_rados_delete_pools_parallel
   ${test_rados_delete_pools_parallel_srcs}
   )
-target_link_libraries(test_rados_delete_pools_parallel librados systest global
+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