summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-06-19 01:42:01 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-06-19 01:42:01 +0000
commit6c2f7b46e3440e5108af77ea1c48f43dc538edd6 (patch)
tree426ad2c92a2545d2a16e991ffcddddde28a8928d /Makefile.in
parent5771cabf686127cdbe569eadb55e0dfaa9141121 (diff)
downloadgcc-6c2f7b46e3440e5108af77ea1c48f43dc538edd6.tar.gz
* 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 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20579 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in23
1 files changed, 22 insertions, 1 deletions
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