aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@dcc.unicamp.br>1998-06-19 01:42:01 +0000
committerJeff Law <law@gcc.gnu.org>1998-06-18 19:42:01 -0600
commitc4137c50396559f083f9b618725917022baecbf1 (patch)
tree426ad2c92a2545d2a16e991ffcddddde28a8928d
parent3e5fb7a9e972b21ad554036da85ce305a1cada14 (diff)
downloadgcc-c4137c50396559f083f9b618725917022baecbf1.zip
gcc-c4137c50396559f083f9b618725917022baecbf1.tar.gz
gcc-c4137c50396559f083f9b618725917022baecbf1.tar.bz2
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
-rw-r--r--ChangeLog8
-rw-r--r--Makefile.in23
2 files changed, 30 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c28216c..3b7bd79 100644
--- 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*.
diff --git a/Makefile.in b/Makefile.in
index 4187c43..d08629a 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