[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex 474981f 05/95: Show summary of tests at the end
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex 474981f 05/95: Show summary of tests at the end of make check |
Date: |
Sun, 16 Apr 2017 01:26:44 -0400 (EDT) |
branch: externals/auctex
commit 474981fcdb21f7bf66e842b59f64c38047624521
Author: Mosè Giordano <address@hidden>
Commit: Mosè Giordano <address@hidden>
Show summary of tests at the end of make check
* tests/Makefile (check): Depend on `check-doit' and `mostlyclean' phony
targets.
(check-doit): New rule for showing summary of tests.
(mostlyclean): Delete log files.
---
tests/Makefile | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)
diff --git a/tests/Makefile b/tests/Makefile
index 6f281bc..208ab72 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 2010-2014 Free Software Foundation, Inc.
+# Copyright (C) 2010-2014, 2017 Free Software Foundation, Inc.
# This file is part of AUCTeX.
@@ -23,7 +23,7 @@
## filename.log: run tests from filename.el if .log file needs updating
## filename: re-run tests from filename.el, with no logging
-## Adapted from test/automated/Makefile.in of GNU Emacs.
+## Adapted from test/Makefile.in of GNU Emacs.
### Code:
@@ -77,11 +77,16 @@ endef
$(foreach test,${TESTS},$(eval $(call test_template,${test})))
## Re-run all the tests every time.
-check:
- address@hidden f in */*.log; do test ! -f $$f || mv $$f $$f~; done
- @${MAKE} ${LOGFILES}
+check: mostlyclean check-doit
-.PHONY: clean
+.PHONY: check-doit
+check-doit: ${LOGFILES}
+ $(emacs) -l ert -f ert-summarize-tests-batch-and-exit $^
+
+.PHONY: mostlyclean clean
+
+mostlyclean:
+ address@hidden f in ${LOGFILES}; do test ! -f $$f || mv $$f $$f~; done
clean:
-rm -f */*.log */*.log~
- [elpa] externals/auctex updated (f0cb472 -> 334da3d), Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 46059c3 02/95: Remove file from distributed tar ball, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 3ca0106 08/95: Guard setcar with appropriate test, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex a159114 01/95: Add AUCTeX Logo, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 183959a 04/95: Fix ConTeXt-outline-regexp, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 474981f 05/95: Show summary of tests at the end of make check,
Tassilo Horn <=
- [elpa] externals/auctex 15960e4 06/95: Add makeglossaries to the list of commands, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex b714739 09/95: Add \citetitle to `reftex-cite-format' in style/biblatex, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex ccd67c2 17/95: ; * style/breqn.el ("breqn"): Add missing starred version of array., Tassilo Horn, 2017/04/16
- [elpa] externals/auctex c886a1b 10/95: Check if label is defined before adding it to known labels, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 74766b4 03/95: Remove also a gitignore, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 7230fec 07/95: * latex.el (LaTeX-newline): Make interactive. See bug#24412., Tassilo Horn, 2017/04/16
- [elpa] externals/auctex a77e75a 15/95: ; * doc/changes.texi: Improve wording., Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 76a2b5f 18/95: * tex-ispell.el: Add support for enviroments from breqn.sty., Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 558da5f 24/95: * latex/preview.dtx: Fix example for \PreviewMacro* macro., Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 73ccc38 22/95: Simplify addition of entirely skipped environments, Tassilo Horn, 2017/04/16