emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master bb9133f09da: * lisp/emacs-lisp/ert.el (ert-run-tests-batch-an


From: Mattias Engdegård
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

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]