Skip to content

Commit

Permalink
Merge pull request #6784 from dotnwat/split-test-cluster
Browse files Browse the repository at this point in the history
build: split up test_cluster
  • Loading branch information
jcsp committed Oct 16, 2022
2 parents 827ac20 + a73e471 commit 04f26d1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/v/cluster/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,16 @@ set(srcs
local_monitor_test.cc
tx_compaction_tests.cc)


foreach(cluster_test_src ${srcs})
get_filename_component(test_name ${cluster_test_src} NAME_WE)
rp_test(
UNIT_TEST
BINARY_NAME test_cluster
SOURCES ${srcs}
BINARY_NAME test_${test_name}
SOURCES ${cluster_test_src}
LIBRARIES v::seastar_testing_main v::application v::storage_test_utils v::v8_engine v::cluster
LABELS cluster
)
endforeach()

# These 2 files have a `using namespace cluster;` and removing that
# would require modifying the FIXTURE_TEST and PERF_TEST_F macros.
Expand Down

0 comments on commit 04f26d1

Please sign in to comment.