testing/README: Added hint to 'test-dirty'

This commit is contained in:
Marco Wahl 2017-03-07 11:23:57 +01:00
parent 7ed93eba5a
commit 5dfa6d6c47
1 changed files with 20 additions and 3 deletions

View File

@ -36,16 +36,33 @@ The options in the above command are explained below.
| --eval | reloads Org-mode and allows evaluation of code blocks by the tests |
| -f | actually runs the tests using the `org-test-run-batch-tests' function |
* Trigger testing with 'make test'
* Trigger the tests with 'make'
Target ~test~ can be used to trigger a test run.
** Recompile all
#+BEGIN_SRC sh :dir (expand-file-name "..")
Target ~test~ can be used to trigger a test run. The tests start
after cleaning up and recompilation.
#+BEGIN_SRC sh :dir (expand-file-name "..") :results silent
make test
#+END_SRC
See ../mk/default.mk for details.
** Test dirty
The 'dirty' targets are for recompiling without cleaning and
rebuilding everything. This usually speeds up the recompilation
considerably.
The 'dirty' target is called test-dirty.
#+BEGIN_SRC sh :dir (expand-file-name "..") :results silent
make test-dirty
#+END_SRC
Note that the outcome may /not/ be in perfect shape.
* Interactive testing from within Emacs
To run the Org-mode test suite from a current Emacs instance simply