Merge pull request #30655 from tchaikov/wip-cmake/crimson/pass-args

cmake: pass arguments to crimson tests

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
This commit is contained in:
Kefu Chai 2019-10-01 22:28:58 +08:00 committed by GitHub
commit 2b6056f935
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,19 +1,22 @@
add_executable(unittest_seastar_buffer
test_buffer.cc)
add_ceph_unittest(unittest_seastar_buffer --memory 256M --smp 1)
add_ceph_test(unittest_seastar_buffer
unittest_seastar_buffer --memory 256M --smp 1)
target_link_libraries(unittest_seastar_buffer crimson)
add_executable(unittest_seastar_denc
test_denc.cc)
add_ceph_unittest(unittest_seastar_denc --memory 256M --smp 1)
add_ceph_unittest(unittest_seastar_denc)
target_link_libraries(unittest_seastar_denc crimson GTest::Main)
add_executable(unittest_seastar_socket test_socket.cc)
add_ceph_unittest(unittest_seastar_socket --memory 256M --smp 1)
add_ceph_test(unittest_seastar_socket
unittest_seastar_socket --memory 256M --smp 2)
target_link_libraries(unittest_seastar_socket crimson)
add_executable(unittest_seastar_messenger test_messenger.cc)
add_ceph_unittest(unittest_seastar_messenger --memory 256M --smp 1)
add_ceph_test(unittest_seastar_messenger
unittest_seastar_messenger --memory 256M --smp 1)
target_link_libraries(unittest_seastar_messenger crimson)
add_executable(perf_crimson_msgr perf_crimson_msgr.cc)
@ -32,7 +35,8 @@ target_link_libraries(unittest_async_echo ceph-common global)
add_executable(unittest_seastar_thread_pool
test_thread_pool.cc)
add_ceph_unittest(unittest_seastar_thread_pool --memory 256M --smp 1)
add_ceph_test(unittest_seastar_thread_pool
unittest_seastar_thread_pool --memory 256M --smp 1)
target_link_libraries(unittest_seastar_thread_pool crimson)
add_executable(unittest_seastar_config
@ -45,7 +49,8 @@ target_link_libraries(unittest_seastar_monc crimson)
add_executable(unittest_seastar_perfcounters
test_perfcounters.cc)
add_ceph_unittest(unittest_seastar_perfcounters --memory 256M --smp 1)
add_ceph_test(unittest_seastar_perfcounters
unittest_seastar_perfcounters --memory 256M --smp 1)
target_link_libraries(unittest_seastar_perfcounters crimson)
add_executable(unittest_seastar_lru