Change in osmo-ttcn3-hacks[master]: fix build of bsc bsc-nat, hlr, and msc tests

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

Stefan Sperling gerrit-no-reply at lists.osmocom.org
Fri Oct 12 15:44:41 UTC 2018


Stefan Sperling has uploaded this change for review. ( https://gerrit.osmocom.org/11333


Change subject: fix build of bsc bsc-nat, hlr, and msc tests
......................................................................

fix build of bsc bsc-nat, hlr, and msc tests

For some reason I missed build failures which were caused
by my recent MobileIdentityLV type name change.

With this commit, I can compile bsc, bsc-nat, hlr, and msc
tests again.

Change-Id: I72c369ccd9df88970a69c6dfb5d5255d14fe6aa8
Fixes: 59c15d67cabbd95dcbbb50c968cbe600f4462f64
---
M bsc-nat/gen_links.sh
M hlr/gen_links.sh
M library/L3_Templates.ttcn
M msc/gen_links.sh
4 files changed, 5 insertions(+), 2 deletions(-)



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

diff --git a/bsc-nat/gen_links.sh b/bsc-nat/gen_links.sh
index 453d8ca..15fff9b 100755
--- a/bsc-nat/gen_links.sh
+++ b/bsc-nat/gen_links.sh
@@ -47,7 +47,7 @@
 gen_links $DIR $FILES
 
 DIR=../library
-FILES="General_Types.ttcn Osmocom_Types.ttcn GSM_Types.ttcn IPA_Types.ttcn IPA_CodecPort.ttcn IPA_CodecPort_CtrlFunct.ttcn IPA_CodecPort_CtrlFunctDef.cc IPA_Emulation.ttcnpp L3_Templates.ttcn BSSMAP_Templates.ttcn BSSMAP_Emulation.ttcn MGCP_Types.ttcn MGCP_Templates.ttcn MGCP_CodecPort.ttcn MGCP_CodecPort_CtrlFunct.ttcn MGCP_CodecPort_CtrlFunctDef.cc Osmocom_CTRL_Types.ttcn Osmocom_CTRL_Functions.ttcn BSSAP_CodecPort.ttcn"
+FILES="General_Types.ttcn Osmocom_Types.ttcn GSM_Types.ttcn IPA_Types.ttcn IPA_CodecPort.ttcn IPA_CodecPort_CtrlFunct.ttcn IPA_CodecPort_CtrlFunctDef.cc IPA_Emulation.ttcnpp L3_Templates.ttcn BSSMAP_Templates.ttcn BSSMAP_Emulation.ttcn MGCP_Types.ttcn MGCP_Templates.ttcn MGCP_CodecPort.ttcn MGCP_CodecPort_CtrlFunct.ttcn MGCP_CodecPort_CtrlFunctDef.cc Osmocom_CTRL_Types.ttcn Osmocom_CTRL_Functions.ttcn BSSAP_CodecPort.ttcn RLCMAC_CSN1_Types.ttcn"
 gen_links $DIR $FILES
 
 ignore_pp_results
diff --git a/hlr/gen_links.sh b/hlr/gen_links.sh
index f9e80c5..ed67881 100755
--- a/hlr/gen_links.sh
+++ b/hlr/gen_links.sh
@@ -40,6 +40,7 @@
 FILES+="Osmocom_CTRL_Types.ttcn Osmocom_CTRL_Functions.ttcn Osmocom_CTRL_Adapter.ttcn "
 FILES+="Osmocom_VTY_Functions.ttcn "
 FILES+="SS_Templates.ttcn USSD_Helpers.ttcn "
+FILES+="RLCMAC_CSN1_Types.ttcn"
 
 
 gen_links $DIR $FILES
diff --git a/library/L3_Templates.ttcn b/library/L3_Templates.ttcn
index a05aba2..e2657f0 100644
--- a/library/L3_Templates.ttcn
+++ b/library/L3_Templates.ttcn
@@ -18,6 +18,7 @@
 import from MobileL3_CC_Types all;
 import from MobileL3_GMM_SM_Types all;
 import from MobileL3_SMS_Types all;
+import from RLCMAC_CSN1_Types all;
 
 /* TS 24.007 Table 11.3 TI Flag */
 const BIT1 c_TIF_ORIG := '0'B;
@@ -283,7 +284,7 @@
 	}
 }
 
-template PDU_ML3_NW_MS tr_PAGING_REQ1(template MobileIdentityLV mi1 := ?,
+template PDU_ML3_NW_MS tr_PAGING_REQ1(template MobileIdentityLV_Paging mi1 := ?,
 				      template MobileIdentityTLV mi2 := *) := {
 	discriminator := '0110'B,
 	tiOrSkip := {
diff --git a/msc/gen_links.sh b/msc/gen_links.sh
index df646d9..c5a1222 100755
--- a/msc/gen_links.sh
+++ b/msc/gen_links.sh
@@ -95,6 +95,7 @@
 FILES+="SMPP_CodecPort.ttcn SMPP_CodecPort_CtrlFunct.ttcn SMPP_CodecPort_CtrlFunctDef.cc SMPP_Emulation.ttcn SMPP_Templates.ttcn "
 FILES+="SS_Templates.ttcn SCCP_Templates.ttcn USSD_Helpers.ttcn "
 FILES+="SGsAP_Templates.ttcn "
+FILES+="RLCMAC_CSN1_Types.ttcn"
 gen_links $DIR $FILES
 
 ignore_pp_results

-- 
To view, visit https://gerrit.osmocom.org/11333
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I72c369ccd9df88970a69c6dfb5d5255d14fe6aa8
Gerrit-Change-Number: 11333
Gerrit-PatchSet: 1
Gerrit-Owner: Stefan Sperling <ssperling at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181012/8c98f651/attachment.htm>


More information about the gerrit-log mailing list