mirror of https://github.com/pvnis/srsRAN_4G.git
srsue,test: reorganize test folders and move to components like we in PHY
parent
99960c72fa
commit
94959b5318
@ -0,0 +1,39 @@
|
|||||||
|
#
|
||||||
|
# Copyright 2013-2021 Software Radio Systems Limited
|
||||||
|
#
|
||||||
|
# By using this file, you agree to the terms and conditions set
|
||||||
|
# forth in the LICENSE file which can be found at the top level of
|
||||||
|
# the distribution.
|
||||||
|
#
|
||||||
|
|
||||||
|
add_executable(usim_test usim_test.cc)
|
||||||
|
target_link_libraries(usim_test srsue_upper srsran_upper srsran_phy rrc_asn1)
|
||||||
|
add_test(usim_test usim_test)
|
||||||
|
|
||||||
|
if(HAVE_PCSC)
|
||||||
|
add_executable(pcsc_usim_test pcsc_usim_test.cc)
|
||||||
|
target_link_libraries(pcsc_usim_test srsue_upper srsran_upper srsran_phy)
|
||||||
|
endif(HAVE_PCSC)
|
||||||
|
|
||||||
|
add_executable(nas_test nas_test.cc)
|
||||||
|
target_link_libraries(nas_test srsue_upper srsran_upper srsran_phy rrc_asn1)
|
||||||
|
add_test(nas_test nas_test)
|
||||||
|
|
||||||
|
add_executable(gw_test gw_test.cc)
|
||||||
|
target_link_libraries(gw_test srsue_upper srsran_upper srsran_phy)
|
||||||
|
add_test(gw_test gw_test)
|
||||||
|
|
||||||
|
add_executable(tft_test tft_test.cc)
|
||||||
|
target_link_libraries(tft_test srsue_upper srsran_upper srsran_phy)
|
||||||
|
add_test(tft_test tft_test)
|
||||||
|
|
||||||
|
########################################################################
|
||||||
|
# Option to run command after build (useful for remote builds)
|
||||||
|
########################################################################
|
||||||
|
if (NOT ${BUILD_CMD} STREQUAL "")
|
||||||
|
message(STATUS "Added custom post-build command: ${BUILD_CMD}")
|
||||||
|
add_custom_command(TARGET ip_test POST_BUILD COMMAND ${BUILD_CMD})
|
||||||
|
else(NOT ${BUILD_CMD} STREQUAL "")
|
||||||
|
message(STATUS "No post-build command defined")
|
||||||
|
endif (NOT ${BUILD_CMD} STREQUAL "")
|
||||||
|
|
@ -0,0 +1,15 @@
|
|||||||
|
#
|
||||||
|
# Copyright 2013-2021 Software Radio Systems Limited
|
||||||
|
#
|
||||||
|
# By using this file, you agree to the terms and conditions set
|
||||||
|
# forth in the LICENSE file which can be found at the top level of
|
||||||
|
# the distribution.
|
||||||
|
#
|
||||||
|
|
||||||
|
if (ENABLE_TTCN3)
|
||||||
|
add_subdirectory(ttcn3)
|
||||||
|
endif (ENABLE_TTCN3)
|
||||||
|
|
||||||
|
add_executable(metrics_test metrics_test.cc ../metrics_stdout.cc ../metrics_csv.cc)
|
||||||
|
target_link_libraries(metrics_test srsran_phy srsran_common)
|
||||||
|
add_test(metrics_test metrics_test -o ${CMAKE_CURRENT_BINARY_DIR}/ue_metrics.csv)
|
Loading…
Reference in New Issue