emacs-diffs
[Top][All Lists]
Advanced

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

master dcaf424cb6b: Revert "* lisp/emacs-lisp/ert.el (ert-run-tests-batc


From: Mattias Engdegård
Subject: master dcaf424cb6b: Revert "* lisp/emacs-lisp/ert.el (ert-run-tests-batch-and-exit): Inhibit interaction"
Date: Mon, 14 Aug 2023 04:19:55 -0400 (EDT)

branch: master
commit dcaf424cb6b6527f5f31b62674aad339a5058d32
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>

    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



reply via email to

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