Change in osmo-ttcn3-hacks[master]: BTS_Tests: accept optional TestSpecUnion in t_Pars

fixeria gerrit-no-reply at lists.osmocom.org
Tue Jun 1 02:17:24 UTC 2021


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/24475 )


Change subject: BTS_Tests: accept optional TestSpecUnion in t_Pars
......................................................................

BTS_Tests: accept optional TestSpecUnion in t_Pars

Change-Id: I75462c3d30544bb87b578f2627b304cce57393e5
Related: SYS#4895, OS#4941
---
M bts/BTS_Tests.ttcn
1 file changed, 4 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/75/24475/1

diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index eff1277..8874d85 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -769,8 +769,9 @@
 }
 
 friend template ConnHdlrPars t_Pars(template RslChannelNr chan_nr,
-					template RSL_IE_ChannelMode chan_mode,
-					float t_guard := 20.0) := {
+				    template RSL_IE_ChannelMode chan_mode,
+				    template (omit) TestSpecUnion spec := omit,
+				    float t_guard := 20.0) := {
 	chan_nr := valueof(chan_nr),
 	chan_mode := valueof(chan_mode),
 	t_guard := t_guard,
@@ -794,7 +795,7 @@
 		ms_actual_ta := mp_ms_actual_ta_exp,
 		facch_enabled := false
 	},
-	spec := omit,
+	spec := spec,
 	encr := omit,
 	bts0_band := omit,
 	tsc := mp_tsc_def,

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/24475
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: I75462c3d30544bb87b578f2627b304cce57393e5
Gerrit-Change-Number: 24475
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210601/a8536648/attachment.htm>


More information about the gerrit-log mailing list