From 9de1741e00b3e475108b9b69fbf86ae30e9c2745 Mon Sep 17 00:00:00 2001 From: Stewart Smith Date: Fri, 19 Dec 2014 11:45:07 +1100 Subject: Pretty print make check and coverage output Can still get the details with V=1, just like normal make. Signed-off-by: Stewart Smith --- libc/test/Makefile.check | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libc') diff --git a/libc/test/Makefile.check b/libc/test/Makefile.check index 57f6cf78..18bc3b41 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) -- cgit v1.2.1