emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master c850fe6: Minor cleanup in CONTRIBUTE and test/READM


From: Michael Albinus
Subject: [Emacs-diffs] master c850fe6: Minor cleanup in CONTRIBUTE and test/README
Date: Tue, 16 Feb 2016 10:24:06 +0000

branch: master
commit c850fe6e0bcff5d33100b687ecf25a91f79f17b0
Author: Michael Albinus <address@hidden>
Commit: Michael Albinus <address@hidden>

    Minor cleanup in CONTRIBUTE and test/README
    
    * CONTRIBUTE: Remove detailed explanation about testing; this
    is now in test/README.
    
    * test/README: Don't mention automated/ subdirectory.
---
 CONTRIBUTE  |   25 +++----------------------
 test/README |    3 +--
 2 files changed, 4 insertions(+), 24 deletions(-)

diff --git a/CONTRIBUTE b/CONTRIBUTE
index d17e53c..e39c665 100644
--- a/CONTRIBUTE
+++ b/CONTRIBUTE
@@ -275,28 +275,9 @@ If your test lasts longer than some few seconds, mark it 
in its
 'ert-deftest' definition with ":tags '(:expensive-test)".
 
 To run tests on the entire Emacs tree, run "make check" from the
-top-level directory.  Most tests are in the directory
-"test/".  From the "test/" directory, run "make
-<filename>" to run the tests for <filename>.el(c).  See
-"test/Makefile" for more information.
-
-Tests which are tagged ":expensive-test" are enabled additionally, if
-you run "make check-expensive" from the top-level directory.  "make
-<filename>" as mentioned above incorporates expensive tests for
-<filename>.el(c). You can also define any ert selector on the command
-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$$\"'" .
+top-level directory.  Most tests are in the directory "test/".  From
+the "test/" directory, run "make <filename>" to run the tests for
+<filename>.el(c).  See "test/README" for more information.
 
 ** Understanding Emacs internals
 
diff --git a/test/README b/test/README
index d2aee9b..2994fca 100644
--- a/test/README
+++ b/test/README
@@ -8,8 +8,7 @@ Emacs uses ERT, Emacs Lisp Regression Testing, for testing.  
See (info
 "(ert)") or https://www.gnu.org/software/emacs/manual/html_node/ert/
 for more information on writing and running tests.
 
-All ERT test files are supposed to run from subdirectory automated/.
-The Makefile in that directory supports the following targets:
+The Makefile in this directory supports the following targets:
 
 * make check
   Run all tests as defined in the directory.  Expensive tests are



reply via email to

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