From f0c2909861268bd4ac33b050147f49f934d59575 Mon Sep 17 00:00:00 2001 From: balaskoa <Jeno.Balasko@ericsson.com> Date: Fri, 20 Dec 2019 15:04:35 +0100 Subject: [PATCH] Avoid to compile post commit with coverage Signed-off-by: balaskoa <Jeno.Balasko@ericsson.com> Change-Id: I118051d1a9a9fbd21d5831508272f8636f7c5bee --- function_test/BER_EncDec/Makefile | 2 +- function_test/OER_EncDec/Makefile | 2 +- function_test/RAW_EncDec/Makefile | 2 +- function_test/XER_EncDec/Makefile | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/function_test/BER_EncDec/Makefile b/function_test/BER_EncDec/Makefile index 64af9c8dc..e99ffcfac 100644 --- a/function_test/BER_EncDec/Makefile +++ b/function_test/BER_EncDec/Makefile @@ -117,7 +117,7 @@ USER_OBJECTS = # The name of the executable test suite: TARGET = BER_EncDec.exe -ifdef COVERAGE +ifeq ($(COVERAGE), yes) CPPFLAGS += -fprofile-arcs -ftest-coverage -g CXXFLAGS += -fprofile-arcs -ftest-coverage -g LDFLAGS += -fprofile-arcs -ftest-coverage -g -lgcov diff --git a/function_test/OER_EncDec/Makefile b/function_test/OER_EncDec/Makefile index 1558e377f..d83f6bee6 100644 --- a/function_test/OER_EncDec/Makefile +++ b/function_test/OER_EncDec/Makefile @@ -115,7 +115,7 @@ OBJECTS = $(GENERATED_SOURCES:.cc=.o) # The name of the executable test suite: TARGET = Temp -ifdef COVERAGE +ifeq ($(COVERAGE), yes) CPPFLAGS += -fprofile-arcs -ftest-coverage -g CXXFLAGS += -fprofile-arcs -ftest-coverage -g LDFLAGS += -fprofile-arcs -ftest-coverage -g -lgcov diff --git a/function_test/RAW_EncDec/Makefile b/function_test/RAW_EncDec/Makefile index aaa7836a8..bf86e7832 100644 --- a/function_test/RAW_EncDec/Makefile +++ b/function_test/RAW_EncDec/Makefile @@ -111,7 +111,7 @@ USER_OBJECTS = # The name of the executable test suite: TARGET = RAW_EncDec.exe -ifdef COVERAGE +ifeq ($(COVERAGE), yes) CPPFLAGS += -fprofile-arcs -ftest-coverage -g CXXFLAGS += -fprofile-arcs -ftest-coverage -g LDFLAGS += -fprofile-arcs -ftest-coverage -g -lgcov diff --git a/function_test/XER_EncDec/Makefile b/function_test/XER_EncDec/Makefile index 6270a0d94..6eaaa2d98 100644 --- a/function_test/XER_EncDec/Makefile +++ b/function_test/XER_EncDec/Makefile @@ -107,7 +107,7 @@ USER_OBJECTS = # The name of the executable test suite: TARGET = XER_EncDec.exe -ifdef COVERAGE +ifeq ($(COVERAGE), yes) CPPFLAGS += -fprofile-arcs -ftest-coverage -g CXXFLAGS += -fprofile-arcs -ftest-coverage -g LDFLAGS += -fprofile-arcs -ftest-coverage -g -lgcov -- GitLab