From c4137c50396559f083f9b618725917022baecbf1 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Fri, 19 Jun 1998 01:42:01 +0000 Subject: [PATCH] Makefile.in (local-clean): remove *.log * Makefile.in (local-clean): remove *.log (warning.log): built with warn_summary from build.log (mail-report.log): run test_summary (mail-report-with-warnings.log): run test_summary including warning.log in the report From-SVN: r20579 --- ChangeLog | 8 ++++++++ Makefile.in | 23 ++++++++++++++++++++++- 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c28216cc80d..3b7bd791ebd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +Fri Jun 19 02:36:59 1998 Alexandre Oliva + + * Makefile.in (local-clean): remove *.log + (warning.log): built with warn_summary from build.log + (mail-report.log): run test_summary + (mail-report-with-warnings.log): run test_summary including + warning.log in the report + Thu Jun 18 11:26:03 1998 Robert Lipe * config.guess: Detection of Pentium II for *-sco-3.2v5*. diff --git a/Makefile.in b/Makefile.in index 4187c4384eb..d08629a106f 100644 --- a/Makefile.in +++ b/Makefile.in @@ -899,7 +899,7 @@ install-info: do-install-info dir.info else true ; fi local-clean: - -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E + -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log local-distclean: -rm -f Makefile config.status config.cache mh-frag mt-frag @@ -954,6 +954,27 @@ check: $(CHECK_MODULES) \ $(CHECK_X11_MODULES) \ check-gcc +# Automated reporting of test results. + +warning.log: build.log + $(srcdir)/contrib/warn_summary build.log > $@ + +mail-report.log: + if test x'$(BOOT_CFLAGS)' != x''; then \ + BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \ + fi; \ + $(srcdir)/contrib/test_summary -t >$@ + chmod +x $@ + echo If you really want to send e-mail, run ./$@ now + +mail-report-with-warnings.log: warning.log + if test x'$(BOOT_CFLAGS)' != x''; then \ + BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \ + fi; \ + $(srcdir)/contrib/test_summary -t -i warning.log >$@ + chmod +x $@ + echo If you really want to send e-mail, run ./$@ now + # Installation targets. .PHONY: install install-cross uninstall source-vault binary-vault vault-install