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/.
Harald Welte gerrit-no-reply at lists.osmocom.orgHarald Welte has uploaded this change for review. ( https://gerrit.osmocom.org/13100 Change subject: PCU: Add simple test for PCUIF RACH Indication ...................................................................... PCU: Add simple test for PCUIF RACH Indication Change-Id: I8fa6de711391837ed16888c48b22cd29892f222f --- M pcu/PCU_Tests_RAW_SNS.ttcn 1 file changed, 20 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/00/13100/1 diff --git a/pcu/PCU_Tests_RAW_SNS.ttcn b/pcu/PCU_Tests_RAW_SNS.ttcn index 5a370d9..26d8011 100644 --- a/pcu/PCU_Tests_RAW_SNS.ttcn +++ b/pcu/PCU_Tests_RAW_SNS.ttcn @@ -247,6 +247,24 @@ setverdict(pass); } +import from PCUIF_Types all; +import from PCUIF_CodecPort all; + +private function f_pcuif_tx(template (value) PCUIF_Message msg) runs on RAW_PCU_CT { + PCU.send(t_SD_PCUIF(g_pcu_conn_id, msg)); +} + +testcase TC_pcuif_rach() runs on RAW_Test_CT { + f_sns_bringup_1c1u(); + + f_pcuif_tx(ts_PCUIF_RACH_IND(bts_nr:=0, ra:=23, is_11bit:=0, burst_type:=BURST_TYPE_0, + fn:=42, arfcn:=871, qta:=0)); + PCU.receive(t_SD_PCUIF(g_pcu_conn_id, + tr_PCUIF_DATA_REQ(bts_nr:=0, trx_nr:=0, ts_nr:=0, block_nr:=?, fn:=?, + sapi:=PCU_IF_SAPI_AGCH, data:=?))); + setverdict(pass); +} + control { @@ -259,6 +277,8 @@ execute( TC_sns_add() ); execute( TC_sns_del() ); execute( TC_sns_chg_weight() ); + + execute( TC_pcuif_rach() ); } } -- To view, visit https://gerrit.osmocom.org/13100 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I8fa6de711391837ed16888c48b22cd29892f222f Gerrit-Change-Number: 13100 Gerrit-PatchSet: 1 Gerrit-Owner: Harald Welte <laforge at gnumonks.org> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190301/b4040684/attachment.htm>