mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2026-11-25 21:21:37 +00:00
test: parameterize the protocol, poller and transfer tests by transport
- Add test::TransportParam with the transport, the expanded shm metadata flag and a name generator for INSTANTIATE_TEST_SUITE_P() - Turn the per-transport TEST() copies into TEST_P() suites; the poller and transfer tests now also run with the expanded shm metadata - Name the multipart suite PushPullMultipart (it shared PushPull) - Discover the tests with NO_PRETTY_VALUES, so the ctest names are Suite.Case/transport - The test names change, e.g. Pair.SingleMsg_MultiThreaded_ipc_shmem is now Pair.SingleMsg_MultiThreaded_ipc/shmem Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -95,6 +95,7 @@ function(add_testsuite suitename)
|
||||
gtest_discover_tests(${target}
|
||||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
|
||||
TEST_PREFIX ${suitename}.
|
||||
NO_PRETTY_VALUES
|
||||
PROPERTIES RUN_SERIAL ${testsuite_RUN_SERIAL}
|
||||
TIMEOUT ${testsuite_TIMEOUT}
|
||||
${env}
|
||||
|
||||
Reference in New Issue
Block a user