diff --git a/bsc-nat/gen_links.sh b/bsc-nat/gen_links.sh index 946fbafea..77c9563f3 100755 --- a/bsc-nat/gen_links.sh +++ b/bsc-nat/gen_links.sh @@ -50,3 +50,5 @@ 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" gen_links $DIR $FILES + +ignore_pp_results diff --git a/bsc/gen_links.sh b/bsc/gen_links.sh index 50d732981..ee55c3e09 100755 --- a/bsc/gen_links.sh +++ b/bsc/gen_links.sh @@ -75,3 +75,5 @@ gen_links $DIR $FILES DIR=../library FILES="General_Types.ttcn Osmocom_Types.ttcn GSM_Types.ttcn Osmocom_VTY_Functions.ttcn Native_Functions.ttcn Native_FunctionDefs.cc 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 RLCMAC_CSN1_Types.ttcn GSM_RR_Types.ttcn RSL_Types.ttcn RSL_Emulation.ttcn MGCP_Emulation.ttcn MGCP_Types.ttcn MGCP_Templates.ttcn MGCP_CodecPort.ttcn MGCP_CodecPort_CtrlFunct.ttcn MGCP_CodecPort_CtrlFunctDef.cc BSSAP_CodecPort.ttcn BSSAP_Adapter.ttcn Osmocom_CTRL_Types.ttcn Osmocom_CTRL_Functions.ttcn Osmocom_CTRL_Adapter.ttcn RTP_CodecPort.ttcn RTP_CodecPort_CtrlFunct.ttcn RTP_CodecPort_CtrlFunctDef.cc RTP_Emulation.ttcn IuUP_Types.ttcn IuUP_EncDec.cc IuUP_Emulation.ttcn " gen_links $DIR $FILES + +ignore_pp_results diff --git a/bts/gen_links.sh b/bts/gen_links.sh index b2b7e920d..b6c4e12d8 100755 --- a/bts/gen_links.sh +++ b/bts/gen_links.sh @@ -43,3 +43,5 @@ FILES+="Native_Functions.ttcn Native_FunctionDefs.cc " FILES+="TRXC_Types.ttcn TRXC_CodecPort.ttcn TRXC_CodecPort_CtrlFunct.ttcn TRXC_CodecPort_CtrlFunctDef.cc " FILES+="PCUIF_Types.ttcn PCUIF_CodecPort.ttcn " gen_links $DIR $FILES + +ignore_pp_results diff --git a/gen_links.sh.inc b/gen_links.sh.inc index aba8ca167..8a87359bd 100644 --- a/gen_links.sh.inc +++ b/gen_links.sh.inc @@ -19,3 +19,10 @@ gen_links() { gen_link "$DIR/$f" "$f" done } + +ignore_pp_results() { + for pp in *.ttcnpp; do + ttcn_file="$(echo $pp | sed 's/pp$//')" + echo "$ttcn_file" >> .gitignore + done +} diff --git a/ggsn_tests/gen_links.sh b/ggsn_tests/gen_links.sh index 25990d36a..6ef52e175 100755 --- a/ggsn_tests/gen_links.sh +++ b/ggsn_tests/gen_links.sh @@ -44,3 +44,5 @@ DIR=../library FILES="General_Types.ttcn GSM_Types.ttcn Osmocom_Types.ttcn Native_Functions.ttcn Native_FunctionDefs.cc IPCP_Types.ttcn " FILES+="GTP_CodecPort.ttcn GTP_CodecPort_CtrlFunct.ttcn GTP_CodecPort_CtrlFunctDef.cc GTP_Templates.ttcn " gen_links $DIR $FILES + +ignore_pp_results diff --git a/hlr/gen_links.sh b/hlr/gen_links.sh index 391ef7387..c265eb80d 100755 --- a/hlr/gen_links.sh +++ b/hlr/gen_links.sh @@ -27,3 +27,5 @@ FILES+="Osmocom_CTRL_Types.ttcn Osmocom_CTRL_Functions.ttcn Osmocom_CTRL_Adapter FILES+="Osmocom_VTY_Functions.ttcn " gen_links $DIR $FILES + +ignore_pp_results diff --git a/lapdm/gen_links.sh b/lapdm/gen_links.sh index 83c66992b..6236edd09 100755 --- a/lapdm/gen_links.sh +++ b/lapdm/gen_links.sh @@ -16,3 +16,5 @@ gen_links $DIR $FILES DIR=../library FILES="General_Types.ttcn GSM_Types.ttcn GSM_RR_Types.ttcn RLCMAC_CSN1_Types.ttcn Osmocom_Types.ttcn L1CTL_PortType.ttcn L1CTL_PortType_CtrlFunct.ttcn L1CTL_PortType_CtrlFunctDef.cc L1CTL_Types.ttcn LAPDm_RAW_PT.ttcn LAPDm_Types.ttcn RLCMAC_Types.ttcn RLCMAC_EncDec.cc" gen_links $DIR $FILES + +ignore_pp_results diff --git a/mgw/gen_links.sh b/mgw/gen_links.sh index 445be50d9..d3071486e 100755 --- a/mgw/gen_links.sh +++ b/mgw/gen_links.sh @@ -32,3 +32,5 @@ gen_links $DIR $FILES DIR=../library FILES="General_Types.ttcn Osmocom_Types.ttcn MGCP_Types.ttcn MGCP_Templates.ttcn MGCP_CodecPort.ttcn MGCP_CodecPort_CtrlFunct.ttcn MGCP_CodecPort_CtrlFunctDef.cc RTP_CodecPort.ttcn" gen_links $DIR $FILES + +ignore_pp_results diff --git a/msc/gen_links.sh b/msc/gen_links.sh index fe0915501..a7144a69f 100755 --- a/msc/gen_links.sh +++ b/msc/gen_links.sh @@ -75,3 +75,5 @@ FILES+="BSSMAP_Emulation.ttcn BSSAP_CodecPort.ttcn BSSMAP_Templates.ttcn BSSAP_A FILES+="RTP_CodecPort.ttcn RTP_CodecPort_CtrlFunctDef.cc " FILES+="MGCP_CodecPort.ttcn MGCP_CodecPort_CtrlFunctDef.cc " gen_links $DIR $FILES + +ignore_pp_results diff --git a/pcu/gen_links.sh b/pcu/gen_links.sh index 485298185..06ed6069a 100755 --- a/pcu/gen_links.sh +++ b/pcu/gen_links.sh @@ -51,3 +51,5 @@ FILES+="NS_Emulation.ttcn NS_CodecPort.ttcn NS_CodecPort_CtrlFunct.ttcn NS_Codec FILES+="BSSGP_Emulation.ttcn Osmocom_Gb_Types.ttcn " FILES+="LLC_Templates.ttcn L3_Templates.ttcn L3_Common.ttcn " gen_links $DIR $FILES + +ignore_pp_results diff --git a/selftest/gen_links.sh b/selftest/gen_links.sh index 2a98aafb0..b5e86cb84 100755 --- a/selftest/gen_links.sh +++ b/selftest/gen_links.sh @@ -42,3 +42,5 @@ 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 RLCMAC_CSN1_Types.ttcn GSM_RR_Types.ttcn RSL_Types.ttcn BSSAP_CodecPort.ttcn Osmocom_CTRL_Types.ttcn Osmocom_CTRL_Functions.ttcn GSUP_Types.ttcn" gen_links $DIR $FILES + +ignore_pp_results diff --git a/sgsn/gen_links.sh b/sgsn/gen_links.sh index c3c6add6f..1c3fb1d52 100755 --- a/sgsn/gen_links.sh +++ b/sgsn/gen_links.sh @@ -65,3 +65,5 @@ FILES+="IPA_Types.ttcn IPA_Emulation.ttcnpp IPA_CodecPort.ttcn IPA_CodecPort_Ctr FILES+="GTP_CodecPort.ttcn GTP_CodecPort_CtrlFunct.ttcn GTP_CodecPort_CtrlFunctDef.cc GTP_Emulation.ttcn GTP_Templates.ttcn IPCP_Types.ttcn " gen_links $DIR $FILES + +ignore_pp_results diff --git a/sysinfo/gen_links.sh b/sysinfo/gen_links.sh index ad7891ab8..314b3b102 100755 --- a/sysinfo/gen_links.sh +++ b/sysinfo/gen_links.sh @@ -24,3 +24,4 @@ DIR=../library FILES="GSMTAP_PortType.ttcn GSMTAP_Types.ttcn GSM_SystemInformation.ttcn GSM_RR_Types.ttcn RLCMAC_CSN1_Types.ttcn GSM_Types.ttcn IPL4_GSMTAP_CtrlFunct.ttcn IPL4_GSMTAP_CtrlFunctDef.cc Osmocom_Types.ttcn General_Types.ttcn Osmocom_VTY_Functions.ttcn" gen_links $DIR $FILES +ignore_pp_results