[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 1ed034b: Always include the number of unexpected er
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master 1ed034b: Always include the number of unexpected ert tests |
Date: |
Fri, 12 Jul 2019 19:55:35 -0400 (EDT) |
branch: master
commit 1ed034b998bd76df95e8d7e2ae32ae4a3dfb3098
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Always include the number of unexpected ert tests
* lisp/emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit):
Always include the number of failed tests, because absence of the
text is not reassuring (bug#36616).
---
lisp/emacs-lisp/ert.el | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/lisp/emacs-lisp/ert.el b/lisp/emacs-lisp/ert.el
index ab24efe..fe6eb19 100644
--- a/lisp/emacs-lisp/ert.el
+++ b/lisp/emacs-lisp/ert.el
@@ -1524,16 +1524,10 @@ Ran \\([0-9]+\\) tests, \\([0-9]+\\) results as
expected\
(message "\nSUMMARY OF TEST RESULTS")
(message "-----------------------")
(message "Files examined: %d" nlogs)
- (message "Ran %d tests%s, %d results as expected%s%s"
+ (message "Ran %d tests%s, %d results as expected, %d unexpected, %d
skipped"
nrun
(if (zerop nnotrun) "" (format ", %d failed to run" nnotrun))
- nexpected
- (if (zerop nunexpected)
- ""
- (format ", %d unexpected" nunexpected))
- (if (zerop nskipped)
- ""
- (format ", %d skipped" nskipped)))
+ nexpected nunexpected nskipped)
(when notests
(message "%d files did not contain any tests:" (length notests))
(mapc (lambda (l) (message " %s" l)) notests))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 1ed034b: Always include the number of unexpected ert tests,
Lars Ingebrigtsen <=