From a415ef0938c2fc8139d45f89a722d132367077cc Mon Sep 17 00:00:00 2001 From: Paul Moore Date: Mon, 2 Aug 2021 23:44:58 -0400 Subject: build: reorganize the code coverage targets This is arguably the way it should have been done in the beginning but TravisCI and Coveralls masked the need for proper standalone code coverage tests. With this change simply enabling code coverage during ./configure and following with a code coverage build should generate proper gcov/lcov data and a local HTML report, example: % ./configure --enable-code-coverage % make check-code-coverage Acked-by: Tom Hromatka Signed-off-by: Paul Moore --- tests/Makefile.am | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tests') diff --git a/tests/Makefile.am b/tests/Makefile.am index 13d3157..b39ee06 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -16,10 +16,6 @@ # along with this library; if not, see . # -@CODE_COVERAGE_RULES@ - -CODE_COVERAGE_IGNORE_PATTERN = /usr/include/bits/* */arch-syscall-check.c - if CODE_COVERAGE_ENABLED DBG_STATIC = else -- cgit v1.2.1