mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-16 01:51:45 +00:00
FairMQ: Add test for example/advanced/Region.
Also fix a regression in nanomsg transport.
This commit is contained in:
committed by
Mohammad Al-Turany
parent
ce162364fa
commit
c9fc46e2c9
@@ -6,10 +6,9 @@
|
||||
# copied verbatim in the file "LICENSE" #
|
||||
################################################################################
|
||||
|
||||
configure_file(${CMAKE_SOURCE_DIR}/examples/advanced/Region/ex-region.json
|
||||
${CMAKE_BINARY_DIR}/bin/config/ex-region.json)
|
||||
configure_file(${CMAKE_SOURCE_DIR}/examples/advanced/Region/startMQExRegion.sh.in
|
||||
${CMAKE_BINARY_DIR}/bin/examples/advanced/Region/startMQExRegion.sh)
|
||||
configure_file(${CMAKE_SOURCE_DIR}/examples/advanced/Region/ex-region.json ${CMAKE_BINARY_DIR}/bin/config/ex-region.json)
|
||||
configure_file(${CMAKE_SOURCE_DIR}/examples/advanced/Region/startMQExRegion.sh.in ${CMAKE_BINARY_DIR}/bin/examples/advanced/Region/startMQExRegion.sh)
|
||||
configure_file(${CMAKE_SOURCE_DIR}/examples/advanced/Region/testMQExRegion.sh.in ${CMAKE_BINARY_DIR}/bin/examples/advanced/Region/testMQExRegion.sh)
|
||||
|
||||
Set(INCLUDE_DIRECTORIES
|
||||
${CMAKE_SOURCE_DIR}/fairmq
|
||||
@@ -73,6 +72,11 @@ ForEach(_file RANGE 0 ${_length})
|
||||
GENERATE_EXECUTABLE()
|
||||
EndForEach(_file RANGE 0 ${_length})
|
||||
|
||||
add_test(NAME MQ.ex-advanced-region COMMAND ${CMAKE_BINARY_DIR}/bin/examples/advanced/Region/testMQExRegion.sh)
|
||||
set_tests_properties(MQ.ex-advanced-region PROPERTIES TIMEOUT "30")
|
||||
set_tests_properties(MQ.ex-advanced-region PROPERTIES RUN_SERIAL true)
|
||||
set_tests_properties(MQ.ex-advanced-region PROPERTIES PASS_REGULAR_EXPRESSION "Received ack")
|
||||
|
||||
Install(
|
||||
FILES ex-region.json
|
||||
DESTINATION share/fairbase/examples/advanced/Region/config/
|
||||
|
Reference in New Issue
Block a user