aboutsummaryrefslogtreecommitdiff
path: root/libc/test
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2014-12-19 11:45:07 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2014-12-19 11:45:07 +1100
commit9de1741e00b3e475108b9b69fbf86ae30e9c2745 (patch)
treebc734f900d3d644f87d90d8547d2aad76012723f /libc/test
parentc652989453649b8d27f85dcfb882efcec8dbf64d (diff)
downloadskiboot-9de1741e00b3e475108b9b69fbf86ae30e9c2745.zip
skiboot-9de1741e00b3e475108b9b69fbf86ae30e9c2745.tar.gz
skiboot-9de1741e00b3e475108b9b69fbf86ae30e9c2745.tar.bz2
Pretty print make check and coverage output
Can still get the details with V=1, just like normal make. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'libc/test')
-rw-r--r--libc/test/Makefile.check8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/test/Makefile.check b/libc/test/Makefile.check
index 57f6cf7..18bc3b4 100644
--- a/libc/test/Makefile.check
+++ b/libc/test/Makefile.check
@@ -6,16 +6,16 @@ check: $(LIBC_TEST:%=%-check)
coverage: $(LIBC_TEST:%=%-gcov-run)
$(LIBC_TEST:%=%-gcov-run) : %-run: %
- $<
+ $(call Q, TEST-COVERAGE ,$< , $<)
$(LIBC_TEST:%=%-check) : %-check: %
- $(VALGRIND) $<
+ $(call Q, RUN-TEST ,$(VALGRIND) $<, $<)
$(LIBC_TEST) : % : %.c
- $(HOSTCC) $(HOSTCFLAGS) -O0 -g -I include -I . -I libfdt -I libc/include -o $@ $<
+ $(call Q, HOSTCC ,$(HOSTCC) $(HOSTCFLAGS) -O0 -g -I include -I . -I libfdt -I libc/include -o $@ $<, $<)
$(LIBC_TEST:%=%-gcov): %-gcov : %.c %
- $(HOSTCC) $(HOSTCFLAGS) -fprofile-arcs -ftest-coverage -lgcov -O0 -g -I include -I . -I libfdt -I libc/include -o $@ $<
+ $(call Q, HOSTCC ,$(HOSTCC) $(HOSTCFLAGS) -fprofile-arcs -ftest-coverage -lgcov -O0 -g -I include -I . -I libfdt -I libc/include -o $@ $<, $<)
-include $(wildcard libc/test/*.d)