mirror of https://github.com/pvnis/srsRAN_4G.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.8 KiB
CMake
44 lines
1.8 KiB
CMake
#
|
|
# 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.
|
|
#
|
|
|
|
set(CTEST_LABELS "lib;pdcp")
|
|
|
|
add_executable(pdcp_nr_test_tx pdcp_nr_test_tx.cc)
|
|
target_link_libraries(pdcp_nr_test_tx srsran_pdcp srsran_common)
|
|
add_nr_test(pdcp_nr_test_tx pdcp_nr_test_tx)
|
|
|
|
add_executable(pdcp_nr_test_rx pdcp_nr_test_rx.cc)
|
|
target_link_libraries(pdcp_nr_test_rx srsran_pdcp srsran_common)
|
|
add_nr_test(pdcp_nr_test_rx pdcp_nr_test_rx)
|
|
|
|
add_executable(pdcp_nr_test_discard_sdu pdcp_nr_test_discard_sdu.cc)
|
|
target_link_libraries(pdcp_nr_test_discard_sdu srsran_pdcp srsran_common ${ATOMIC_LIBS})
|
|
add_nr_test(pdcp_nr_test_discard_sdu pdcp_nr_test_discard_sdu)
|
|
|
|
add_executable(pdcp_lte_test_rx pdcp_lte_test_rx.cc)
|
|
target_link_libraries(pdcp_lte_test_rx srsran_pdcp srsran_common)
|
|
add_test(pdcp_lte_test_rx pdcp_lte_test_rx)
|
|
|
|
add_executable(pdcp_lte_test_discard_sdu pdcp_lte_test_discard_sdu.cc)
|
|
target_link_libraries(pdcp_lte_test_discard_sdu srsran_pdcp srsran_common)
|
|
add_test(pdcp_lte_test_discard_sdu pdcp_lte_test_discard_sdu)
|
|
|
|
add_executable(pdcp_lte_test_status_report pdcp_lte_test_status_report.cc)
|
|
target_link_libraries(pdcp_lte_test_status_report srsran_pdcp srsran_common)
|
|
add_test(pdcp_lte_test_status_report pdcp_lte_test_status_report)
|
|
|
|
########################################################################
|
|
# 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 "")
|