diff options
| author | Michael Albinus | 2016-02-09 11:06:14 +0100 |
|---|---|---|
| committer | Michael Albinus | 2016-02-09 11:06:14 +0100 |
| commit | 815439eadc0ac0fb442be9f1269eadbf37471ff6 (patch) | |
| tree | 8d4084c4a29e28fcf5a42a2fcfad7771c094fa6c | |
| parent | 7c9206f82000e9fd6ea9d1a53fc054eff88e701c (diff) | |
| download | emacs-815439eadc0ac0fb442be9f1269eadbf37471ff6.tar.gz emacs-815439eadc0ac0fb442be9f1269eadbf37471ff6.zip | |
* CONTRIBUTE: Add more examples for $(SELECTOR) make variable.
| -rw-r--r-- | CONTRIBUTE | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/CONTRIBUTE b/CONTRIBUTE index f1f3a3f86fc..5a5cb5db5a5 100644 --- a/CONTRIBUTE +++ b/CONTRIBUTE | |||
| @@ -267,6 +267,17 @@ you run "make check-expensive" from the top-level directory. "make | |||
| 267 | line. So "make check SELECTOR=nil" is equivalent to "make | 267 | line. So "make check SELECTOR=nil" is equivalent to "make |
| 268 | check-expensive". | 268 | check-expensive". |
| 269 | 269 | ||
| 270 | You could also use predefined selectors of the Makefile. "make | ||
| 271 | <filename> SELECTOR='$(SELECTOR_DEFAULT)'" runs all tests for | ||
| 272 | <filename>.el(c) except the tests tagged as expensive. | ||
| 273 | |||
| 274 | Selectors can be defined with different methods, see (info "(ert)Test | ||
| 275 | Selectors") or | ||
| 276 | https://www.gnu.org/software/emacs/manual/html_node/ert/Test-Selectors.html | ||
| 277 | If your test file contains the tests "test-foo", "test2-foo" and | ||
| 278 | "test-foo-remote", and you want to run only the former two tests, you | ||
| 279 | could use a regexp: "make <filename> SELECTOR='\"foo$$\"'" . | ||
| 280 | |||
| 270 | ** Understanding Emacs Internals. | 281 | ** Understanding Emacs Internals. |
| 271 | 282 | ||
| 272 | The best way to understand Emacs Internals is to read the code, | 283 | The best way to understand Emacs Internals is to read the code, |