diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2016-01-11 16:12:01 +0100 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2016-02-05 13:26:34 +0100 |
commit | 53efa3eeb64010c75210bb58aaed3fe8d6353e06 (patch) | |
tree | 86602a170b32bb325c24a6fad0fc6ee2aa56c5c9 /tests | |
parent | 314ec4db40d46634e38adcbe1be93986278b605a (diff) |
tbf/test: Add missing function name printfs
Some test function don't have the "=== start/end ===" printfs.
Sponsored-by: On-Waves ehf
Diffstat (limited to 'tests')
-rw-r--r-- | tests/tbf/TbfTest.cpp | 8 | ||||
-rw-r--r-- | tests/tbf/TbfTest.ok | 6 |
2 files changed, 14 insertions, 0 deletions
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 === |