From cefd31b6f6192cab0a50c973ac02ef0a83a3afba Mon Sep 17 00:00:00 2001 From: Casey Bodley Date: Fri, 18 Sep 2020 12:48:07 -0400 Subject: [PATCH] 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 --- src/test/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/test/CMakeLists.txt b/src/test/CMakeLists.txt index 708e13ceae5..cc2ab64877a 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 -- 2.39.5