add CMake option for ZMQ-based end-to-end tests

master
Andre Puschmann 5 years ago
parent 81e28aa9dc
commit 0dd93c793c

@ -76,6 +76,7 @@ option(ENABLE_ZEROMQ "Enable ZeroMQ" ON)
option(ENABLE_HARDSIM "Enable support for SIM cards" ON)
option(ENABLE_TTCN3 "Enable TTCN3 test binaries" OFF)
option(ENABLE_ZMQ_TEST "Enable ZMQ based E2E tests" OFF)
option(BUILD_STATIC "Attempt to statically link external deps" OFF)
option(RPATH "Enable RPATH" OFF)

@ -24,8 +24,8 @@
SET(CTEST_OUTPUT_ON_FAILURE TRUE)
if (ZEROMQ_FOUND)
if (ZEROMQ_FOUND AND ENABLE_ZMQ_TEST)
foreach (cell_n_prb 6 15 25 50 75 100)
add_test(e2e_${cell_n_prb}prb ${CMAKE_CURRENT_SOURCE_DIR}/run_lte.sh ${CMAKE_CURRENT_BINARY_DIR}/../ ${cell_n_prb})
endforeach (cell_n_prb)
endif (ZEROMQ_FOUND)
endif (ZEROMQ_FOUND AND ENABLE_ZMQ_TEST)
Loading…
Cancel
Save