summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ggsn_tests/GGSN_Tests.cfg5
-rwxr-xr-xggsn_tests/regen_makefile.sh4
-rwxr-xr-xggsn_tests/start.sh2
3 files changed, 9 insertions, 2 deletions
diff --git a/ggsn_tests/GGSN_Tests.cfg b/ggsn_tests/GGSN_Tests.cfg
index 07f0b43..a7f4681 100644
--- a/ggsn_tests/GGSN_Tests.cfg
+++ b/ggsn_tests/GGSN_Tests.cfg
@@ -1,6 +1,11 @@
[LOGGING]
ConsoleMask := DEBUG | LOG_ALL | MATCHING | DEBUG_TESTPORT
+LoggerPlugins := { JUnitLogger := "libjunitlogger2" }
+#*.JUnitLogger.filename_stem := "MyJunitLogFile"
+*.JUnitLogger.testsuite_name := "osmo-ttcn3-hacks/ggsn_tests"
+
+
[TESTPORT_PARAMETERS]
*.*.lazy_conn_id_handling := "YES"
system.*.lazy_conn_id_handling := "YES"
diff --git a/ggsn_tests/regen_makefile.sh b/ggsn_tests/regen_makefile.sh
index dd98dcc..f9c1bcf 100755
--- a/ggsn_tests/regen_makefile.sh
+++ b/ggsn_tests/regen_makefile.sh
@@ -2,8 +2,8 @@
FILES="*.ttcn IPL4asp_PT.cc IPL4asp_discovery.cc TCCConversion.cc TCCInterface.cc GTPC_EncDec.cc GTPU_EncDec.cc GTP_CodecPort_CtrlFunctDef.cc ICMPv6_EncDec.cc IP_EncDec.cc Native_FunctionDefs.cc"
-ttcn3_makefilegen -f GGSN_Tests.ttcn $FILES
+ttcn3_makefilegen -l -f GGSN_Tests.ttcn $FILES
sed -i -e 's/# TTCN3_DIR = /TTCN3_DIR = \/usr/' Makefile
-sed -i -e 's/LDFLAGS = /LDFLAGS = -L \/usr\/lib\/titan/' Makefile
+sed -i -e 's/LDFLAGS = /LDFLAGS = -L \/usr\/lib\/titan /' Makefile
#sed -i -e 's/TTCN3_LIB = ttcn3-parallel/TTCN3_LIB = ttcn3/' Makefile
sed -i -e 's/CPPFLAGS = -D$(PLATFORM) -I$(TTCN3_DIR)\/include/CPPFLAGS = -D$(PLATFORM) -I$(TTCN3_DIR)\/include -I\/usr\/include\/titan/' Makefile
diff --git a/ggsn_tests/start.sh b/ggsn_tests/start.sh
new file mode 100755
index 0000000..ccca445
--- /dev/null
+++ b/ggsn_tests/start.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+LD_LIBRARY_PATH=.:/usr/lib/titan ttcn3_start GGSN_Tests ./GGSN_Tests.cfg