From: Glenn Morris Date: Tue, 18 Dec 2018 06:52:34 +0000 (-0800) Subject: Tiny ert-summarize-tests-batch-and-exit improvement X-Git-Tag: emacs-27.0.90~3968 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=73b2f7ac698601d3dfbedd7949d95bc506497c50;p=emacs.git Tiny ert-summarize-tests-batch-and-exit improvement * lisp/emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): Report the details of unexpected passes as well as failures. --- diff --git a/lisp/emacs-lisp/ert.el b/lisp/emacs-lisp/ert.el index 9702a11998e..6d4d90e4986 100644 --- a/lisp/emacs-lisp/ert.el +++ b/lisp/emacs-lisp/ert.el @@ -1563,7 +1563,8 @@ Ran \\([0-9]+\\) tests, \\([0-9]+\\) results as expected\ (message "-------") (with-temp-buffer (dolist (x (list (list skipped "skipped" "SKIPPED") - (list unexpected "unexpected" "FAILED"))) + (list unexpected "unexpected" + "\\(?:FAILED\\|PASSED\\)"))) (mapc (lambda (l) (erase-buffer) (insert-file-contents l)