From: Casey Bodley Date: Fri, 18 Sep 2020 16:48:07 +0000 (-0400) Subject: cmake: install the ceph_test_librgw_file_* targets X-Git-Tag: v16.2.0~47^2~6 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=64dd9da160a21e5a9403e17ae2e1817ae10b0b8f;p=ceph.git cmake: install the ceph_test_librgw_file_* targets these need to be installed in order to be included in packages for testing in teuthology Signed-off-by: Casey Bodley Signed-off-by: Matt Benjamin (cherry picked from commit cefd31b6f6192cab0a50c973ac02ef0a83a3afba) --- diff --git a/src/test/CMakeLists.txt b/src/test/CMakeLists.txt index d9075df4c60..105f530e21b 100644 --- a/src/test/CMakeLists.txt +++ b/src/test/CMakeLists.txt @@ -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