From a697763953670b7d9ce3375fe2d3c6fe87fb076c Mon Sep 17 00:00:00 2001 From: Paul Moore Date: Mon, 6 Feb 2017 17:08:15 -0500 Subject: build: add basic code coverage support Signed-off-by: Paul Moore --- Makefile.am | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 319f567..91ba36e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -37,6 +37,9 @@ check-build: all check-syntax: @./tools/check-syntax +check-code-coverage: check-build + ${MAKE} ${AM_MAKEFLAGS} -C tests check-code-coverage + if COVERITY coverity-build: clean cov-build --dir cov-int ${MAKE} ${AM_MAKEFLAGS} check-build -- cgit v1.2.1