From c8942136be3139b22478ad83d5d624587b98f10b Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Sun, 5 Jan 2020 15:44:55 +0000 Subject: [PATCH] don't write the test REPORT to stdout only a summary src/REPORT has too much clutter now. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index e786499..86b6ff5 100644 --- a/Makefile +++ b/Makefile @@ -117,14 +117,14 @@ api/main.OBJS:=$(api.OBJS) $(api.OBJS):$(B)/common/options.h $(api.OBJS):CFLAGS+=-pedantic-errors -Werror -Wno-unused -D_XOPEN_SOURCE=700 -all:$(B)/REPORT -run:$(B)/REPORT +all run: $(B)/REPORT + grep FAIL $< || echo PASS clean: rm -f $(OBJS) $(BINS) $(LIBS) $(B)/common/libtest.a $(B)/common/runtest.exe $(B)/common/options.h $(B)/*/*.err cleanall: clean rm -f $(B)/REPORT $(B)/*/REPORT $(B)/REPORT: - cat $^ |tee $@ + cat $^ >$@ $(B)/%.o:: src/%.c $(CC) $(CFLAGS) $($*.CFLAGS) -c -o $@ $< 2>$@.err || echo BUILDERROR $@; cat $@.err -- 2.20.1