summaryrefslogtreecommitdiff
path: root/test/README
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2018-06-18 12:14:24 -0700
committerGlenn Morris <rgm@gnu.org>2018-06-18 12:14:24 -0700
commitef02c9fd1a6bdafebc2bba58a551ec11e29bd394 (patch)
tree6d449f44290ca3506af22e8851118b39028c9c7c /test/README
parente347754df7b8ec6a6e5d1f1a7749f5a19746d55f (diff)
parent5bdc344780faabbc91b7e55306b2071dffb44fa2 (diff)
downloademacs-ef02c9fd1a6bdafebc2bba58a551ec11e29bd394.tar.gz
Merge from origin/emacs-26
5bdc344 ; Reduce quoting for SELECTOR in 'make -C test' (Bug#31744) b6b793b ; test/Makefile.in: Add TEST_INTERACTIVE option (Bug#31744). 1aa906f Make 'tags' targets respect --with-silent-rules (Bug#31744) Conflicts: test/Makefile.in test/README
Diffstat (limited to 'test/README')
-rw-r--r--test/README11
1 files changed, 10 insertions, 1 deletions
diff --git a/test/README b/test/README
index 1bfa9037ea6..83ee2614004 100644
--- a/test/README
+++ b/test/README
@@ -56,7 +56,10 @@ except the tests tagged as expensive or unstable.
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 selector regexp: "make <filename> SELECTOR='\"foo$$\"'".
+could use a selector regexp (note that the "$" needs to be doubled to
+protect against "make" variable expansion):
+
+ make <filename> SELECTOR='"foo$$"'
Note that although the test files are always compiled (unless they set
no-byte-compile), the source files will be run when expensive or
@@ -70,6 +73,12 @@ Some tests might take long time to run. In order to summarize the
make SUMMARIZE_TESTS=<nn> ...
+The tests are run in batch mode by default; sometimes it's useful to
+get precisely the same environment but run in interactive mode for
+debugging. To do that, use
+
+ make TEST_INTERACTIVE=yes ...
+
(Also, see etc/compilation.txt for compilation mode font lock tests.)