SRSUE: fix and enable UE PHY test

master
Xavier Arteaga 5 years ago committed by Xavier Arteaga
parent dc927b745a
commit 2d8bd0692a

@ -43,7 +43,7 @@ target_link_libraries(ue_phy_test
rrc_asn1 rrc_asn1
${CMAKE_THREAD_LIBS_INIT} ${CMAKE_THREAD_LIBS_INIT}
${Boost_LIBRARIES}) ${Boost_LIBRARIES})
#add_test(ue_phy_test ue_phy_test) add_test(ue_phy_test ue_phy_test)
add_executable(scell_search_test scell_search_test.cc) add_executable(scell_search_test scell_search_test.cc)
target_link_libraries(scell_search_test target_link_libraries(scell_search_test

@ -492,8 +492,6 @@ int main(int argc, char** argv)
srsue::phy_interface_rrc_lte::phy_cell_t phy_cell; srsue::phy_interface_rrc_lte::phy_cell_t phy_cell;
auto cell_search_res = phy_test->get_phy_interface_rrc()->cell_search(&phy_cell); auto cell_search_res = phy_test->get_phy_interface_rrc()->cell_search(&phy_cell);
TESTASSERT(cell_search_res.found == srsue::phy_interface_rrc_lte::cell_search_ret_t::CELL_FOUND); TESTASSERT(cell_search_res.found == srsue::phy_interface_rrc_lte::cell_search_ret_t::CELL_FOUND);
TESTASSERT(phy_test->get_stack()->wait_in_sync(default_timeout));
TESTASSERT(phy_cell.pci == cell.id);
// 2. Cell select // 2. Cell select
phy_test->get_phy_interface_rrc()->cell_select(&phy_cell); phy_test->get_phy_interface_rrc()->cell_select(&phy_cell);

Loading…
Cancel
Save