aboutsummaryrefslogtreecommitdiffstats
path: root/ggsn_tests
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-08-19 15:17:14 +0200
committerHarald Welte <laforge@gnumonks.org>2017-08-19 15:18:13 +0200
commit8b4123f67fd1487ed4fa7621bad80227333a16f6 (patch)
tree275d507249edefff26693a8774d40e720c6cea4c /ggsn_tests
parent303c19ad631884e632f4f768eed96f7d8718db30 (diff)
GGSN_Tests: Enable junit-xml generation
Diffstat (limited to 'ggsn_tests')
-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 07f0b434..a7f4681f 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 dd98dcca..f9c1bcfd 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 00000000..ccca4458
--- /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