fortify-headers

standalone fortify-source implementation
git clone git://git.2f30.org/fortify-headers
Log | Files | Refs | README | LICENSE

commit 81527127a9ea5e7db973329b59a5ef7234b05d26
parent a9abb9fa5b9124174e9a7ddeec95c8323f4b16af
Author: jvoisin <julien.voisin@dustri.org>
Date:   Sun, 20 Aug 2023 23:49:57 +0200

Remove the testsuite from the coverage data

Diffstat:
Mtests/Makefile | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/Makefile b/tests/Makefile @@ -114,7 +114,8 @@ coverage: GCOV=../x86_64-linux-musl-native/bin/gcov coverage: $(TARGETS) run $(GCOV) *.c lcov --capture --directory . --output-file coverage.info - genhtml coverage.info --output-directory coverage + lcov --remove ./coverage.info "*/tests/*" --output-file cleaned-coverage.info + genhtml cleaned-coverage.info --output-directory coverage $(TARGETS): %: %.c $(CC) $(CFLAGS) -o $@ $<