summaryrefslogtreecommitdiffstats
path: root/sgsn
diff options
context:
space:
mode:
Diffstat (limited to 'sgsn')
-rw-r--r--sgsn/SGSN_Tests.default6
-rw-r--r--sgsn/SGSN_Tests.ttcn8
2 files changed, 10 insertions, 4 deletions
diff --git a/sgsn/SGSN_Tests.default b/sgsn/SGSN_Tests.default
index 256c9c9..6d120fb 100644
--- a/sgsn/SGSN_Tests.default
+++ b/sgsn/SGSN_Tests.default
@@ -1,5 +1,11 @@
[LOGGING]
+FileMask := LOG_ALL | TTCN_MATCHING;
+
"IPA-CTRL-IPA".FileMask := ERROR | WARNING;
+"SGSN_Test-GSUP-IPA".FileMask := ERROR | WARNING;
+"SGSN_Test-Gb0-NS".FileMask := ERROR | WARNING;
+"SGSN_Test-Gb0-BSSGP".FileMask := ERROR | WARNING;
+"SGSN_Test-GSUP".FileMask := ERROR | WARNING;
[TESTPORT_PARAMETERS]
*.SGSNVTY.CTRL_MODE := "client"
diff --git a/sgsn/SGSN_Tests.ttcn b/sgsn/SGSN_Tests.ttcn
index a381692..a02d3a9 100644
--- a/sgsn/SGSN_Tests.ttcn
+++ b/sgsn/SGSN_Tests.ttcn
@@ -92,9 +92,9 @@ type record BSSGP_ConnHdlrPars {
float t_guard
};
-private function f_init_gb(inout GbInstance gb) runs on test_CT {
- gb.vc_NS := NS_CT.create;
- gb.vc_BSSGP := BSSGP_CT.create;
+private function f_init_gb(inout GbInstance gb, charstring id) runs on test_CT {
+ gb.vc_NS := NS_CT.create(id & "-NS");
+ gb.vc_BSSGP := BSSGP_CT.create(id & "-BSSGP");
/* connect lower end of BSSGP emulation with NS upper port */
connect(gb.vc_BSSGP:BSCP, gb.vc_NS:NS_SP);
/* connect lower end of NS emulation to NS codec port (on top of IPL4) */
@@ -175,7 +175,7 @@ function f_init() runs on test_CT {
sgsn_role := false
};
- f_init_gb(g_gb[0]);
+ f_init_gb(g_gb[0], "SGSN_Test-Gb0");
f_init_gsup("SGSN_Test");
f_init_gtp("SGSN_Test");
f_init_vty();