diff options
author | Oliver O'Halloran <oohall@gmail.com> | 2016-01-18 11:27:29 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-03-30 17:43:58 +1100 |
commit | b68849baad2c7cd46d9a8278279b42039b3d5174 (patch) | |
tree | 3f0eff351e5fb36d904e3ee5daf5e00df8eadf24 /libc | |
parent | ce305fe301c5d1e15150f6a9c82cc7183536c68e (diff) | |
download | skiboot-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 'libc')
-rw-r--r-- | libc/test/Makefile.check | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libc/test/Makefile.check b/libc/test/Makefile.check index eb6fac8..b757f2f 100644 --- a/libc/test/Makefile.check +++ b/libc/test/Makefile.check @@ -11,9 +11,12 @@ LIBC_DUALLIB_TEST := libc/test/run-snprintf \ LCOV_EXCLUDE += $(LIBC_TEST:%=%.c) $(LIBC_DUALLIB_TEST:%=%.c) $(LIBC_DUALLIB_TEST:%=%-test.c) -check: $(LIBC_TEST:%=%-check) $(LIBC_DUALLIB_TEST:%=%-check) +.PHONY : libc-check libc-coverage +libc-check: $(LIBC_TEST:%=%-check) $(LIBC_DUALLIB_TEST:%=%-check) +lib-coverage: $(LIBC_TEST:%=%-gcov-run) $(LIBC_DUALLIB_TEST:%=%-gcov-run) -coverage: $(LIBC_TEST:%=%-gcov-run) $(LIBC_DUALLIB_TEST:%=%-gcov-run) +check: libc-check +coverage: libc-coverage $(LIBC_TEST:%=%-gcov-run) : %-run: % $(call Q, TEST-COVERAGE ,$< , $<) |