Skip to content
Snippets Groups Projects
Commit c4f573a8 authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

Task #11004: replaced erroneously used c++ HAVE_QPID variable by an actual...

Task #11004: replaced erroneously used c++ HAVE_QPID variable by an actual test if the qpid daemon is running on this system
parent f918583e
No related branches found
No related tags found
No related merge requests found
......@@ -8,12 +8,13 @@ set(_qpid_tests
t_RPC
t_service_message_handler)
if(HAVE_QPID)
execute_process(COMMAND qpid-config RESULT_VARIABLE QPID_CONFIG_RESULT OUTPUT_QUIET ERROR_QUIET)
if(${QPID_CONFIG_RESULT} EQUAL 0)
foreach(_test ${_qpid_tests})
lofar_add_test(${_test})
endforeach()
else()
lofar_join_arguments(_qpid_tests)
message(WARNING "Qpid is not set."
"The following tests will not be run: ${_qpid_tests}")
message(WARNING "No running qpid daemon found. The following tests will not be run: ${_qpid_tests}")
endif()
......@@ -8,12 +8,13 @@ set(_qpid_tests
t_TreeService
t_TreeStatusEvents)
if(HAVE_QPID)
execute_process(COMMAND qpid-config RESULT_VARIABLE QPID_CONFIG_RESULT OUTPUT_QUIET ERROR_QUIET)
if(${QPID_CONFIG_RESULT} EQUAL 0)
foreach(_test ${_qpid_tests})
lofar_add_test(${_test})
endforeach()
else()
lofar_join_arguments(_qpid_tests)
message(WARNING "Qpid is not set."
"The following tests will not be run: ${_qpid_tests}")
message(WARNING "No running qpid daemon found. The following tests will not be run: ${_qpid_tests}")
endif()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment