Revert "* lisp/emacs-lisp/ert.el (ert-run-tests-batch-and-exit): Inhibit interaction"

This reverts commit bb9133f09d,
because it inadvertently made many tests fail.
This commit is contained in:
Mattias Engdegård 2023-08-14 10:16:32 +02:00
parent b9b4d8689f
commit dcaf424cb6

View file

@ -1540,9 +1540,7 @@ 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)))
;; Don't ever wait for user input.
(inhibit-interaction t))
(make-temp-file "test-nativecomp-cache-" t))))
(when eln-dir
(startup-redirect-eln-cache eln-dir))
;; Better crash loudly than attempting to recover from undefined