2017-05-30 06:38:04 -07:00
|
|
|
#
|
2020-03-13 04:12:52 -07:00
|
|
|
# Copyright 2013-2020 Software Radio Systems Limited
|
2017-05-30 06:38:04 -07:00
|
|
|
#
|
2017-05-30 10:14:41 -07:00
|
|
|
# This file is part of srsLTE
|
|
|
|
#
|
|
|
|
# srsLTE is free software: you can redistribute it and/or modify
|
2017-05-30 06:38:04 -07:00
|
|
|
# it under the terms of the GNU Affero General Public License as
|
|
|
|
# published by the Free Software Foundation, either version 3 of
|
|
|
|
# the License, or (at your option) any later version.
|
|
|
|
#
|
2017-05-30 10:14:41 -07:00
|
|
|
# srsLTE is distributed in the hope that it will be useful,
|
2017-05-30 06:38:04 -07:00
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
2019-04-26 12:27:38 -07:00
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
2017-05-30 06:38:04 -07:00
|
|
|
# GNU Affero General Public License for more details.
|
|
|
|
#
|
|
|
|
# A copy of the GNU Affero General Public License can be found in
|
|
|
|
# the LICENSE file in the top-level directory of this distribution
|
|
|
|
# and at http://www.gnu.org/licenses/.
|
|
|
|
#
|
|
|
|
|
2017-05-31 14:39:17 -07:00
|
|
|
add_executable(usim_test usim_test.cc)
|
2019-07-03 08:20:32 -07:00
|
|
|
target_link_libraries(usim_test srsue_upper srslte_upper srslte_phy rrc_asn1)
|
2017-05-31 14:39:17 -07:00
|
|
|
add_test(usim_test usim_test)
|
|
|
|
|
2018-04-04 02:53:36 -07:00
|
|
|
if(HAVE_PCSC)
|
2018-05-14 06:02:32 -07:00
|
|
|
add_executable(pcsc_usim_test pcsc_usim_test.cc)
|
|
|
|
target_link_libraries(pcsc_usim_test srsue_upper srslte_upper srslte_phy)
|
2018-04-04 02:53:36 -07:00
|
|
|
endif(HAVE_PCSC)
|
|
|
|
|
2017-05-31 14:39:17 -07:00
|
|
|
add_executable(rrc_reconfig_test rrc_reconfig_test.cc)
|
2019-01-17 03:42:01 -08:00
|
|
|
target_link_libraries(rrc_reconfig_test srsue_upper srslte_upper srslte_phy rrc_asn1)
|
2017-05-31 14:39:17 -07:00
|
|
|
add_test(rrc_reconfig_test rrc_reconfig_test)
|
|
|
|
|
2019-12-13 04:04:47 -08:00
|
|
|
add_executable(rrc_meas_test rrc_meas_test.cc)
|
|
|
|
target_link_libraries(rrc_meas_test srsue_rrc srsue_upper srslte_upper srslte_phy rrc_asn1)
|
|
|
|
add_test(rrc_meas_test rrc_meas_test)
|
|
|
|
|
2018-01-08 01:47:20 -08:00
|
|
|
add_executable(nas_test nas_test.cc)
|
2019-01-17 03:42:01 -08:00
|
|
|
target_link_libraries(nas_test srsue_upper srslte_upper srslte_phy rrc_asn1)
|
2018-01-08 01:47:20 -08:00
|
|
|
add_test(nas_test nas_test)
|
|
|
|
|
2019-05-29 06:06:47 -07:00
|
|
|
add_executable(tft_test tft_test.cc)
|
|
|
|
target_link_libraries(tft_test srsue_upper srslte_upper srslte_phy)
|
|
|
|
add_test(tft_test tft_test)
|
|
|
|
|
2017-05-30 06:38:04 -07:00
|
|
|
########################################################################
|
|
|
|
# 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 "")
|
|
|
|
|