]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Makefile.in (local-clean): remove *.log
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Fri, 19 Jun 1998 01:42:01 +0000 (01:42 +0000)
committerJeff Law <law@gcc.gnu.org>
Fri, 19 Jun 1998 01:42:01 +0000 (19:42 -0600)
        * 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
Makefile.in

index c28216cc80d2cd07b98aedceb51746ec94b92fc2..3b7bd791ebdaf2e795e8610765656e11b5a3bfa6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+Fri Jun 19 02:36:59 1998  Alexandre Oliva <oliva@dcc.unicamp.br>
+
+       * 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  <robertl@dgii.com>
 
        * config.guess: Detection of Pentium II for *-sco-3.2v5*.
index 4187c4384eb050c84835b06b41b676808356a774..d08629a106f6f0503d724c37ee110c48fb03d999 100644 (file)
@@ -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