summaryrefslogtreecommitdiff
path: root/CONTRIBUTE
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2016-01-05 09:47:41 +0100
committerMichael Albinus <michael.albinus@gmx.de>2016-01-05 09:47:41 +0100
commitf5c762c8785523a2d38088aa48452bffa4da69d6 (patch)
treed23f15de5a03de7500187468e25c6ee98b45c950 /CONTRIBUTE
parent1729cf3eb5a37affcac185bea66b203f9ff0fa8e (diff)
downloademacs-f5c762c8785523a2d38088aa48452bffa4da69d6.tar.gz
Additional changes for "make check-expensive"
* CONTRIBUTE : Encourage use of ":tags '(:expensive-test)". Explain make target `check-expensive'. * etc/NEWS: Mention new make target `check-expensive'. * test/automated/Makefile.in (check-doit): New target. (check, check-expensive): Use it.
Diffstat (limited to 'CONTRIBUTE')
-rw-r--r--CONTRIBUTE8
1 files changed, 8 insertions, 0 deletions
diff --git a/CONTRIBUTE b/CONTRIBUTE
index 9061007fc9c..9c53fe2cccc 100644
--- a/CONTRIBUTE
+++ b/CONTRIBUTE
@@ -251,12 +251,20 @@ Emacs uses ERT, Emacs Lisp Regression Testing, for testing. See (info
"(ert)") or https://www.gnu.org/software/emacs/manual/html_node/ert/
for more information on writing and running tests.
+If your test lasts longer than some few seconds, mark it in its
+`ert-deftest' definition with ":tags '(:expensive-test)".
+
To run tests on the entire Emacs tree, run "make check" from the
top-level directory. Most tests are in the directory
"test/automated". From the "test/automated" directory, run "make
<filename>" to run the tests for <filename>.el(c). See
"test/automated/Makefile" for more information.
+Tests which are tagged ":expensive-test" are enabled additionally, if
+you run "make check-expensive" from the top-level directory. "make
+<filename>" as mentioned above incorporates expensive tests for
+<filename>.el(c).
+
** Understanding Emacs Internals.
The best way to understand Emacs Internals is to read the code,