BSC: Add CCHAN_PT recently introduced in RSL_Emulation

RSL_Emulation has recently gained a port for the common channel
management messages, but BSC_Tests was not updated with this port,
resulting in RSL_Emulation enqueuing messages to the port which then
creates dynamic test case failures.

Let's simply connect to the port, even though we currently are not
interested in any of the messages received there (mainly
RSL_MT_BCCH_INFO during startup).

Change-Id: Id8a3c4409599783ca4cd0b49f2570bcb3bb34952
This commit is contained in:
Harald Welte 2018-02-23 18:56:29 +01:00
parent 8c04b0aa32
commit 89ab1914e4
1 changed files with 3 additions and 0 deletions

View File

@ -63,6 +63,8 @@ type record BTS_State {
type component test_CT extends CTRL_Adapter_CT {
/* Array of per-BTS state */
var BTS_State bts[NUM_BTS];
/* RSL common Channel Port (for RSL_Emulation) */
port RSL_CCHAN_PT RSL_CCHAN[NUM_BTS];
/* array of per-BTS RSL test ports */
port IPA_RSL_PT IPA_RSL[NUM_BTS];
port IPA_CODEC_PT IPA; /* Required for compilation of TC_rsl_unknown_unit_id() */
@ -154,6 +156,7 @@ runs on test_CT {
clnt.ccm_pars.unit_id := int2str(1234+i) & "/0/0";
if (handler_mode) {
clnt.vc_RSL := RSL_Emulation_CT.create(clnt.id & "-RSL");
connect(clnt.vc_RSL:CCHAN_PT, self:RSL_CCHAN[i]);
}
map(clnt.vc_IPA:IPA_PORT, system:IPA_CODEC_PT);