1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 02:31:03 -08:00

Optimize "make check" and "make check-maybe"

* lisp/emacs-lisp/ert.el (ert-run-tests-batch): Print summary duration.

* test/Makefile.in (TEST_LOAD_EL): Set default to "no" for
targets all, check, and check-maybe.  (Bug#30807)

* test/README: Reflect recent changes in Makefile.

* test/lisp/net/tramp-archive-tests.el
(tramp-archive-test99-libarchive-tests): Tag it :unstable.
This commit is contained in:
Michael Albinus 2018-03-16 16:19:10 +01:00
parent a402d9aacb
commit 2d0853f62a
4 changed files with 33 additions and 9 deletions

View file

@ -1383,7 +1383,15 @@ Returns the stats object."
(if (zerop skipped)
""
(format ", %s skipped" skipped))
(ert--format-time-iso8601 (ert--stats-end-time stats))
(if ert-batch-print-duration
(format
"%s, %f sec"
(ert--format-time-iso8601 (ert--stats-end-time stats))
(float-time
(time-subtract
(ert--stats-end-time stats)
(ert--stats-start-time stats))))
(ert--format-time-iso8601 (ert--stats-end-time stats)))
(if (zerop expected-failures)
""
(format "\n%s expected failures" expected-failures)))