This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
neels gerrit-no-reply at lists.osmocom.orgneels has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/21371 ) Change subject: bsc: add tests for AMR 'start-mode auto' ...................................................................... bsc: add tests for AMR 'start-mode auto' These tests will fail until osmo-bsc I577ff590d7588fd7e3ee4846c7955ab8f84cf2b1 Related: OS#4868 Change-Id: Iec74b940009c8ec78a6da5c00615259e2edc1781 --- M bsc/BSC_Tests.ttcn 1 file changed, 15 insertions(+), 2 deletions(-) Approvals: laforge: Looks good to me, but someone else must approve pespin: Looks good to me, approved Jenkins Builder: Verified diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn index 4cbc256..251801b 100644 --- a/bsc/BSC_Tests.ttcn +++ b/bsc/BSC_Tests.ttcn @@ -3711,7 +3711,8 @@ f_vty_amr_start_mode_restore(false); } -function f_TC_assignment_codec_amr(boolean fr, octetstring mrconf, bitstring s8_s0, bitstring exp_s8_s0) +function f_TC_assignment_codec_amr(boolean fr, octetstring mrconf, bitstring s8_s0, bitstring exp_s8_s0, + charstring start_mode := "1") runs on test_CT { var TestHdlrParams pars := f_gen_test_hdlr_pars(); @@ -3737,7 +3738,7 @@ f_init(1, true); f_allow_amr_rate_4_75k_5_90k_7_40k_12_20k(); - f_vty_amr_start_mode_set(fr, "1"); + f_vty_amr_start_mode_set(fr, start_mode); f_sleep(1.0); vc_conn := f_start_handler(refers(f_TC_assignment_codec), pars); @@ -3886,6 +3887,16 @@ f_shutdown_helper(); } +testcase TC_assignment_codec_amr_f_start_mode_auto() runs on test_CT { + f_TC_assignment_codec_amr(true, '209520882208'O, '11111111'B, '00000010'B, + start_mode := "auto"); +} + +testcase TC_assignment_codec_amr_h_start_mode_auto() runs on test_CT { + f_TC_assignment_codec_amr(false, '2015208820'O, '10010101'B, '00010101'B, + start_mode := "auto"); +} + private function f_disable_all_tch_f() runs on test_CT { f_vty_transceive(BSCVTY, "bts 0 trx 0 timeslot 1 sub-slot 0 borken"); f_vty_transceive(BSCVTY, "bts 0 trx 0 timeslot 2 sub-slot 0 borken"); @@ -8402,6 +8413,8 @@ execute( TC_assignment_codec_amr_f_zero() ); execute( TC_assignment_codec_amr_f_unsupp() ); execute( TC_assignment_codec_amr_h_S7() ); + execute( TC_assignment_codec_amr_f_start_mode_auto() ); + execute( TC_assignment_codec_amr_h_start_mode_auto() ); } execute( TC_assignment_codec_fr_exhausted_req_hr() ); -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/21371 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: Iec74b940009c8ec78a6da5c00615259e2edc1781 Gerrit-Change-Number: 21371 Gerrit-PatchSet: 4 Gerrit-Owner: neels <nhofmeyr at sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge at osmocom.org> Gerrit-Reviewer: neels <nhofmeyr at sysmocom.de> Gerrit-Reviewer: pespin <pespin at sysmocom.de> Gerrit-MessageType: merged -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201130/7a4383a0/attachment.htm>