SRSUE: fix and enable UE PHY test

This commit is contained in:
Xavier Arteaga 2020-05-05 16:29:03 +02:00 committed by Xavier Arteaga
parent dc927b745a
commit 2d8bd0692a
2 changed files with 1 additions and 3 deletions

View File

@ -43,7 +43,7 @@ target_link_libraries(ue_phy_test
rrc_asn1
${CMAKE_THREAD_LIBS_INIT}
${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)
target_link_libraries(scell_search_test

View File

@ -492,8 +492,6 @@ int main(int argc, char** argv)
srsue::phy_interface_rrc_lte::phy_cell_t 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(phy_test->get_stack()->wait_in_sync(default_timeout));
TESTASSERT(phy_cell.pci == cell.id);
// 2. Cell select
phy_test->get_phy_interface_rrc()->cell_select(&phy_cell);