summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Wahl <marcowahlsoft@gmail.com>2017-03-07 11:23:57 +0100
committerMarco Wahl <marcowahlsoft@gmail.com>2017-03-07 11:23:57 +0100
commit5dfa6d6c470158ec8a956b83a81b23bda7c18d09 (patch)
tree8e1a58a584c488d78a6934ea6def5a741e1c0678
parent7ed93eba5a279cb4317c1aac6392ba27e43709f0 (diff)
downloadorg-mode-5dfa6d6c470158ec8a956b83a81b23bda7c18d09.tar.gz
testing/README: Added hint to 'test-dirty'
-rw-r--r--testing/README23
1 files changed, 20 insertions, 3 deletions
diff --git a/testing/README b/testing/README
index 4d28edb..2135990 100644
--- a/testing/README
+++ b/testing/README
@@ -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