mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
Tests.SDK: Add optional DDS Tools API stability tests
This commit is contained in:
committed by
Dennis Klein
parent
33b5a2a342
commit
da28b85497
@@ -299,8 +299,20 @@ if(BUILD_SDK)
|
||||
DDS::dds_tools_lib
|
||||
INCLUDES ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
TIMEOUT 15
|
||||
RUN_SERIAL ON
|
||||
TIMEOUT 30
|
||||
${definitions}
|
||||
)
|
||||
|
||||
if(DDS_TESTS)
|
||||
foreach(i RANGE 1 ${DDS_TESTS})
|
||||
add_test(NAME DDSToolsAPIStabilityTest_${i}
|
||||
COMMAND ${CMAKE_CURRENT_BINARY_DIR}/testsuite_SDK --gtest_filter=TopologyHelper.MakeTopology --gtest_also_run_disabled_tests
|
||||
)
|
||||
set_tests_properties(DDSToolsAPIStabilityTest_${i} PROPERTIES TIMEOUT 10)
|
||||
endforeach()
|
||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/DDSToolsAPIStabilityTest.cmake.in
|
||||
${CMAKE_BINARY_DIR}/DDSToolsAPIStabilityTest.cmake
|
||||
@ONLY
|
||||
)
|
||||
endif()
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user