From b68849baad2c7cd46d9a8278279b42039b3d5174 Mon Sep 17 00:00:00 2001 From: Oliver O'Halloran Date: Mon, 18 Jan 2016 11:27:29 +1100 Subject: */test/*: Added '-check' make targets Currently these exist for some parts of the source tree, but not all of it. They're nice if you are only modifing code in a one part of the tree as the full test suite can be a little slow. Signed-off-by: Oliver O'Halloran Signed-off-by: Stewart Smith --- libflash/test/Makefile.check | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'libflash/test') diff --git a/libflash/test/Makefile.check b/libflash/test/Makefile.check index 05453b2..b90c359 100644 --- a/libflash/test/Makefile.check +++ b/libflash/test/Makefile.check @@ -3,9 +3,12 @@ LIBFLASH_TEST := libflash/test/test-flash libflash/test/test-ecc libflash/test/t LCOV_EXCLUDE += $(LIBFLASH_TEST:%=%.c) -check: $(LIBFLASH_TEST:%=%-check) $(CORE_TEST:%=%-gcov-run) +.PHONY : libflash-check libc-coverage +libflash-check: $(LIBFLASH_TEST:%=%-check) $(CORE_TEST:%=%-gcov-run) +libflash-coverage: $(LIBFLASH_TEST:%=%-gcov-run) -coverage: $(LIBFLASH_TEST:%=%-gcov-run) +check: libflash-check libc-coverage +coverage: libflash-coverage $(LIBFLASH_TEST:%=%-gcov-run) : %-run: % $(call Q, TEST-COVERAGE ,$< , $<) -- cgit v1.1