summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2018-12-17 22:52:34 -0800
committerGlenn Morris <rgm@gnu.org>2018-12-17 22:52:34 -0800
commit73b2f7ac698601d3dfbedd7949d95bc506497c50 (patch)
tree3a78643e21cf54ffaf0891c91efc37cd01d4f665 /lisp/emacs-lisp
parent6973b1489b24ca4190d24be9e5f887aef2cc9eff (diff)
downloademacs-73b2f7ac698601d3dfbedd7949d95bc506497c50.tar.gz
emacs-73b2f7ac698601d3dfbedd7949d95bc506497c50.tar.bz2
emacs-73b2f7ac698601d3dfbedd7949d95bc506497c50.zip
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.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/ert.el3
1 files changed, 2 insertions, 1 deletions
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)