diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 11:54:28 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 11:54:28 +0000 |
commit | e6918187568dbd01842d8d1d2c808ce16a894239 (patch) | |
tree | 64f88b554b444a49f656b6c656111a145cbbaa28 /src/test/system/CMakeLists.txt | |
parent | Initial commit. (diff) | |
download | ceph-e6918187568dbd01842d8d1d2c808ce16a894239.tar.xz ceph-e6918187568dbd01842d8d1d2c808ce16a894239.zip |
Adding upstream version 18.2.2.upstream/18.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/system/CMakeLists.txt')
-rw-r--r-- | src/test/system/CMakeLists.txt | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/src/test/system/CMakeLists.txt b/src/test/system/CMakeLists.txt new file mode 100644 index 000000000..f2b69fb3e --- /dev/null +++ b/src/test/system/CMakeLists.txt @@ -0,0 +1,50 @@ +## System tests + +set(libsystest_srcs + cross_process_sem.cc + systest_runnable.cc + systest_settings.cc + st_rados_create_pool.cc + st_rados_delete_pool.cc + st_rados_list_objects.cc) +add_library(systest STATIC ${libsystest_srcs}) + +if(NOT WIN32) + set(RT_LIB rt) +endif() + +# test_rados_list_parallel +add_executable(ceph_test_rados_list_parallel + rados_list_parallel.cc + ) +target_link_libraries(ceph_test_rados_list_parallel librados systest global pthread + ${RT_LIB} ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS}) + +# test_rados_open_pools_parallel +set(test_rados_open_pools_parallel_srcs + rados_open_pools_parallel.cc) +add_executable(ceph_test_rados_open_pools_parallel + ${test_rados_open_pools_parallel_srcs} + ) +target_link_libraries(ceph_test_rados_open_pools_parallel + librados systest global + pthread ${RT_LIB} ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS}) + +# test_rados_delete_pools_parallel +set(test_rados_delete_pools_parallel_srcs + rados_delete_pools_parallel.cc + st_rados_create_pool.cc + st_rados_delete_pool.cc + st_rados_list_objects.cc + ) +add_executable(ceph_test_rados_delete_pools_parallel + ${test_rados_delete_pools_parallel_srcs} + ) +target_link_libraries(ceph_test_rados_delete_pools_parallel librados systest global + pthread ${RT_LIB} ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS}) + +install(TARGETS + ceph_test_rados_delete_pools_parallel + ceph_test_rados_list_parallel + ceph_test_rados_open_pools_parallel + DESTINATION ${CMAKE_INSTALL_BINDIR}) |