aboutsummaryrefslogtreecommitdiff
path: root/core/test/Makefile.check
diff options
context:
space:
mode:
authorOliver O'Halloran <oohall@gmail.com>2016-01-18 11:27:29 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-03-30 17:43:58 +1100
commitb68849baad2c7cd46d9a8278279b42039b3d5174 (patch)
tree3f0eff351e5fb36d904e3ee5daf5e00df8eadf24 /core/test/Makefile.check
parentce305fe301c5d1e15150f6a9c82cc7183536c68e (diff)
downloadskiboot-b68849baad2c7cd46d9a8278279b42039b3d5174.zip
skiboot-b68849baad2c7cd46d9a8278279b42039b3d5174.tar.gz
skiboot-b68849baad2c7cd46d9a8278279b42039b3d5174.tar.bz2
*/test/*: Added '<subdir>-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 <oohall@gmail.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'core/test/Makefile.check')
-rw-r--r--core/test/Makefile.check13
1 files changed, 8 insertions, 5 deletions
diff --git a/core/test/Makefile.check b/core/test/Makefile.check
index 2724aab..0818092 100644
--- a/core/test/Makefile.check
+++ b/core/test/Makefile.check
@@ -24,13 +24,16 @@ CORE_TEST_NOSTUB += core/test/run-console-log-pr_fmt
LCOV_EXCLUDE += $(CORE_TEST:%=%.c) core/test/stubs.c
LCOV_EXCLUDE += $(CORE_TEST_NOSTUB:%=%.c) /usr/include/*
-check: $(CORE_TEST:%=%-check) $(CORE_TEST:%=%-gcov-run)
+.PHONY : core-check
+core-check: $(CORE_TEST:%=%-check) $(CORE_TEST:%=%-gcov-run)
+core-check: $(CORE_TEST_NOSTUB:%=%-check) $(CORE_TEST_NOSTUB:%=%-gcov-run)
-check: $(CORE_TEST_NOSTUB:%=%-check) $(CORE_TEST_NOSTUB:%=%-gcov-run)
+.PHONY : core-coverage
+core-coverage: $(CORE_TEST:%=%-gcov-run)
+core-coverage: $(CORE_TEST_NOSTUB:%=%-gcov-run)
-coverage: $(CORE_TEST:%=%-gcov-run)
-
-coverage: $(CORE_TEST_NOSTUB:%=%-gcov-run)
+check: core-check
+coverage: core-coverage
$(CORE_TEST:%=%-gcov-run) : %-run: %
$(call Q, TEST-COVERAGE ,$< , $<)