From dcaf424cb6b6527f5f31b62674aad339a5058d32 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Mon, 14 Aug 2023 10:16:32 +0200 Subject: [PATCH] Revert "* lisp/emacs-lisp/ert.el (ert-run-tests-batch-and-exit): Inhibit interaction" This reverts commit bb9133f09dafb069cafe2bea72452bd34b3d6dd2, because it inadvertently made many tests fail. --- lisp/emacs-lisp/ert.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lisp/emacs-lisp/ert.el b/lisp/emacs-lisp/ert.el index cd4b9c5a2b3..be9f013ebcf 100644 --- a/lisp/emacs-lisp/ert.el +++ b/lisp/emacs-lisp/ert.el @@ -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 -- 2.39.2