<p>daniel has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/11500">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">bsc: Use f_gen_test_hdlr_pars() to be aware of AoIP/sccplite<br><br>Some TC_no_out_fail_* testcases still used valueof() to get g_pars which<br>always set aoip to true.<br><br>Use f_gen_test_hdlr_pars() now so these tests can properly detect if<br>they are run with sccplite of aoip and can adjust their expectations<br>accordingly.<br><br>Change-Id: Ic164827d63c9f5452888951bba4c197c3fe6f57b<br>---<br>M bsc/BSC_Tests.ttcn<br>1 file changed, 3 insertions(+), 3 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/00/11500/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn</span><br><span>index fef5fd7..ae855bd 100644</span><br><span>--- a/bsc/BSC_Tests.ttcn</span><br><span>+++ b/bsc/BSC_Tests.ttcn</span><br><span>@@ -2277,7 +2277,7 @@</span><br><span> /* BSC asks for inter-BSC HO, but the MSC decides that it won't happen and</span><br><span>  * simply never sends a BSSMAP Handover Command. */</span><br><span> private function f_tc_ho_out_fail_no_msc_response(charstring id) runs on MSC_ConnHdlr {</span><br><span style="color: hsl(0, 100%, 40%);">-        g_pars := valueof(t_def_TestHdlrPars);</span><br><span style="color: hsl(120, 100%, 40%);">+        g_pars := f_gen_test_hdlr_pars();</span><br><span> </span><br><span>        var PDU_BSSAP ass_req := f_gen_ass_req();</span><br><span>    ass_req.pdu.bssmap.assignmentRequest.channelType := valueof(ts_BSSMAP_IE_ChannelType);</span><br><span>@@ -2323,7 +2323,7 @@</span><br><span> /* BSC asks for inter-BSC HO, receives BSSMAP Handover Command, but MS reports</span><br><span>  * RR Handover Failure. */</span><br><span> private function f_tc_ho_out_fail_rr_ho_failure(charstring id) runs on MSC_ConnHdlr {</span><br><span style="color: hsl(0, 100%, 40%);">- g_pars := valueof(t_def_TestHdlrPars);</span><br><span style="color: hsl(120, 100%, 40%);">+        g_pars := f_gen_test_hdlr_pars();</span><br><span> </span><br><span>        var PDU_BSSAP ass_req := f_gen_ass_req();</span><br><span>    ass_req.pdu.bssmap.assignmentRequest.channelType := valueof(ts_BSSMAP_IE_ChannelType);</span><br><span>@@ -2406,7 +2406,7 @@</span><br><span> /* BSC asks for inter-BSC HO, receives BSSMAP Handover Command, but MS reports</span><br><span>  * RR Handover Failure. */</span><br><span> private function f_tc_ho_out_fail_no_ho_detect(charstring id) runs on MSC_ConnHdlr {</span><br><span style="color: hsl(0, 100%, 40%);">-  g_pars := valueof(t_def_TestHdlrPars);</span><br><span style="color: hsl(120, 100%, 40%);">+        g_pars := f_gen_test_hdlr_pars();</span><br><span> </span><br><span>        var PDU_BSSAP ass_req := f_gen_ass_req();</span><br><span>    ass_req.pdu.bssmap.assignmentRequest.channelType := valueof(ts_BSSMAP_IE_ChannelType);</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/11500">change 11500</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/11500"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ttcn3-hacks </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Ic164827d63c9f5452888951bba4c197c3fe6f57b </div>
<div style="display:none"> Gerrit-Change-Number: 11500 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: daniel <dwillmann@sysmocom.de> </div>