emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 7d27f5d: * lisp/emacs-lisp/ert.el (ert-run-tests):


From: Noam Postavsky
Subject: [Emacs-diffs] master 7d27f5d: * lisp/emacs-lisp/ert.el (ert-run-tests): Make INTERACTIVE arg optional.
Date: Tue, 28 Mar 2017 09:47:41 -0400 (EDT)

branch: master
commit 7d27f5d8f48b8f184eb93f64461e01c1481c8fb4
Author: Noam Postavsky <address@hidden>
Commit: Noam Postavsky <address@hidden>

    * lisp/emacs-lisp/ert.el (ert-run-tests): Make INTERACTIVE arg optional.
---
 lisp/emacs-lisp/ert.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/emacs-lisp/ert.el b/lisp/emacs-lisp/ert.el
index 611c673..e7387e4 100644
--- a/lisp/emacs-lisp/ert.el
+++ b/lisp/emacs-lisp/ert.el
@@ -1236,7 +1236,7 @@ SELECTOR is the selector that was used to select TESTS."
         (funcall listener 'test-ended stats test result))
       (setf (ert--stats-current-test stats) nil))))
 
-(defun ert-run-tests (selector listener interactively)
+(defun ert-run-tests (selector listener &optional interactively)
   "Run the tests specified by SELECTOR, sending progress updates to LISTENER."
   (let* ((tests (ert-select-tests selector t))
          (stats (ert--make-stats tests selector)))



reply via email to

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