From: "Mattias Engdegård" <mattias.engdegard@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Michael Albinus <michael.albinus@gmx.de>, emacs-devel@gnu.org
Subject: Re: master bb9133f09da: * lisp/emacs-lisp/ert.el (ert-run-tests-batch-and-exit): Inhibit interaction
Date: Mon, 14 Aug 2023 16:25:13 +0200 [thread overview]
Message-ID: <18DBF0B1-8534-48C2-B5FE-4B324A93AB2A@gmail.com> (raw)
In-Reply-To: <jwvbkf9pvzv.fsf-monnier+emacs@gnu.org>
14 aug. 2023 kl. 16.00 skrev Stefan Monnier <monnier@iro.umontreal.ca>:
> FWIW, I added it because I'm seeing tests (e.g. `file-tests.el`) hang in
> `read-event` (apparently because a (cl-letf ((symbol-function ..)) ..)
> rebinding is not taking effect :-( ) and I figured that batch tests
> should indeed never need interaction.
I agree, but some tests persist. For example, abbrev-tests uses ert-simulate-keys to 'interact' with Emacs.
Other test do morally equivalent things, and it is indubitably useful to be able to test interactive features non-interactively in some way.
next prev parent reply other threads:[~2023-08-14 14:25 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <169195451549.1474.16374421496442723026@vcs2.savannah.gnu.org>
[not found] ` <20230813192155.C53CEC295F9@vcs2.savannah.gnu.org>
2023-08-14 7:13 ` master bb9133f09da: * lisp/emacs-lisp/ert.el (ert-run-tests-batch-and-exit): Inhibit interaction Michael Albinus
2023-08-14 8:25 ` Mattias Engdegård
2023-08-14 14:00 ` Stefan Monnier
2023-08-14 14:25 ` Mattias Engdegård [this message]
2023-08-14 14:39 ` Stefan Monnier
2023-08-14 15:01 ` Michael Albinus
2023-08-14 15:05 ` Stefan Monnier
2023-08-14 19:30 ` Jens Schmidt
2023-08-14 20:19 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=18DBF0B1-8534-48C2-B5FE-4B324A93AB2A@gmail.com \
--to=mattias.engdegard@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=michael.albinus@gmx.de \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.