From 5dfa6d6c470158ec8a956b83a81b23bda7c18d09 Mon Sep 17 00:00:00 2001 From: Marco Wahl Date: Tue, 7 Mar 2017 11:23:57 +0100 Subject: [PATCH] testing/README: Added hint to 'test-dirty' --- testing/README | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/testing/README b/testing/README index 4d28edb58..2135990cb 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