From e057146df7b16f34bf7fd59510e692cb9691f85b Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Wed, 14 Feb 2018 15:42:14 +0100 Subject: re-organize configuration files; add tcpdump integration Let's make sure we share common configuration between the test suites and split the config file into a "default" part which is used (but not copied) in the Docker images, and a "local" part which is basically those overrides that the user (or docker image) wants to do from the default. Change-Id: I3db452e24e5238aa05254d903739c64d202e61db --- Common.cfg | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Common.cfg (limited to 'Common.cfg') diff --git a/Common.cfg b/Common.cfg new file mode 100644 index 00000000..4a504204 --- /dev/null +++ b/Common.cfg @@ -0,0 +1,17 @@ +# common config file, relevant to all projects + +[DEFINE] +TTCN3_HACKS_PATH := ".." +TCPDUMP_START := $TTCN3_HACKS_PATH"/ttcn3-tcpdump-start.sh" +TCPDUMP_STOP := $TTCN3_HACKS_PATH"/ttcn3-tcpdump-stop.sh" + +[LOGGING] +SourceInfoFormat := Single; +LogSourceInfo := Yes; +LoggerPlugins := { JUnitLogger := "libjunitlogger2" } +#FileMask := LOG_ALL | TTCN_DEBUG | TTCN_MATCHING | DEBUG_ENCDEC; +#ConsoleMask := ERROR | WARNING | TESTCASE | TTCN_MATCHING | DEBUG_ENCDEC + +[EXTERNAL_COMMANDS] +BeginTestCase := $TCPDUMP_START +EndTestCase := $TCPDUMP_STOP -- cgit v1.2.3