diff options
author | Po Lu <luangruo@yahoo.com> | 2025-03-02 21:00:48 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2025-03-02 21:02:10 +0800 |
commit | e34d7a7c4eb90cde7a2dc55ac5a02fae303e5d0f (patch) | |
tree | ad564ec0e1e0958eeac8ce5d0ce7c93664231938 /test/lisp/erc/resources | |
parent | 749e33bb481eedbefe0fd24124b446f9c47728d5 (diff) | |
download | emacs-e34d7a7c4eb90cde7a2dc55ac5a02fae303e5d0f.tar.gz emacs-e34d7a7c4eb90cde7a2dc55ac5a02fae303e5d0f.tar.bz2 emacs-e34d7a7c4eb90cde7a2dc55ac5a02fae303e5d0f.zip |
; Adapt more tests for Android
* test/infra/android/test-controller.el (ats-eval): Document new
values of ats-eval.
(ats-run-test): Report conditions where tests induce Emacs to
exit.
* test/lisp/erc/resources/erc-tests-common.el
(erc-tests-common-kill-buffers): Bind
kill-buffer-query-functions to nil.
Diffstat (limited to 'test/lisp/erc/resources')
-rw-r--r-- | test/lisp/erc/resources/erc-tests-common.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/lisp/erc/resources/erc-tests-common.el b/test/lisp/erc/resources/erc-tests-common.el index eedea8c44de..91e248a944f 100644 --- a/test/lisp/erc/resources/erc-tests-common.el +++ b/test/lisp/erc/resources/erc-tests-common.el @@ -75,7 +75,10 @@ Assign the result to `erc-server-process' in the current buffer." ;; `get-buffer-create' with INHIBIT-BUFFER-HOOKS. (defun erc-tests-common-kill-buffers (&rest extra-buffers) "Kill all ERC buffers and possibly EXTRA-BUFFERS." - (let (erc-kill-channel-hook erc-kill-server-hook erc-kill-buffer-hook) + (let (erc-kill-channel-hook erc-kill-server-hook erc-kill-buffer-hook + ;; To facilitate automatic testing when a fake-server has already + ;; been created by an earlier ERT test. + (kill-buffer-query-functions nil)) (dolist (buf (erc-buffer-list)) (kill-buffer buf)) (named-let doit ((buffers extra-buffers)) |