2017-05-18 03:11:31 -07:00
|
|
|
#
|
2021-03-19 03:45:56 -07:00
|
|
|
# Copyright 2013-2021 Software Radio Systems Limited
|
2017-05-18 03:11:31 -07:00
|
|
|
#
|
2020-11-26 01:25:22 -08:00
|
|
|
# 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.
|
2017-05-18 03:11:31 -07:00
|
|
|
#
|
|
|
|
|
2019-11-15 05:54:26 -08:00
|
|
|
find_package(SCTP REQUIRED)
|
|
|
|
|
2017-05-18 03:11:31 -07:00
|
|
|
#######################################################################
|
2018-05-15 07:59:06 -07:00
|
|
|
# COMMON TESTS
|
2017-05-18 03:11:31 -07:00
|
|
|
#######################################################################
|
2020-07-13 08:19:38 -07:00
|
|
|
add_executable(byte_buffer_queue_test byte_buffer_queue_test.cc)
|
2021-03-19 03:45:56 -07:00
|
|
|
target_link_libraries(byte_buffer_queue_test srsran_phy srsran_common ${CMAKE_THREAD_LIBS_INIT} ${Boost_LIBRARIES})
|
2020-07-13 08:19:38 -07:00
|
|
|
add_test(byte_buffer_queue_test byte_buffer_queue_test)
|
2017-05-18 03:11:31 -07:00
|
|
|
|
2018-12-17 07:33:11 -08:00
|
|
|
add_executable(test_eia1 test_eia1.cc)
|
2021-03-19 03:45:56 -07:00
|
|
|
target_link_libraries(test_eia1 srsran_common srsran_phy ${CMAKE_THREAD_LIBS_INIT})
|
2018-12-17 07:33:11 -08:00
|
|
|
add_test(test_eia1 test_eia1)
|
|
|
|
|
2019-04-10 04:15:23 -07:00
|
|
|
add_executable(test_eia3 test_eia3.cc)
|
2021-03-19 03:45:56 -07:00
|
|
|
target_link_libraries(test_eia3 srsran_common)
|
2019-04-10 04:15:23 -07:00
|
|
|
add_test(test_eia3 test_eia3)
|
|
|
|
|
2017-12-01 04:38:18 -08:00
|
|
|
add_executable(test_eea1 test_eea1.cc)
|
2021-03-19 03:45:56 -07:00
|
|
|
target_link_libraries(test_eea1 srsran_common srsran_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)
|
2021-03-19 03:45:56 -07:00
|
|
|
target_link_libraries(test_eea2 srsran_common srsran_phy ${CMAKE_THREAD_LIBS_INIT})
|
2017-12-01 04:38:18 -08:00
|
|
|
add_test(test_eea2 test_eea2)
|
|
|
|
|
2019-04-09 09:41:53 -07:00
|
|
|
add_executable(test_eea3 test_eea3.cc)
|
2021-03-19 03:45:56 -07:00
|
|
|
target_link_libraries(test_eea3 srsran_common srsran_phy ${CMAKE_THREAD_LIBS_INIT})
|
2019-04-09 09:41:53 -07:00
|
|
|
add_test(test_eea3 test_eea3)
|
|
|
|
|
2018-01-22 03:20:16 -08:00
|
|
|
add_executable(test_f12345 test_f12345.cc)
|
2021-03-19 03:45:56 -07:00
|
|
|
target_link_libraries(test_f12345 srsran_common ${CMAKE_THREAD_LIBS_INIT})
|
2018-01-22 03:20:16 -08:00
|
|
|
add_test(test_f12345 test_f12345)
|
|
|
|
|
2017-05-18 03:11:31 -07:00
|
|
|
add_executable(timeout_test timeout_test.cc)
|
2021-03-19 03:45:56 -07:00
|
|
|
target_link_libraries(timeout_test srsran_phy ${CMAKE_THREAD_LIBS_INIT})
|
2017-05-18 03:11:31 -07:00
|
|
|
|
|
|
|
add_executable(bcd_helpers_test bcd_helpers_test.cc)
|
2021-03-19 03:45:56 -07:00
|
|
|
target_link_libraries(bcd_helpers_test srsran_common)
|
2019-05-29 12:43:03 -07:00
|
|
|
|
2019-06-20 08:33:03 -07:00
|
|
|
add_executable(stack_procedure_test stack_procedure_test.cc)
|
2021-04-20 06:34:31 -07:00
|
|
|
target_link_libraries(stack_procedure_test srsran_common)
|
2019-10-01 04:26:48 -07:00
|
|
|
add_test(stack_procedure_test stack_procedure_test)
|
2019-09-13 03:33:43 -07:00
|
|
|
|
2021-03-05 13:55:18 -08:00
|
|
|
add_executable(queue_test multiqueue_test.cc)
|
2021-03-19 03:45:56 -07:00
|
|
|
target_link_libraries(queue_test srsran_common ${CMAKE_THREAD_LIBS_INIT})
|
2019-09-13 03:33:43 -07:00
|
|
|
add_test(queue_test queue_test)
|
2019-09-16 11:02:47 -07:00
|
|
|
|
|
|
|
add_executable(timer_test timer_test.cc)
|
2021-06-02 05:44:32 -07:00
|
|
|
target_link_libraries(timer_test srsran_common ${ATOMIC_LIBS})
|
2019-11-15 03:30:42 -08:00
|
|
|
add_test(timer_test timer_test)
|
2019-11-11 11:50:16 -08:00
|
|
|
|
2019-11-12 01:36:41 -08:00
|
|
|
add_executable(network_utils_test network_utils_test.cc)
|
2021-03-19 03:45:56 -07:00
|
|
|
target_link_libraries(network_utils_test srsran_common ${SCTP_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
|
2019-11-15 03:30:42 -08:00
|
|
|
add_test(network_utils_test network_utils_test)
|
2019-11-27 09:32:57 -08:00
|
|
|
|
2020-03-13 09:02:18 -07:00
|
|
|
add_executable(tti_point_test tti_point_test.cc)
|
2021-03-19 03:45:56 -07:00
|
|
|
target_link_libraries(tti_point_test srsran_common)
|
2020-03-29 09:56:50 -07:00
|
|
|
add_test(tti_point_test tti_point_test)
|
|
|
|
|
|
|
|
add_executable(choice_type_test choice_type_test.cc)
|
2021-03-19 03:45:56 -07:00
|
|
|
target_link_libraries(choice_type_test srsran_common)
|
2020-03-29 09:56:50 -07:00
|
|
|
add_test(choice_type_test choice_type_test)
|
2020-03-17 09:49:42 -07:00
|
|
|
|
2020-07-08 10:39:23 -07:00
|
|
|
add_executable(task_scheduler_test task_scheduler_test.cc)
|
2021-06-02 05:44:32 -07:00
|
|
|
target_link_libraries(task_scheduler_test srsran_common ${ATOMIC_LIBS})
|
2020-07-08 10:39:23 -07:00
|
|
|
add_test(task_scheduler_test task_scheduler_test)
|
|
|
|
|
2021-02-26 05:32:57 -08:00
|
|
|
add_executable(mac_pcap_net_test mac_pcap_net_test.cc)
|
2021-03-19 03:45:56 -07:00
|
|
|
target_link_libraries(mac_pcap_net_test srsran_common ${SCTP_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
|