X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fceph%2Fsrc%2Ftest%2Fsystem%2FCMakeLists.txt;fp=src%2Fceph%2Fsrc%2Ftest%2Fsystem%2FCMakeLists.txt;h=f59ed3e79c632ee85d3e01ce62c4cf9f396644c1;hb=812ff6ca9fcd3e629e49d4328905f33eee8ca3f5;hp=0000000000000000000000000000000000000000;hpb=15280273faafb77777eab341909a3f495cf248d9;p=stor4nfv.git diff --git a/src/ceph/src/test/system/CMakeLists.txt b/src/ceph/src/test/system/CMakeLists.txt new file mode 100644 index 0000000..f59ed3e --- /dev/null +++ b/src/ceph/src/test/system/CMakeLists.txt @@ -0,0 +1,65 @@ +## 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 + st_rados_watch.cc + st_rados_notify.cc) +add_library(systest STATIC ${libsystest_srcs}) + +# 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 ${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 ${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 ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS}) + +# test_rados_watch_notify +set(test_rados_watch_notify_srcs + rados_watch_notify.cc + st_rados_create_pool.cc + st_rados_delete_pool.cc + st_rados_delete_objs.cc + st_rados_watch.cc + st_rados_notify.cc + ) +add_executable(ceph_test_rados_watch_notify + ${test_rados_watch_notify_srcs} + ) +target_link_libraries(ceph_test_rados_watch_notify + librados systest global + pthread rt ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS}) + +install(TARGETS + ceph_test_rados_delete_pools_parallel + ceph_test_rados_list_parallel + ceph_test_rados_open_pools_parallel + ceph_test_rados_watch_notify + DESTINATION ${CMAKE_INSTALL_BINDIR})