Skip to content
Snippets Groups Projects
Commit 736891dd authored by Kristof Szabados's avatar Kristof Szabados
Browse files

separating responsibilities a bit better.


Signed-off-by: default avatarKristof Szabados <Kristof.Szabados@ericsson.com>
parent 31c12873
No related branches found
No related tags found
No related merge requests found
......@@ -39,6 +39,7 @@
TOP := ../../
include $(TOP)/Makefile.cfg
.PHONY: run
# The path of your TTCN-3 Test Executor installation:
# Uncomment this line to override the environment variable.
......@@ -117,7 +118,7 @@ USER_OBJECTS =
# The name of the executable test suite:
TARGET = BER_EncDec.exe
ifeq ($(COVERAGE), yes)
ifdef COVERAGE
CPPFLAGS += -fprofile-arcs -ftest-coverage -g
CXXFLAGS += -fprofile-arcs -ftest-coverage -g
LDFLAGS += -fprofile-arcs -ftest-coverage -g -lgcov
......@@ -152,6 +153,9 @@ compile: $(TTCN3_MODULES) $(ASN1_MODULES)
$(ASN1_MODULES) - $?
touch $@
run: $(TARGET) BER_EncDec.cfg
./$^
clean:
-$(RM) $(TARGET) $(OBJECTS) $(GENERATED_HEADERS) \
$(GENERATED_SOURCES) compile *.log *.gcda *.gcno
......
......@@ -71,16 +71,16 @@ all check run: $(DIRS)
.PHONY: $(DIRS)
BER_EncDec:
cd $@; make -j; ./BER_EncDec.exe BER_EncDec.cfg
cd $@; make -j; make run
RAW_EncDec:
cd $@; make -j; ./RAW_EncDec.exe RAW_EncDec.cfg
cd $@; make -j; make run
Text_EncDec:
cd $@; make -j; ./Text_EncDec.exe Text_EncDec.cfg
cd $@; make -j; make run
XER_EncDec:
cd $@; make -j; ./XER_EncDec.exe XER_EncDec.cfg
cd $@; make -j; make run
Semantic_Analyser:
cd $@; if [ ! -f perl ] ; then ln -s `which perl` perl; fi; ./run_test_all $(SCRIPTFLAGS)
......
......@@ -34,6 +34,7 @@
TOP := ../../
include $(TOP)/Makefile.cfg
.PHONY: run
# The path of your TTCN-3 Test Executor installation:
# Uncomment this line to override the environment variable.
......@@ -146,6 +147,9 @@ compile: $(TTCN3_MODULES) $(ASN1_MODULES)
$(ASN1_MODULES) - $?
touch $@
run: $(TARGET) RAW_EncDec.cfg
./$^
clean:
-$(RM) $(TARGET) $(OBJECTS) $(GENERATED_HEADERS) \
$(GENERATED_SOURCES) compile *.log *.gcda *.gcno
......
......@@ -31,6 +31,8 @@
TOP := ../../
include $(TOP)/Makefile.cfg
.PHONY: run
# The path of your TTCN-3 Test Executor installation:
# Uncomment this line to override the environment variable.
# TTCN3_DIR =
......@@ -142,6 +144,9 @@ compile: $(TTCN3_MODULES) $(ASN1_MODULES)
$(ASN1_MODULES) - $?
touch $@
run: $(TARGET) Text_EncDec.cfg
./$^
clean:
-$(RM) $(TARGET) $(OBJECTS) $(GENERATED_HEADERS) \
$(GENERATED_SOURCES) compile *.log *.gcda *.gcno
......
......@@ -30,6 +30,7 @@
TOP := ../../
include $(TOP)/Makefile.cfg
.PHONY: run
# The path of your TTCN-3 Test Executor installation:
# Uncomment this line to override the environment variable.
......@@ -142,6 +143,9 @@ compile: $(TTCN3_MODULES) $(ASN1_MODULES)
$(ASN1_MODULES) - $?
touch $@
run: $(TARGET) XER_EncDec.cfg
./$^
clean:
-$(RM) $(TARGET) $(OBJECTS) $(GENERATED_HEADERS) \
$(GENERATED_SOURCES) compile *.log *.gcda *.gcno
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment