Allow ERT tests to output the failure reasons, too
commit8be9d4a1568c34aed753b085d5d33daef5dfa797
authorJulian Scheid <jscheid@protonmail.com>
Tue, 15 Jun 2021 15:01:49 +0000 (15 17:01 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 15 Jun 2021 15:01:57 +0000 (15 17:01 +0200)
treeb2c3d84d4dcdc1fc6274f4ccb45c90f72eddfd34
parent81fd5603ce701a0acae096314c1f7ab1db69c64f
Allow ERT tests to output the failure reasons, too

* lisp/emacs-lisp/ert.el (ert-reason-for-test-result): New function.
(ert-run-tests-batch): Output failure or skip reason  (bug#47071).
doc/misc/ert.texi
etc/NEWS
lisp/emacs-lisp/ert.el