GGSN_Tests: Enable junit-xml generation
This commit is contained in:
parent
303c19ad63
commit
8b4123f67f
|
@ -1,6 +1,11 @@
|
||||||
[LOGGING]
|
[LOGGING]
|
||||||
ConsoleMask := DEBUG | LOG_ALL | MATCHING | DEBUG_TESTPORT
|
ConsoleMask := DEBUG | LOG_ALL | MATCHING | DEBUG_TESTPORT
|
||||||
|
|
||||||
|
LoggerPlugins := { JUnitLogger := "libjunitlogger2" }
|
||||||
|
#*.JUnitLogger.filename_stem := "MyJunitLogFile"
|
||||||
|
*.JUnitLogger.testsuite_name := "osmo-ttcn3-hacks/ggsn_tests"
|
||||||
|
|
||||||
|
|
||||||
[TESTPORT_PARAMETERS]
|
[TESTPORT_PARAMETERS]
|
||||||
*.*.lazy_conn_id_handling := "YES"
|
*.*.lazy_conn_id_handling := "YES"
|
||||||
system.*.lazy_conn_id_handling := "YES"
|
system.*.lazy_conn_id_handling := "YES"
|
||||||
|
|
|
@ -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"
|
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/# 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/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
|
sed -i -e 's/CPPFLAGS = -D$(PLATFORM) -I$(TTCN3_DIR)\/include/CPPFLAGS = -D$(PLATFORM) -I$(TTCN3_DIR)\/include -I\/usr\/include\/titan/' Makefile
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
LD_LIBRARY_PATH=.:/usr/lib/titan ttcn3_start GGSN_Tests ./GGSN_Tests.cfg
|
Loading…
Reference in New Issue