diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2019-07-26 09:08:40 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2019-07-26 09:58:53 +0200 |
commit | 66db7b2c36c9189baf6f6b3d3fd7d04b3903cab4 (patch) | |
tree | a96f1c22f35079eae5ab64fcdc2d6f424f94017e /lisp/emacs-lisp | |
parent | 71f76a802503671fa495d81118dd3ae499a44660 (diff) | |
download | emacs-66db7b2c36c9189baf6f6b3d3fd7d04b3903cab4.tar.gz emacs-66db7b2c36c9189baf6f6b3d3fd7d04b3903cab4.tar.bz2 emacs-66db7b2c36c9189baf6f6b3d3fd7d04b3903cab4.zip |
Always include the number of unexpected results here too
* lisp/emacs-lisp/ert.el (ert-run-tests-batch): Always include the
number of unexpected results here as well.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/ert.el | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lisp/emacs-lisp/ert.el b/lisp/emacs-lisp/ert.el index c90c06d0849..272fd4aec2f 100644 --- a/lisp/emacs-lisp/ert.el +++ b/lisp/emacs-lisp/ert.el @@ -1351,15 +1351,13 @@ Returns the stats object." (let ((unexpected (ert-stats-completed-unexpected stats)) (skipped (ert-stats-skipped stats)) (expected-failures (ert--stats-failed-expected stats))) - (message "\n%sRan %s tests, %s results as expected%s%s (%s, %f sec)%s\n" + (message "\n%sRan %s tests, %s results as expected, %s unexpected%s (%s, %f sec)%s\n" (if (not abortedp) "" "Aborted: ") (ert-stats-total stats) (ert-stats-completed-expected stats) - (if (zerop unexpected) - "" - (format ", %s unexpected" unexpected)) + unexpected (if (zerop skipped) "" (format ", %s skipped" skipped)) |