tests: fix setting gcov flag for test-cov target 51/39351/2
authorDave Wallace <dwallacelf@gmail.com>
Tue, 8 Aug 2023 19:25:21 +0000 (15:25 -0400)
committerFlorin Coras <florin.coras@gmail.com>
Tue, 8 Aug 2023 21:22:54 +0000 (21:22 +0000)
Type: fix

Change-Id: I3c663babe4f32f5d2870265336b5d272cc029ce7
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Makefile
test/Makefile

index 42325f1..d92e1e5 100644 (file)
--- 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) \
index 27e7501..2eb2ef3 100644 (file)
@@ -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