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

SW-382: simplified CMakeLists.txt for PyMessaging

parent 910963c9
No related branches found
No related tags found
No related merge requests found
......@@ -2,19 +2,8 @@
include(LofarCTest)
set(_qpid_tests
t_messages
t_messagebus
t_RPC
t_service_message_handler)
lofar_add_test(t_messages)
lofar_add_test(t_messagebus)
lofar_add_test(t_service_message_handler)
lofar_add_test(t_RPC)
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 "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