mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 18:40:39 -08:00
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).
This commit is contained in:
parent
99e8d6fc26
commit
1ed034b998
1 changed files with 2 additions and 8 deletions
|
|
@ -1524,16 +1524,10 @@ Ran \\([0-9]+\\) tests, \\([0-9]+\\) results as expected\
|
||||||
(message "\nSUMMARY OF TEST RESULTS")
|
(message "\nSUMMARY OF TEST RESULTS")
|
||||||
(message "-----------------------")
|
(message "-----------------------")
|
||||||
(message "Files examined: %d" nlogs)
|
(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
|
nrun
|
||||||
(if (zerop nnotrun) "" (format ", %d failed to run" nnotrun))
|
(if (zerop nnotrun) "" (format ", %d failed to run" nnotrun))
|
||||||
nexpected
|
nexpected nunexpected nskipped)
|
||||||
(if (zerop nunexpected)
|
|
||||||
""
|
|
||||||
(format ", %d unexpected" nunexpected))
|
|
||||||
(if (zerop nskipped)
|
|
||||||
""
|
|
||||||
(format ", %d skipped" nskipped)))
|
|
||||||
(when notests
|
(when notests
|
||||||
(message "%d files did not contain any tests:" (length notests))
|
(message "%d files did not contain any tests:" (length notests))
|
||||||
(mapc (lambda (l) (message " %s" l)) notests))
|
(mapc (lambda (l) (message " %s" l)) notests))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue