From: Szabolcs Nagy Date: Sun, 5 Jan 2020 15:44:55 +0000 (+0000) Subject: don't write the test REPORT to stdout only a summary X-Git-Url: http://nsz.repo.hu/git/?p=libc-test;a=commitdiff_plain;h=c8942136be3139b22478ad83d5d624587b98f10b don't write the test REPORT to stdout only a summary src/REPORT has too much clutter now. --- 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