branch: externals/org
commit 0f586e82f1326be7ba1be033529de73ba02688cc
Author: Derek Chen-Becker <o...@chen-becker.org>
Commit: Ihor Radchenko <yanta...@posteo.net>

    testing/README: Add details on use of TEST_NO_AUTOCLEAN
    
    * testing/README: Add a section on the use of the TEST_NO_AUTOCLEAN make 
variable
    
    While doing some testing I needed this functionality to debug a test and
    found this variable was helpful.  Add a section to the README so that
    others may benefit without having to dig through makefiles.
---
 testing/README | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/testing/README b/testing/README
index 1c4dd9e76d..72a28d75c7 100644
--- a/testing/README
+++ b/testing/README
@@ -86,6 +86,15 @@ Ran 2 tests, 2 results as expected (2017-12-28 15:04:45+0100)
 ...
 #+end_example
 
+** Keep test artifacts
+
+Set the ~TEST_NO_AUTOCLEAN~ variable to leave the test directory
+around for inspection.
+
+#+begin_src sh :dir (expand-file-name "..") :results silent
+make TEST_NO_AUTOCLEAN=1 test-dirty
+#+end_src
+
 * Interactive testing from within Emacs
 
 To run the Org mode test suite from a current Emacs instance simply

Reply via email to