projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14cd2a0
)
* lisp/emacs-lisp/ert.el (ert-run-tests-batch-and-exit): Inhibit interaction
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Sun, 13 Aug 2023 19:21:34 +0000
(15:21 -0400)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Sun, 13 Aug 2023 19:21:52 +0000
(15:21 -0400)
lisp/emacs-lisp/ert.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/ert.el
b/lisp/emacs-lisp/ert.el
index be9f013ebcf3b32e06b7910429f26f75ef05292d..cd4b9c5a2b3da2a2996c93b94a26a8dcdea7723e 100644
(file)
--- a/
lisp/emacs-lisp/ert.el
+++ b/
lisp/emacs-lisp/ert.el
@@
-1540,7
+1540,9
@@
the tests)."
(or noninteractive
(user-error "This function is only for use in batch mode"))
(let ((eln-dir (and (featurep 'native-compile)
- (make-temp-file "test-nativecomp-cache-" t))))
+ (make-temp-file "test-nativecomp-cache-" t)))
+ ;; Don't ever wait for user input.
+ (inhibit-interaction t))
(when eln-dir
(startup-redirect-eln-cache eln-dir))
;; Better crash loudly than attempting to recover from undefined