* lisp/emacs-lisp/ert.el (ert-run-tests-batch-and-exit): Inhibit interaction
This commit is contained in:
parent
14cd2a058e
commit
bb9133f09d
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue