diff options
| author | Michael Albinus | 2018-03-17 10:25:22 +0100 |
|---|---|---|
| committer | Michael Albinus | 2018-03-17 10:25:22 +0100 |
| commit | bcec2a8a392da74df9136a13cf7acaa6b95358f7 (patch) | |
| tree | 5486012bf7f98d096f184c8a55d81e877a629d0f /test | |
| parent | 1c7db8aa30969d0bc0e6d35b9bd57c70314ed9d0 (diff) | |
| download | emacs-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.in | 5 | ||||
| -rw-r--r-- | test/README | 5 |
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},) | |||
| 111 | ert_opts += --eval '(setq ert-batch-backtrace-right-margin ${TEST_BACKTRACE_LINE_LENGTH})' | 111 | ert_opts += --eval '(setq ert-batch-backtrace-right-margin ${TEST_BACKTRACE_LINE_LENGTH})' |
| 112 | endif | 112 | endif |
| 113 | 113 | ||
| 114 | # Whether the tests shall also report their duration. | ||
| 115 | ifdef TEST_PRINT_TEST_DURATION | ||
| 116 | ert_opts += --eval '(setq ert-batch-print-duration t)' | ||
| 117 | endif | ||
| 118 | |||
| 119 | ifeq (@HAVE_MODULES@, yes) | 114 | ifeq (@HAVE_MODULES@, yes) |
| 120 | MODULES_EMACSOPT := --module-assertions | 115 | MODULES_EMACSOPT := --module-assertions |
| 121 | else | 116 | else |
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 | ||
| 68 | Sometimes, it is necessary to trace the duration time for single tests. | ||
| 69 | This 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 | ||