aboutsummaryrefslogtreecommitdiffstats
path: root/CONTRIBUTE
diff options
context:
space:
mode:
authorMichael Albinus2016-02-10 12:18:30 +0100
committerMichael Albinus2016-02-10 12:18:30 +0100
commit3ad05a0dc46093dd6b8958747a0475b8baba954f (patch)
tree6d1a5a0e50387f3fcd61caaedae53a285c87c98d /CONTRIBUTE
parent12c50e82c9b432b2fc31f8fb2215f43ceea80822 (diff)
downloademacs-3ad05a0dc46093dd6b8958747a0475b8baba954f.tar.gz
emacs-3ad05a0dc46093dd6b8958747a0475b8baba954f.zip
Describe Makefile test targets in test/README
* CONTRIBUTE: Move Makefile test targets to test/README. * Makefile.in: * test/README: Describe Makefile test targets.
Diffstat (limited to 'CONTRIBUTE')
-rw-r--r--CONTRIBUTE22
1 files changed, 2 insertions, 20 deletions
diff --git a/CONTRIBUTE b/CONTRIBUTE
index 5a5cb5db5a5..d8e102dc7fb 100644
--- a/CONTRIBUTE
+++ b/CONTRIBUTE
@@ -257,26 +257,8 @@ If your test lasts longer than some few seconds, mark it in its
257To run tests on the entire Emacs tree, run "make check" from the 257To run tests on the entire Emacs tree, run "make check" from the
258top-level directory. Most tests are in the directory 258top-level directory. Most tests are in the directory
259"test/automated". From the "test/automated" directory, run "make 259"test/automated". From the "test/automated" directory, run "make
260<filename>" to run the tests for <filename>.el(c). See 260<filename>" to run the tests for <filename>.el(c). See "test/README"
261"test/automated/Makefile" for more information. 261for more information.
262
263Tests which are tagged ":expensive-test" are enabled additionally, if
264you run "make check-expensive" from the top-level directory. "make
265<filename>" as mentioned above incorporates expensive tests for
266<filename>.el(c). You can also define any ert selector on the command
267line. So "make check SELECTOR=nil" is equivalent to "make
268check-expensive".
269
270You 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
274Selectors can be defined with different methods, see (info "(ert)Test
275Selectors") or
276https://www.gnu.org/software/emacs/manual/html_node/ert/Test-Selectors.html
277If 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
279could use a regexp: "make <filename> SELECTOR='\"foo$$\"'" .
280 262
281** Understanding Emacs Internals. 263** Understanding Emacs Internals.
282 264