summaryrefslogtreecommitdiffstats
path: root/selftest/Selftest.ttcn
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-02-20 15:49:30 +0100
committerHarald Welte <laforge@gnumonks.org>2018-02-20 16:17:17 +0100
commitdf277258f1d5fbf8ce80c2748c4fb0783359790f (patch)
treeffcde8d196de3de575c8e4a5ccc9d59a17cab587 /selftest/Selftest.ttcn
parent9abd1289ec612e7c2f32b1110da3901a3135c8c0 (diff)
IPA_Emulation: Make dependencies to RSL/MGCP/SCCP/GSUP conditional
Let's use the preprocessor to avoid IPA_Emulation pulling *all* dependencies into each and any of our projects. The code readability suffers a bit from the many #ifdefs, but compilation speed increases if we don't have to pull in all those (recursive) dependencies. After all, a BTS test case will never need SCCP, GSUP or MGCP. Change-Id: Ic0231adbd2171214de133d26b3fbf36130ee8aa0
Diffstat (limited to 'selftest/Selftest.ttcn')
-rw-r--r--selftest/Selftest.ttcn5
1 files changed, 0 insertions, 5 deletions
diff --git a/selftest/Selftest.ttcn b/selftest/Selftest.ttcn
index 1c340b7..1ff17fe 100644
--- a/selftest/Selftest.ttcn
+++ b/selftest/Selftest.ttcn
@@ -5,7 +5,6 @@ import from Osmocom_Types all;
import from GSM_Types all;
import from IPL4asp_Types all;
import from IPL4asp_PortType all;
-import from MTP3asp_PortType all;
import from BSSAP_Types all;
//import from BSSAP_Adapter all;
@@ -25,8 +24,6 @@ import from GSM_RR_Types all;
type component IPA_selftest_CT {
/* upper end of IPA_Emulation */
- port MTP3asp_PT IPA_MTP3;
- port IPA_MGCP_PT IPA_MGCP;
port IPA_RSL_PT IPA_RSL;
port IPA_CTRL_PT IPA_CTRL;
port IPA_SP_PT IPA_SP;
@@ -42,10 +39,8 @@ type component IPA_selftest_CT {
function f_ipa_srv_init() runs on IPA_selftest_CT {
vc_IPA := IPA_Emulation_CT.create("IPA_Emulation");
map(vc_IPA:IPA_PORT, system: IPA_CODEC_PT);
- connect(vc_IPA:IPA_MGCP_PORT, self:IPA_MGCP);
connect(vc_IPA:IPA_RSL_PORT, self:IPA_RSL);
connect(vc_IPA:IPA_CTRL_PORT, self:IPA_CTRL);
- connect(vc_IPA:MTP3_SP_PORT, self:IPA_MTP3);
vc_IPA.start(IPA_Emulation.main_server("127.0.0.1", 55555));
}