|
|
@ -30,16 +30,20 @@ add_executable(rlc_am_test rlc_am_test.cc)
|
|
|
|
target_link_libraries(rlc_am_test srslte_upper srslte_phy srslte_common)
|
|
|
|
target_link_libraries(rlc_am_test srslte_upper srslte_phy srslte_common)
|
|
|
|
add_test(rlc_am_test rlc_am_test)
|
|
|
|
add_test(rlc_am_test rlc_am_test)
|
|
|
|
|
|
|
|
|
|
|
|
add_executable(rlc_am_nr_pdu_test rlc_am_nr_pdu_test.cc)
|
|
|
|
if (ENABLE_5GNR)
|
|
|
|
target_link_libraries(rlc_am_nr_pdu_test srslte_upper srslte_phy)
|
|
|
|
add_executable(rlc_am_nr_pdu_test rlc_am_nr_pdu_test.cc)
|
|
|
|
add_test(rlc_am_nr_pdu_test rlc_am_nr_pdu_test)
|
|
|
|
target_link_libraries(rlc_am_nr_pdu_test srslte_upper srslte_phy)
|
|
|
|
|
|
|
|
add_test(rlc_am_nr_pdu_test rlc_am_nr_pdu_test)
|
|
|
|
|
|
|
|
endif(ENABLE_5GNR)
|
|
|
|
|
|
|
|
|
|
|
|
add_executable(rlc_stress_test rlc_stress_test.cc)
|
|
|
|
add_executable(rlc_stress_test rlc_stress_test.cc)
|
|
|
|
target_link_libraries(rlc_stress_test srslte_upper srslte_phy srslte_common ${Boost_LIBRARIES})
|
|
|
|
target_link_libraries(rlc_stress_test srslte_upper srslte_phy srslte_common ${Boost_LIBRARIES})
|
|
|
|
add_test(rlc_am_stress_test rlc_stress_test --mode=AM --loglevel 1 --sdu_gen_delay 250)
|
|
|
|
add_test(rlc_am_stress_test rlc_stress_test --mode=AM --loglevel 1 --sdu_gen_delay 250)
|
|
|
|
add_test(rlc_um_stress_test rlc_stress_test --mode=UM --loglevel 1)
|
|
|
|
add_test(rlc_um_stress_test rlc_stress_test --mode=UM --loglevel 1)
|
|
|
|
add_test(rlc_tm_stress_test rlc_stress_test --mode=TM --loglevel 1 --random_opp=false)
|
|
|
|
add_test(rlc_tm_stress_test rlc_stress_test --mode=TM --loglevel 1 --random_opp=false)
|
|
|
|
add_test(rlc_um_nr_stress_test rlc_stress_test --rat NR --mode=UM --loglevel 1)
|
|
|
|
if (ENABLE_5GNR)
|
|
|
|
|
|
|
|
add_test(rlc_um_nr_stress_test rlc_stress_test --rat NR --mode=UM --loglevel 1)
|
|
|
|
|
|
|
|
endif(ENABLE_5GNR)
|
|
|
|
set_tests_properties(rlc_am_stress_test PROPERTIES TIMEOUT 3000)
|
|
|
|
set_tests_properties(rlc_am_stress_test PROPERTIES TIMEOUT 3000)
|
|
|
|
set_tests_properties(rlc_um_stress_test PROPERTIES TIMEOUT 3000)
|
|
|
|
set_tests_properties(rlc_um_stress_test PROPERTIES TIMEOUT 3000)
|
|
|
|
set_tests_properties(rlc_tm_stress_test PROPERTIES TIMEOUT 3000)
|
|
|
|
set_tests_properties(rlc_tm_stress_test PROPERTIES TIMEOUT 3000)
|
|
|
@ -56,25 +60,27 @@ add_executable(rlc_common_test rlc_common_test.cc)
|
|
|
|
target_link_libraries(rlc_common_test srslte_upper srslte_phy)
|
|
|
|
target_link_libraries(rlc_common_test srslte_upper srslte_phy)
|
|
|
|
add_test(rlc_common_test rlc_common_test)
|
|
|
|
add_test(rlc_common_test rlc_common_test)
|
|
|
|
|
|
|
|
|
|
|
|
add_executable(rlc_um_nr_pdu_test rlc_um_nr_pdu_test.cc)
|
|
|
|
if (ENABLE_5GNR)
|
|
|
|
target_link_libraries(rlc_um_nr_pdu_test srslte_upper srslte_phy)
|
|
|
|
add_executable(rlc_um_nr_pdu_test rlc_um_nr_pdu_test.cc)
|
|
|
|
add_test(rlc_um_nr_pdu_test rlc_um_nr_pdu_test)
|
|
|
|
target_link_libraries(rlc_um_nr_pdu_test srslte_upper srslte_phy)
|
|
|
|
|
|
|
|
add_test(rlc_um_nr_pdu_test rlc_um_nr_pdu_test)
|
|
|
|
|
|
|
|
|
|
|
|
add_executable(rlc_um_nr_test rlc_um_nr_test.cc)
|
|
|
|
add_executable(rlc_um_nr_test rlc_um_nr_test.cc)
|
|
|
|
target_link_libraries(rlc_um_nr_test srslte_upper srslte_phy)
|
|
|
|
target_link_libraries(rlc_um_nr_test srslte_upper srslte_phy)
|
|
|
|
add_test(rlc_um_nr_test rlc_um_nr_test)
|
|
|
|
add_test(rlc_um_nr_test rlc_um_nr_test)
|
|
|
|
|
|
|
|
|
|
|
|
add_executable(pdcp_nr_test_tx pdcp_nr_test_tx.cc)
|
|
|
|
add_executable(pdcp_nr_test_tx pdcp_nr_test_tx.cc)
|
|
|
|
target_link_libraries(pdcp_nr_test_tx srslte_upper srslte_common)
|
|
|
|
target_link_libraries(pdcp_nr_test_tx srslte_upper srslte_common)
|
|
|
|
add_test(pdcp_nr_test_tx pdcp_nr_test_tx)
|
|
|
|
add_test(pdcp_nr_test_tx pdcp_nr_test_tx)
|
|
|
|
|
|
|
|
|
|
|
|
add_executable(pdcp_nr_test_rx pdcp_nr_test_rx.cc)
|
|
|
|
add_executable(pdcp_nr_test_rx pdcp_nr_test_rx.cc)
|
|
|
|
target_link_libraries(pdcp_nr_test_rx srslte_upper srslte_common)
|
|
|
|
target_link_libraries(pdcp_nr_test_rx srslte_upper srslte_common)
|
|
|
|
add_test(pdcp_nr_test_rx pdcp_nr_test_rx)
|
|
|
|
add_test(pdcp_nr_test_rx pdcp_nr_test_rx)
|
|
|
|
|
|
|
|
|
|
|
|
add_executable(pdcp_nr_test_discard_sdu pdcp_nr_test_discard_sdu.cc)
|
|
|
|
add_executable(pdcp_nr_test_discard_sdu pdcp_nr_test_discard_sdu.cc)
|
|
|
|
target_link_libraries(pdcp_nr_test_discard_sdu srslte_upper srslte_common)
|
|
|
|
target_link_libraries(pdcp_nr_test_discard_sdu srslte_upper srslte_common)
|
|
|
|
add_test(pdcp_nr_test_discard_sdu pdcp_nr_test_discard_sdu)
|
|
|
|
add_test(pdcp_nr_test_discard_sdu pdcp_nr_test_discard_sdu)
|
|
|
|
|
|
|
|
endif(ENABLE_5GNR)
|
|
|
|
|
|
|
|
|
|
|
|
########################################################################
|
|
|
|
########################################################################
|
|
|
|
# Option to run command after build (useful for remote builds)
|
|
|
|
# Option to run command after build (useful for remote builds)
|
|
|
|