]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
test/rgw: ceph_test_librgw_file target also builds associated tests
authorCasey Bodley <cbodley@redhat.com>
Thu, 30 Mar 2023 15:13:37 +0000 (11:13 -0400)
committerCasey Bodley <cbodley@redhat.com>
Tue, 11 Apr 2023 13:12:07 +0000 (09:12 -0400)
this just makes it easier to build all of the tests needed by the
test_librgw_file.sh workunit

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 3c0d61831171c991aa17435f6428fd187333b8b6)

src/test/CMakeLists.txt

index eca4338af634274d1977fd4fee6cf12acb73ab68..31169b6506727b93f514692125a81f9a8460058d 100644 (file)
@@ -284,6 +284,13 @@ target_link_libraries(ceph_test_librgw_file
   )
 install(TARGETS ceph_test_librgw_file DESTINATION ${CMAKE_INSTALL_BINDIR})
 
+add_dependencies(ceph_test_librgw_file
+  ceph_test_librgw_file_cd
+  ceph_test_librgw_file_gp
+  ceph_test_librgw_file_nfsns
+  ceph_test_librgw_file_aw
+  ceph_test_librgw_file_marker)
+
 # ceph_test_librgw_file_cd (just the rgw_file create-delete bucket ops)
 add_executable(ceph_test_librgw_file_cd
   librgw_file_cd.cc