Change in ...osmo-ttcn3-hacks[master]: CBSP: Hack to make receive templates work

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

laforge gerrit-no-reply at lists.osmocom.org
Thu Sep 5 09:21:43 UTC 2019


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


Change subject: CBSP: Hack to make receive templates work
......................................................................

CBSP: Hack to make receive templates work

For some reason, the 'ifpresent' annotation doesn't work in lists
of templates.  This means we have to re-think the CBSP template
structure at some point.  However, this would be a significant detour
and I'd rather have working tests right now, so we can verify the
actual functionality merged into the BSC right now.

Change-Id: I3fa174b4352c17feaea4d33f773877104d4913c4
---
M library/CBSP_Templates.ttcn
1 file changed, 5 insertions(+), 5 deletions(-)



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

diff --git a/library/CBSP_Templates.ttcn b/library/CBSP_Templates.ttcn
index 3c60f14..86eaf69 100644
--- a/library/CBSP_Templates.ttcn
+++ b/library/CBSP_Templates.ttcn
@@ -454,7 +454,7 @@
 		tr_CbspFailList(fail_list)
 	};
 	if (istemplatekind(compl_list, "*")) {
-		ies[lengthof(ies)] := tr_CbspNumComplList ifpresent;
+		//ies[lengthof(ies)] := tr_CbspNumComplList ifpresent;
 	} else if (istemplatekind(compl_list, "?")) {
 		ies[lengthof(ies)] := tr_CbspNumComplList(?);
 	} else if (not istemplatekind(compl_list, "omit")) {
@@ -507,14 +507,14 @@
 		tr_CbspFailList(fail_list)
 	};
 	if (istemplatekind(compl_list, "*")) {
-		ies[lengthof(ies)] := tr_CbspCellList ifpresent;
+		//ies[lengthof(ies)] := tr_CbspCellList ifpresent;
 	} else if (istemplatekind(compl_list, "?")) {
 		ies[lengthof(ies)] := tr_CbspNumComplList(?);
 	} else if (not istemplatekind(compl_list, "omit")) {
 		ies[lengthof(ies)] := tr_CbspNumComplList(compl_list);
 	}
 	if (istemplatekind(cell_list, "*")) {
-		ies[lengthof(ies)] := tr_CbspCellList ifpresent;
+		//ies[lengthof(ies)] := tr_CbspCellList ifpresent;
 	} else if (istemplatekind(cell_list, "?")) {
 		ies[lengthof(ies)] := tr_CbspCellList(?);
 	} else if (not istemplatekind(cell_list, "omit")) {
@@ -626,12 +626,12 @@
 		tr_CbspFailList(fail_list)
 	};
 	if (istemplatekind(compl_list, "*")) {
-		ies[lengthof(ies)] := tr_CbspNumComplList ifpresent;
+		//ies[lengthof(ies)] := tr_CbspNumComplList ifpresent;
 	} else if (not istemplatekind(compl_list, "omit")) {
 		ies[lengthof(ies)] := tr_CbspNumComplList(compl_list);
 	}
 	if (istemplatekind(compl_list, "*")) {
-		ies[lengthof(ies)] := tr_CbspCellList ifpresent;
+		//ies[lengthof(ies)] := tr_CbspCellList ifpresent;
 	} else if (not istemplatekind(cell_list, "omit")) {
 		ies[lengthof(ies)] := tr_CbspCellList(cell_list);
 	}

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/15412
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: I3fa174b4352c17feaea4d33f773877104d4913c4
Gerrit-Change-Number: 15412
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at gnumonks.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190905/962ff84b/attachment.htm>


More information about the gerrit-log mailing list