diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2014-12-19 11:45:07 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2014-12-19 11:45:07 +1100 |
commit | 9de1741e00b3e475108b9b69fbf86ae30e9c2745 (patch) | |
tree | bc734f900d3d644f87d90d8547d2aad76012723f /core | |
parent | c652989453649b8d27f85dcfb882efcec8dbf64d (diff) | |
download | skiboot-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 'core')
-rw-r--r-- | core/test/Makefile.check | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/core/test/Makefile.check b/core/test/Makefile.check index 15a662f..f3f35d5 100644 --- a/core/test/Makefile.check +++ b/core/test/Makefile.check @@ -6,21 +6,21 @@ check: $(CORE_TEST:%=%-check) $(CORE_TEST:%=%-gcov-run) coverage: $(CORE_TEST:%=%-gcov-run) $(CORE_TEST:%=%-gcov-run) : %-run: % - $< + $(call Q, TEST-COVERAGE ,$< , $<) $(CORE_TEST:%=%-check) : %-check: % - $(VALGRIND) $< + $(call Q, RUN-TEST ,$(VALGRIND) $<, $<) core/test/stubs.o: core/test/stubs.c - $(HOSTCC) $(HOSTCFLAGS) -g -c -o $@ $< + $(call Q, HOSTCC ,$(HOSTCC) $(HOSTCFLAGS) -g -c -o $@ $<, $<) $(CORE_TEST) : core/test/stubs.o $(CORE_TEST) : % : %.c - $(HOSTCC) $(HOSTCFLAGS) -O0 -g -I include -I . -I libfdt -o $@ $< core/test/stubs.o + $(call Q, HOSTCC ,$(HOSTCC) $(HOSTCFLAGS) -O0 -g -I include -I . -I libfdt -o $@ $< core/test/stubs.o, $<) $(CORE_TEST:%=%-gcov): %-gcov : %.c % - $(HOSTCC) $(HOSTCFLAGS) -fprofile-arcs -ftest-coverage -O0 -g -I include -I . -I libfdt -lgcov -o $@ $< core/test/stubs.o + $(call Q, HOSTCC ,$(HOSTCC) $(HOSTCFLAGS) -fprofile-arcs -ftest-coverage -O0 -g -I include -I . -I libfdt -lgcov -o $@ $< core/test/stubs.o, $<) -include $(wildcard core/test/*.d) |