From 53efa3eeb64010c75210bb58aaed3fe8d6353e06 Mon Sep 17 00:00:00 2001 From: Jacob Erlbeck Date: Mon, 11 Jan 2016 16:12:01 +0100 Subject: tbf/test: Add missing function name printfs Some test function don't have the "=== start/end ===" printfs. Sponsored-by: On-Waves ehf --- tests/tbf/TbfTest.cpp | 8 ++++++++ tests/tbf/TbfTest.ok | 6 ++++++ 2 files changed, 14 insertions(+) diff --git a/tests/tbf/TbfTest.cpp b/tests/tbf/TbfTest.cpp index 66fa9825..f9431f60 100644 --- a/tests/tbf/TbfTest.cpp +++ b/tests/tbf/TbfTest.cpp @@ -81,6 +81,8 @@ static void test_tbf_tlli_update() BTS the_bts; GprsMs *ms, *ms_new; + printf("=== start %s ===\n", __func__); + the_bts.bts_data()->alloc_algorithm = alloc_algorithm_a; the_bts.bts_data()->trx[0].pdch[2].enable(); the_bts.bts_data()->trx[0].pdch[3].enable(); @@ -138,6 +140,8 @@ static void test_tbf_tlli_update() OSMO_ASSERT(ul_tbf->ta() == 6); OSMO_ASSERT(dl_tbf->ta() == 6); + + printf("=== end %s ===\n", __func__); } static uint8_t llc_data[200]; @@ -239,6 +243,8 @@ static void test_tbf_final_ack(enum test_tbf_final_ack_mode test_mode) uint8_t rbb[64/8]; + printf("=== start %s ===\n", __func__); + gprs_rlcmac_dl_tbf *dl_tbf; gprs_rlcmac_tbf *new_tbf; @@ -292,6 +298,8 @@ static void test_tbf_final_ack(enum test_tbf_final_ack_mode test_mode) tbf_free(new_tbf); OSMO_ASSERT(ms->dl_tbf() == NULL); } + + printf("=== end %s ===\n", __func__); } static void test_tbf_delayed_release() diff --git a/tests/tbf/TbfTest.ok b/tests/tbf/TbfTest.ok index 0ad9ad47..916ea52b 100644 --- a/tests/tbf/TbfTest.ok +++ b/tests/tbf/TbfTest.ok @@ -1,5 +1,11 @@ === start test_tbf_base === === end test_tbf_base === +=== start test_tbf_tlli_update === +=== end test_tbf_tlli_update === +=== start test_tbf_final_ack === +=== end test_tbf_final_ack === +=== start test_tbf_final_ack === +=== end test_tbf_final_ack === === start test_tbf_delayed_release === === end test_tbf_delayed_release === === start test_tbf_imsi === -- cgit v1.2.3