diff options
Diffstat (limited to 'test/README')
| -rw-r--r-- | test/README | 11 |
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. | |||
| 56 | 56 | ||
| 57 | If your test file contains the tests "test-foo", "test2-foo" and | 57 | If your test file contains the tests "test-foo", "test2-foo" and |
| 58 | "test-foo-remote", and you want to run only the former two tests, you | 58 | "test-foo-remote", and you want to run only the former two tests, you |
| 59 | could use a selector regexp: "make <filename> SELECTOR='\"foo$$\"'". | 59 | could use a selector regexp (note that the "$" needs to be doubled to |
| 60 | protect against "make" variable expansion): | ||
| 61 | |||
| 62 | make <filename> SELECTOR='"foo$$"' | ||
| 60 | 63 | ||
| 61 | Note that although the test files are always compiled (unless they set | 64 | Note that although the test files are always compiled (unless they set |
| 62 | no-byte-compile), the source files will be run when expensive or | 65 | 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 | |||
| 70 | 73 | ||
| 71 | make SUMMARIZE_TESTS=<nn> ... | 74 | make SUMMARIZE_TESTS=<nn> ... |
| 72 | 75 | ||
| 76 | The tests are run in batch mode by default; sometimes it's useful to | ||
| 77 | get precisely the same environment but run in interactive mode for | ||
| 78 | debugging. To do that, use | ||
| 79 | |||
| 80 | make TEST_INTERACTIVE=yes ... | ||
| 81 | |||
| 73 | 82 | ||
| 74 | (Also, see etc/compilation.txt for compilation mode font lock tests.) | 83 | (Also, see etc/compilation.txt for compilation mode font lock tests.) |
| 75 | 84 | ||