]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: install the ceph_test_librgw_file_* targets
authorCasey Bodley <cbodley@redhat.com>
Fri, 18 Sep 2020 16:48:07 +0000 (12:48 -0400)
committersinguliere <singuliere@autistici.org>
Fri, 19 Mar 2021 18:21:17 +0000 (19:21 +0100)
these need to be installed in order to be included in packages for
testing in teuthology

Signed-off-by: Casey Bodley <cbodley@redhat.com>
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit cefd31b6f6192cab0a50c973ac02ef0a83a3afba)

src/test/CMakeLists.txt

index d9075df4c60c0c6acec1e9c4e8b100d6a2773df4..105f530e21bdd7fce88fd1433b576c8583ad0dd0 100644 (file)
@@ -278,6 +278,7 @@ target_link_libraries(ceph_test_librgw_file
   ${UNITTEST_LIBS}
   ${EXTRALIBS}
   )
+install(TARGETS ceph_test_librgw_file DESTINATION ${CMAKE_INSTALL_BINDIR})
 
 # ceph_test_librgw_file_cd (just the rgw_file create-delete bucket ops)
 add_executable(ceph_test_librgw_file_cd
@@ -290,6 +291,7 @@ target_link_libraries(ceph_test_librgw_file_cd
   ${UNITTEST_LIBS}
   ${EXTRALIBS}
   )
+install(TARGETS ceph_test_librgw_file_cd DESTINATION ${CMAKE_INSTALL_BINDIR})
 
 # ceph_test_librgw_file_gp (just the rgw_file get-put bucket ops)
 add_executable(ceph_test_librgw_file_gp
@@ -302,6 +304,7 @@ target_link_libraries(ceph_test_librgw_file_gp
   ${UNITTEST_LIBS}
   ${EXTRALIBS}
   )
+install(TARGETS ceph_test_librgw_file_gp DESTINATION ${CMAKE_INSTALL_BINDIR})
 
 # ceph_test_librgw_file_nfsns (nfs namespace tests)
 add_executable(ceph_test_librgw_file_nfsns
@@ -319,6 +322,7 @@ target_link_libraries(ceph_test_librgw_file_nfsns
   ${EXTRALIBS}
   )
   target_link_libraries(ceph_test_librgw_file_nfsns spawn)
+install(TARGETS ceph_test_librgw_file_nfsns DESTINATION ${CMAKE_INSTALL_BINDIR})
 
 # ceph_test_librgw_file_aw (nfs write transaction [atomic write] tests)
 add_executable(ceph_test_librgw_file_aw
@@ -331,6 +335,7 @@ target_link_libraries(ceph_test_librgw_file_aw
   ${UNITTEST_LIBS}
   ${EXTRALIBS}
   )
+install(TARGETS ceph_test_librgw_file_aw DESTINATION ${CMAKE_INSTALL_BINDIR})
 
 # ceph_test_librgw_file_marker (READDIR with string and uint64 offsets)
 add_executable(ceph_test_librgw_file_marker
@@ -345,6 +350,7 @@ target_link_libraries(ceph_test_librgw_file_marker
   ${EXTRALIBS}
   )
   target_link_libraries(ceph_test_librgw_file_marker spawn)
+install(TARGETS ceph_test_librgw_file_marker DESTINATION ${CMAKE_INSTALL_BINDIR})
 
 # ceph_test_librgw_file_xattr (attribute ops)
 add_executable(ceph_test_librgw_file_xattr