aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMichael Albinus2018-03-17 10:25:22 +0100
committerMichael Albinus2018-03-17 10:25:22 +0100
commitbcec2a8a392da74df9136a13cf7acaa6b95358f7 (patch)
tree5486012bf7f98d096f184c8a55d81e877a629d0f /test
parent1c7db8aa30969d0bc0e6d35b9bd57c70314ed9d0 (diff)
downloademacs-bcec2a8a392da74df9136a13cf7acaa6b95358f7.tar.gz
emacs-bcec2a8a392da74df9136a13cf7acaa6b95358f7.zip
Print test timings unconditionally
* lisp/emacs-lisp/ert.el (ert-batch-print-duration): Remove. (ert-run-tests-batch): Adapt accordingly. * test/Makefile.in: * test/README: Remove TEST_PRINT_TEST_DURATION.
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.in5
-rw-r--r--test/README5
2 files changed, 0 insertions, 10 deletions
diff --git a/test/Makefile.in b/test/Makefile.in
index 426d22d0632..20e90c6ce50 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -111,11 +111,6 @@ ifneq (${TEST_BACKTRACE_LINE_LENGTH},)
111ert_opts += --eval '(setq ert-batch-backtrace-right-margin ${TEST_BACKTRACE_LINE_LENGTH})' 111ert_opts += --eval '(setq ert-batch-backtrace-right-margin ${TEST_BACKTRACE_LINE_LENGTH})'
112endif 112endif
113 113
114# Whether the tests shall also report their duration.
115ifdef TEST_PRINT_TEST_DURATION
116ert_opts += --eval '(setq ert-batch-print-duration t)'
117endif
118
119ifeq (@HAVE_MODULES@, yes) 114ifeq (@HAVE_MODULES@, yes)
120MODULES_EMACSOPT := --module-assertions 115MODULES_EMACSOPT := --module-assertions
121else 116else
diff --git a/test/README b/test/README
index 37156c632c1..36307e3b6c1 100644
--- a/test/README
+++ b/test/README
@@ -65,11 +65,6 @@ compiled version of a test use
65 65
66 make TEST_LOAD_EL=no ... 66 make TEST_LOAD_EL=no ...
67 67
68Sometimes, it is necessary to trace the duration time for single tests.
69This is controlled by the environment variable TEST_PRINT_TEST_DURATION
70
71 make TEST_PRINT_TEST_DURATION=1 ...
72
73 68
74(Also, see etc/compilation.txt for compilation mode font lock tests.) 69(Also, see etc/compilation.txt for compilation mode font lock tests.)
75 70