aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2023-08-09 12:58:22 -0400
committerFlorin Coras <florin.coras@gmail.com>2023-08-11 02:15:07 +0000
commitef68bb57db90df98dd8e2bda8b7bc4dbfa85b89b (patch)
tree5a97570991a621ae4481b228f22f6f134317cc06
parent11af9e6bfe3daa0e8f97a5424cafeccad77ad484 (diff)
tests: filter coverage report output
- Remove test code & non-vpp code from coverage report - Remove driver/hardware vpp code which cannot be tested in 'make test' from coverage report Type: fix Change-Id: I04b50c14bc3437b845f2afafae47297189e61e3f Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
-rw-r--r--test/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile
index 2eb2ef35716..4d00898bfe2 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -342,6 +342,9 @@ cov-post: wipe-cov $(BUILD_COV_DIR)
--output-file $(BUILD_COV_DIR)/extern-coverage.info
@lcov --remove $(BUILD_COV_DIR)/coverage.info \
"/usr/include/*" "*/build-root/*" "/opt/*" "/usr/lib/*" \
+ "*_test.*" "*vat*" "*rdma*" "*/vpp-api/client/*" "*/plugins/af_packet/*" \
+ "*/plugins/af_xdp/*" "*/plugins/avf/*" "*/plugins/dma_intel/*" \
+ "*/plugins/hs_apps/*" "*/plugins/vmxnet3/*" "*/vnet/devices/virtio/*" \
-o $(BUILD_COV_DIR)/coverage-filtered.info
@genhtml $(BUILD_COV_DIR)/coverage-filtered.info \
--output-directory $(BUILD_COV_DIR)/html