diff options
| author | Paul Eggert | 2016-02-09 14:26:40 -0800 |
|---|---|---|
| committer | Paul Eggert | 2016-02-09 14:26:40 -0800 |
| commit | 8456ba1d493d5e5b46e450d0e8b2dd1577f246ab (patch) | |
| tree | 9b57b19f6591e3c8f673e6152bfb9828c1940967 /CONTRIBUTE | |
| parent | 0e7b901b905fb8db3c7e391661f1510e96ff3814 (diff) | |
| parent | 145a11e1a3417d0fef60148296f2e8f97e09d5e9 (diff) | |
| download | emacs-8456ba1d493d5e5b46e450d0e8b2dd1577f246ab.tar.gz emacs-8456ba1d493d5e5b46e450d0e8b2dd1577f246ab.zip | |
-
Diffstat (limited to 'CONTRIBUTE')
| -rw-r--r-- | CONTRIBUTE | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/CONTRIBUTE b/CONTRIBUTE index 7fdfeb0f465..71bbebb7da7 100644 --- a/CONTRIBUTE +++ b/CONTRIBUTE | |||
| @@ -278,6 +278,17 @@ you run "make check-expensive" from the top-level directory. "make | |||
| 278 | line. So "make check SELECTOR=nil" is equivalent to "make | 278 | line. So "make check SELECTOR=nil" is equivalent to "make |
| 279 | check-expensive". | 279 | check-expensive". |
| 280 | 280 | ||
| 281 | You could also use predefined selectors of the Makefile. "make | ||
| 282 | <filename> SELECTOR='$(SELECTOR_DEFAULT)'" runs all tests for | ||
| 283 | <filename>.el(c) except the tests tagged as expensive. | ||
| 284 | |||
| 285 | Selectors can be defined with different methods, see (info "(ert)Test | ||
| 286 | Selectors") or | ||
| 287 | https://www.gnu.org/software/emacs/manual/html_node/ert/Test-Selectors.html | ||
| 288 | If your test file contains the tests "test-foo", "test2-foo" and | ||
| 289 | "test-foo-remote", and you want to run only the former two tests, you | ||
| 290 | could use a regexp: "make <filename> SELECTOR='\"foo$$\"'" . | ||
| 291 | |||
| 281 | ** Understanding Emacs Internals. | 292 | ** Understanding Emacs Internals. |
| 282 | 293 | ||
| 283 | The best way to understand Emacs Internals is to read the code, | 294 | The best way to understand Emacs Internals is to read the code, |