Insist on batch Org testing

This commit is contained in:
Gerard Vermeulen 2024-01-22 12:13:01 +01:00
parent d944377292
commit 2f209b6f2c
1 changed files with 12 additions and 4 deletions

View File

@ -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