From 2f209b6f2cd7cd4c5d46008b7be38445332a1d81 Mon Sep 17 00:00:00 2001 From: Gerard Vermeulen Date: Mon, 22 Jan 2024 12:13:01 +0100 Subject: [PATCH] Insist on batch Org testing --- README.org | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/README.org b/README.org index 8ff2e70..d429271 100644 --- a/README.org +++ b/README.org @@ -3794,11 +3794,19 @@ define the [[https://orgmode.org/][Org mode]] =kbd= macro in listing :CUSTOM_ID: sec:testing-org :END: -Listing [[lst:setup-org-mode-test-1]] and [[lst:setup-org-mode-test-2]] provide -facilities for [[https://orgmode.org/worg/org-tests/index.html][Testing Org]]. +Listing [[lst:batch-org-testing]] shows the recommended way: use =make test= in a +clean Org git repository. Listing [[lst:setup-org-mode-test-1]] and +[[lst:setup-org-mode-test-2]] provide facilities for [[https://orgmode.org/worg/org-tests/index.html][Testing Org]] interactively. + +#+caption[Batch Org testing]: +#+caption: Batch Org testing: obligatory before mailing a patch. +#+name: lst:batch-org-testing +#+begin_src shell -n :eval never :tangle no +make test > out.txt 2>&1 +#+end_src #+caption[Testing Org facilities 1]: -#+caption: Testing Org facilities 1. +#+caption: Testing Org facilities 1: for use during development only. #+name: lst:setup-org-mode-test-1 #+begin_src emacs-lisp -n (with-eval-after-load 'emacs @@ -3841,7 +3849,7 @@ facilities for [[https://orgmode.org/worg/org-tests/index.html][Testing Org]]. #+end_src #+caption[Testing Org facilities 2]: -#+caption: Testing Org facilities 2. +#+caption: Testing Org facilities 2: for use during development only. #+name: lst:setup-org-mode-test-2 #+begin_src emacs-lisp -n (with-eval-after-load 'emacs