Skip to content

Commit

Permalink
test/crimson: embed lsan_suppressions into tests executables
Browse files Browse the repository at this point in the history
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
  • Loading branch information
Matan-B committed Jun 5, 2023
1 parent 15e6ca9 commit 814a3c2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/test/crimson/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ add_executable(test-async-echo
target_link_libraries(test-async-echo ceph-common global)

add_executable(unittest-seastar-alienstore-thread-pool
test_alienstore_thread_pool.cc)
test_alienstore_thread_pool.cc
${PROJECT_SOURCE_DIR}/src/crimson/osd/lsan_suppressions.cc)
add_ceph_unittest(unittest-seastar-alienstore-thread-pool
--memory 256M --smp 1)
target_link_libraries(unittest-seastar-alienstore-thread-pool
Expand Down
6 changes: 4 additions & 2 deletions src/test/crimson/seastore/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ target_link_libraries(

add_executable(unittest-object-data-handler
test_object_data_handler.cc
../gtest_seastar.cc)
../gtest_seastar.cc
${PROJECT_SOURCE_DIR}/src/crimson/osd/lsan_suppressions.cc)
add_ceph_unittest(unittest-object-data-handler
--memory 256M --smp 1)
target_link_libraries(
Expand All @@ -52,7 +53,8 @@ target_link_libraries(

add_executable(unittest-collection-manager
test_collection_manager.cc
../gtest_seastar.cc)
../gtest_seastar.cc
${PROJECT_SOURCE_DIR}/src/crimson/osd/lsan_suppressions.cc)
add_ceph_test(unittest-collection-manager
unittest-collection-manager --memory 256M --smp 1)
target_link_libraries(
Expand Down

0 comments on commit 814a3c2

Please sign in to comment.