summaryrefslogtreecommitdiff
path: root/test/README
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2018-03-19 12:58:45 +0100
committerMichael Albinus <michael.albinus@gmx.de>2018-03-19 12:58:45 +0100
commit1979bce57d1887d89de6d728bb34dcd0f6478b2f (patch)
treef6e40f7101700c9fdca215c2cf5a6cff96d11da7 /test/README
parent415ff1a0e141b74a53df1d8411113b1cd0c9ce90 (diff)
downloademacs-1979bce57d1887d89de6d728bb34dcd0f6478b2f.tar.gz
Print top time consuming tests if advised
* lisp/emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New argument HIGH. Print top-running tests. * test/Makefile.in (check-doit): Use ${SUMMARIZE_TESTS}. * test/README: Explain SUMMARIZE_TESTS.
Diffstat (limited to 'test/README')
-rw-r--r--test/README5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/README b/test/README
index 36307e3b6c1..b9f6f65c450 100644
--- a/test/README
+++ b/test/README
@@ -65,6 +65,11 @@ compiled version of a test use
make TEST_LOAD_EL=no ...
+Some tests might take long time to run. In order to summarize the
+<nn> tests with the longest duration, call
+
+ make SUMMARIZE_TESTS=<nn> ...
+
(Also, see etc/compilation.txt for compilation mode font lock tests.)