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

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/.

fixeria gerrit-no-reply at lists.osmocom.org
Tue Jun 1 14:34:37 UTC 2021


fixeria has submitted this change. ( 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(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved



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-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
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/20210601/e6a49bc6/attachment.htm>


More information about the gerrit-log mailing list