--- /dev/null
+##############################################################################
+# Copyright (c) 2000-2016 Ericsson Telecom AB
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# Balasko, Jeno
+# Lovassy, Arpad
+#
+##############################################################################
+TOPDIR := ..
+include $(TOPDIR)/Makefile.regression
+
+.SUFFIXES: .ttcn .hh
+.PHONY: all clean dep run
+
+# Execution mode: (either ttcn3 or ttcn3-parallel)
+TTCN3_LIB = ttcn3$(RT2_SUFFIX)-parallel-dynamic
+
+TTCN3_MODULES = main1.ttcn
+
+GENERATED_SOURCES = $(TTCN3_MODULES:.ttcn=.cc)
+GENERATED_HEADERS = $(GENERATED_SOURCES:.cc=.hh)
+ifdef CODE_SPLIT
+GENERATED_SOURCES := $(foreach file, $(GENERATED_SOURCES:.cc=), $(addprefix $(file), .cc _seq.cc _set.cc _seqof.cc _setof.cc _union.cc))
+endif
+
+OBJECTS = $(GENERATED_SOURCES:.cc=.o)
+
+TARGET = main1$(EXESUFFIX)
+
+all: $(TARGET)
+
+$(TARGET): $(GENERATED_SOURCES) $(USER_SOURCES)
+ $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $^ -L$(TTCN3_DIR)/lib -l$(TTCN3_LIB) -L$(OPENSSL_DIR)/lib -lcrypto $($(PLATFORM)_LIBS)
+
+.ttcn.cc .ttcn.hh:
+ $(TTCN3_COMPILER) $<
+
+clean distclean:
+ -rm -f $(TARGET) $(OBJECTS) $(GENERATED_HEADERS) \
+ $(GENERATED_SOURCES) *.log Makefile.bak
+
+dep: $(GENERATED_SOURCES)
+ makedepend $(CPPFLAGS) $(GENERATED_SOURCES)
+
+run: $(TARGET)
+ ./test_ctflog.sh
+
+.NOTPARALLEL:
--- /dev/null
+###############################################################################
+# Copyright (c) 2000-2016 Ericsson Telecom AB
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# Balasko, Jeno
+# Lovassy, Arpad
+# Proulx, Philippe
+#
+###############################################################################
+[MODULE_PARAMETERS]
+#N := 10000
+#main1.tsp_N := 10000
+
+[LOGGING]
+LogFile := "logs/%e.%h-%r.%s"
+FileMask := LOG_ALL
+LogSourceInfo := Yes
+SourceInfoFormat := Stack
+AppendFile := No
+
+TimeStampFormat := DateTime
+LogEventTypes := Yes
+LoggerPlugins := { LTTngUSTLogger := "liblttng-ust-logger" }
+
+[EXECUTE]
+main1.control
--- /dev/null
+/******************************************************************************
+ * Copyright (c) 2000-2016 Ericsson Telecom AB
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Balasko, Jeno
+ * Lovassy, Arpad
+ *
+ ******************************************************************************/
+ module main1 {
+
+modulepar integer tsp_N := 1
+type component CT {}
+
+testcase tc_pass(integer pl_i) runs on CT {
+ log("HelloTitan!");
+ setverdict(pass,"Everything is ok, N:", pl_i);
+}
+
+testcase tc_dte() runs on CT {
+ log("HeyTitan!");
+ setverdict(fail,"Everything is nok");
+ var integer a;
+ var integer b:=a;
+}
+
+testcase tc_fail2() runs on CT {
+ log("HeyTitan!");
+ setverdict(fail,"Everything is nok");
+ setverdict(fail,"2. Everything is nok");
+
+}
+
+testcase tc_inc() runs on CT {
+ log("HeyTitan!");
+ setverdict(inconc,"Something is inconsistent");
+}
+
+testcase tc_none() runs on CT {
+ log("HeyTitan!");
+ action("Action");
+}
+
+control{
+ for(var integer i:=0; i<tsp_N; i:=i+1) {
+ execute(tc_pass(i));
+ execute(tc_dte());
+ execute(tc_fail2());
+ execute(tc_inc());
+ execute(tc_none());
+ }
+}
+}
--- /dev/null
+#!/bin/bash
+###############################################################################
+# Copyright (c) 2000-2016 Ericsson Telecom AB
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# Balasko, Jeno
+# Lovassy, Arpad
+#
+###############################################################################
+
+set -e
+set -o pipefail
+
+ttcn3_start main1 main1.cfg > ttcn3_start_main1.log
assignmentNotation omitdef anytype RAW implicitMsgEncoding pattern_quadruples \
macros visibility hexstrOper ucharstrOper objidOper CRTR00015758 slider \
XML ipv6 implicitOmit testcase_defparam transparent HQ16404 cfgFile \
-all_from lazyEval tryCatch text2ttcn json junitlogger ttcn2json profiler templateOmit \
+all_from lazyEval tryCatch text2ttcn json LTTngUSTLogger junitlogger ttcn2json profiler templateOmit \
customEncoding makefilegen uidChars checkstate hostid
ifdef DYN