hs-test: enable coverage file filtering correctly 81/42481/1
authorSemir Sionek <[email protected]>
Fri, 14 Mar 2025 10:44:21 +0000 (06:44 -0400)
committerSemir Sionek <[email protected]>
Fri, 14 Mar 2025 11:05:32 +0000 (07:05 -0400)
Type: fix
Change-Id: Idb14eebb42d31ff3c6ad5cde30fdb2e53d47302b
Signed-off-by: Semir Sionek <[email protected]>
Makefile
test/Makefile

index 1806b88..a61a298 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -566,7 +566,7 @@ test-cov-hs: build-gcov
 
 .PHONY: test-cov-post-standalone
 test-cov-post-standalone:
-       $(MAKE) CC=$(CC) -C test cov-post VPP_BUILD_DIR=$(BR)/build-vpp_gcov-native/vpp
+       $(MAKE) CC=$(CC) -C test cov-post HS_TEST=$(HS_TEST) VPP_BUILD_DIR=$(BR)/build-vpp_gcov-native/vpp
 
 .PHONY: test-cov-both
 test-cov-both:
index 17bf33d..0a1b770 100644 (file)
@@ -388,7 +388,7 @@ COV_REM_TODO_NO_TEST="*/vpp-api/client/*" "*/plugins/prom/*" \
                                         "*/vnet/ipsec/esp_format.c" "*/vnet/ethernet/sfp.c" \
                                         "*/vnet/ethernet/ethernet_format_fns.h" \
                                         "*/plugins/ikev2/ikev2_format.c" "*/vnet/bier/bier_types.c"
-ifeq ($(HS-TEST),1)
+ifeq ($(HS_TEST),1)
 COV_REM_HST_UNUSED_FEAT= "*/plugins/ping/*" "*/plugins/unittest/mpcap_node.c" "*/vnet/bfd/*" \
                                         "*/vnet/bier/*" "*/vnet/bonding/*" "*/vnet/classify/*" \
                                         "*/vnet/gso/*" "*/vnet/ipfix-export/*" "*/vnet/ipip/*" \