diff options
Diffstat (limited to 'CONTRIBUTE')
| -rw-r--r-- | CONTRIBUTE | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/CONTRIBUTE b/CONTRIBUTE index 19ec68221c4..323f9b9d060 100644 --- a/CONTRIBUTE +++ b/CONTRIBUTE | |||
| @@ -262,12 +262,20 @@ Emacs uses ERT, Emacs Lisp Regression Testing, for testing. See (info | |||
| 262 | "(ert)") or https://www.gnu.org/software/emacs/manual/html_node/ert/ | 262 | "(ert)") or https://www.gnu.org/software/emacs/manual/html_node/ert/ |
| 263 | for more information on writing and running tests. | 263 | for more information on writing and running tests. |
| 264 | 264 | ||
| 265 | If your test lasts longer than some few seconds, mark it in its | ||
| 266 | `ert-deftest' definition with ":tags '(:expensive-test)". | ||
| 267 | |||
| 265 | To run tests on the entire Emacs tree, run "make check" from the | 268 | To run tests on the entire Emacs tree, run "make check" from the |
| 266 | top-level directory. Most tests are in the directory | 269 | top-level directory. Most tests are in the directory |
| 267 | "test/". From the "test/" directory, run "make | 270 | "test/". From the "test/" directory, run "make |
| 268 | <filename>" to run the tests for <filename>.el(c). See | 271 | <filename>" to run the tests for <filename>.el(c). See |
| 269 | "test/Makefile" for more information. | 272 | "test/Makefile" for more information. |
| 270 | 273 | ||
| 274 | Tests which are tagged ":expensive-test" are enabled additionally, if | ||
| 275 | you run "make check-expensive" from the top-level directory. "make | ||
| 276 | <filename>" as mentioned above incorporates expensive tests for | ||
| 277 | <filename>.el(c). | ||
| 278 | |||
| 271 | ** Understanding Emacs Internals. | 279 | ** Understanding Emacs Internals. |
| 272 | 280 | ||
| 273 | The best way to understand Emacs Internals is to read the code, | 281 | The best way to understand Emacs Internals is to read the code, |