X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/2d7f4d99f715a3b32bb2873be6e9b4e7e1dad1da..fee9e3ff5e3181e5e477849b5db94e7e39a4e0c4:/CONTRIBUTE diff --git a/CONTRIBUTE b/CONTRIBUTE index 19ec68221c..323f9b9d06 100644 --- a/CONTRIBUTE +++ b/CONTRIBUTE @@ -262,12 +262,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/". From the "test/" directory, run "make " to run the tests for .el(c). See "test/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 +" as mentioned above incorporates expensive tests for +.el(c). + ** Understanding Emacs Internals. The best way to understand Emacs Internals is to read the code,