2017-05-18 03:11:31 -07:00
|
|
|
#
|
2019-04-26 12:27:38 -07:00
|
|
|
# Copyright 2013-2019 Software Radio Systems Limited
|
2017-05-18 03:11:31 -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-18 03:11:31 -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-18 03:11:31 -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-18 03:11:31 -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/.
|
|
|
|
#
|
|
|
|
|
|
|
|
#######################################################################
|
2018-05-15 07:59:06 -07:00
|
|
|
# COMMON TESTS
|
2017-05-18 03:11:31 -07:00
|
|
|
#######################################################################
|
|
|
|
add_executable(logger_test logger_test.cc)
|
2017-06-02 07:59:03 -07:00
|
|
|
target_link_libraries(logger_test srslte_phy srslte_common srslte_phy ${SEC_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} ${Boost_LIBRARIES})
|
2017-05-18 03:11:31 -07:00
|
|
|
add_test(logger_test logger_test)
|
|
|
|
|
|
|
|
add_executable(msg_queue_test msg_queue_test.cc)
|
|
|
|
target_link_libraries(msg_queue_test srslte_phy srslte_common ${CMAKE_THREAD_LIBS_INIT} ${Boost_LIBRARIES})
|
|
|
|
add_test(msg_queue_test msg_queue_test)
|
|
|
|
|
2018-12-17 07:33:11 -08:00
|
|
|
add_executable(test_eia1 test_eia1.cc)
|
|
|
|
target_link_libraries(test_eia1 srslte_common srslte_phy ${CMAKE_THREAD_LIBS_INIT})
|
|
|
|
add_test(test_eia1 test_eia1)
|
|
|
|
|
2017-12-01 04:38:18 -08:00
|
|
|
add_executable(test_eea1 test_eea1.cc)
|
2018-05-31 05:34:32 -07:00
|
|
|
target_link_libraries(test_eea1 srslte_common srslte_phy ${CMAKE_THREAD_LIBS_INIT})
|
2017-12-01 04:38:18 -08:00
|
|
|
add_test(test_eea1 test_eea1)
|
|
|
|
|
|
|
|
add_executable(test_eea2 test_eea2.cc)
|
2018-05-31 05:34:32 -07:00
|
|
|
target_link_libraries(test_eea2 srslte_common srslte_phy ${CMAKE_THREAD_LIBS_INIT})
|
2017-12-01 04:38:18 -08:00
|
|
|
add_test(test_eea2 test_eea2)
|
|
|
|
|
2018-01-22 03:20:16 -08:00
|
|
|
add_executable(test_f12345 test_f12345.cc)
|
|
|
|
target_link_libraries(test_f12345 srslte_common ${CMAKE_THREAD_LIBS_INIT})
|
|
|
|
add_test(test_f12345 test_f12345)
|
|
|
|
|
2017-05-18 03:11:31 -07:00
|
|
|
add_executable(log_filter_test log_filter_test.cc)
|
2017-06-02 07:59:03 -07:00
|
|
|
target_link_libraries(log_filter_test srslte_phy srslte_common srslte_phy ${SEC_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} ${Boost_LIBRARIES})
|
2017-05-18 03:11:31 -07:00
|
|
|
|
|
|
|
add_executable(timeout_test timeout_test.cc)
|
|
|
|
target_link_libraries(timeout_test srslte_phy ${CMAKE_THREAD_LIBS_INIT})
|
|
|
|
|
|
|
|
add_executable(bcd_helpers_test bcd_helpers_test.cc)
|
2019-05-29 12:43:03 -07:00
|
|
|
|
|
|
|
add_executable(pdu_test pdu_test.cc)
|
|
|
|
target_link_libraries(pdu_test srslte_phy srslte_common ${CMAKE_THREAD_LIBS_INIT})
|
|
|
|
add_test(pdu_test pdu_test)
|