auctex-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 474981fcdb21f7bf66e84


From: Mosè Giordano
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 474981fcdb21f7bf66e842b59f64c38047624521
Date: Sun, 15 Jan 2017 18:43:22 +0000 (UTC)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
       via  474981fcdb21f7bf66e842b59f64c38047624521 (commit)
      from  183959aea243c3bc26e44cafa0f0cae8b729f91a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 474981fcdb21f7bf66e842b59f64c38047624521
Author: Mosè Giordano <address@hidden>
Date:   Sun Jan 15 19:41:14 2017 +0100

    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.

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~

-----------------------------------------------------------------------

Summary of changes:
 tests/Makefile |   17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

[Prev in Thread] Current Thread [Next in Thread]