diff options
author | Glenn Morris <rgm@gnu.org> | 2018-12-17 22:52:34 -0800 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2018-12-17 22:52:34 -0800 |
commit | 73b2f7ac698601d3dfbedd7949d95bc506497c50 (patch) | |
tree | 3a78643e21cf54ffaf0891c91efc37cd01d4f665 /lisp/emacs-lisp/ert.el | |
parent | 6973b1489b24ca4190d24be9e5f887aef2cc9eff (diff) | |
download | emacs-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/ert.el')
-rw-r--r-- | lisp/emacs-lisp/ert.el | 3 |
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) |