emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 815439e: * CONTRIBUTE: Add more examples for $(SE


From: Michael Albinus
Subject: [Emacs-diffs] emacs-25 815439e: * CONTRIBUTE: Add more examples for $(SELECTOR) make variable.
Date: Tue, 09 Feb 2016 10:07:46 +0000

branch: emacs-25
commit 815439eadc0ac0fb442be9f1269eadbf37471ff6
Author: Michael Albinus <address@hidden>
Commit: Michael Albinus <address@hidden>

    * CONTRIBUTE: Add more examples for $(SELECTOR) make variable.
---
 CONTRIBUTE |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/CONTRIBUTE b/CONTRIBUTE
index f1f3a3f..5a5cb5d 100644
--- a/CONTRIBUTE
+++ b/CONTRIBUTE
@@ -267,6 +267,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
+<filename> SELECTOR='$(SELECTOR_DEFAULT)'" runs all tests for
+<filename>.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 <filename> SELECTOR='\"foo$$\"'" .
+
 ** Understanding Emacs Internals.
 
 The best way to understand Emacs Internals is to read the code,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]