summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2023-08-08 15:25:21 -0400
committerFlorin Coras <florin.coras@gmail.com>2023-08-08 21:22:54 +0000
commit878a9f57061ec6313dc8ad8ef4f1eb55e32665e7 (patch)
tree75c2d5bbf2e306ae0aad8da159379c2565c62bd6
parent6631032791f842017c20ddf217e915c465ff809d (diff)
tests: fix setting gcov flag for test-cov target
Type: fix Change-Id: I3c663babe4f32f5d2870265336b5d272cc029ce7 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
-rw-r--r--Makefile1
-rw-r--r--test/Makefile2
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 42325f1aced..d92e1e51b68 100644
--- a/Makefile
+++ b/Makefile
@@ -434,6 +434,7 @@ define test
VPP_BIN=$(BR)/install-$(1)-native/vpp/bin/vpp \
VPP_INSTALL_PATH=$(BR)/install-$(1)-native/ \
EXTENDED_TESTS=$(EXTENDED_TESTS) \
+ TEST_GCOV=$(TEST_GCOV) \
PYTHON=$(PYTHON) \
OS_ID=$(OS_ID) \
RND_SEED=$(RND_SEED) \
diff --git a/test/Makefile b/test/Makefile
index 27e750137ef..2eb2ef35716 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -200,7 +200,7 @@ ARG6=--step
endif
ARG7=
-ifneq ($(findstring $(TESTS_GCOV),1 y yes),)
+ifneq ($(findstring $(TEST_GCOV),1 y yes),)
ARG7=--gcov
endif