From 6a95bea8d508f3937e46b1eec2b5def8d5135d78 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Wed, 4 Aug 2021 10:42:02 -0400 Subject: tests: Add a 'test-coverage' make target for gcov This adds a make target that builds the tests with gcov so we can identify coverage gaps in the test suite. It also makes a special test-lto invocation, so that a developer can run these tests with the somewhat different optimization results LTO will have. Signed-off-by: Peter Jones --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 07936e52..3b59fc69 100644 --- a/Makefile +++ b/Makefile @@ -287,7 +287,7 @@ else $(PESIGN) -n certdb -i $< -c "shim" -s -o $@ -f endif -test test-clean : +test test-clean test-coverage test-lto : @make -f $(TOPDIR)/include/test.mk \ COMPILER="$(COMPILER)" \ CROSS_COMPILE="$(CROSS_COMPILE)" \ -- cgit v1.2.3