X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/0e7b901b905fb8db3c7e391661f1510e96ff3814..8456ba1d493d5e5b46e450d0e8b2dd1577f246ab:/CONTRIBUTE diff --git a/CONTRIBUTE b/CONTRIBUTE index 7fdfeb0f46..71bbebb7da 100644 --- a/CONTRIBUTE +++ b/CONTRIBUTE @@ -278,6 +278,17 @@ you run "make check-expensive" from the top-level directory. "make line. So "make check SELECTOR=nil" is equivalent to "make check-expensive". +You could also use predefined selectors of the Makefile. "make + SELECTOR='$(SELECTOR_DEFAULT)'" runs all tests for +.el(c) except the tests tagged as expensive. + +Selectors can be defined with different methods, see (info "(ert)Test +Selectors") or +https://www.gnu.org/software/emacs/manual/html_node/ert/Test-Selectors.html +If your test file contains the tests "test-foo", "test2-foo" and +"test-foo-remote", and you want to run only the former two tests, you +could use a regexp: "make SELECTOR='\"foo$$\"'" . + ** Understanding Emacs Internals. The best way to understand Emacs Internals is to read the code,