branch: externals/hyperbole commit ce3c3ff0d2f43bfa73ef8ebfa802d5842718399d Merge: ea0f4df3c7 00aea740e1 Author: Robert Weiner <r...@gnu.org> Commit: Robert Weiner <r...@gnu.org>
Merge branch 'master' of hyperbole; add Makefile 'batch-tests' --- ChangeLog | 5 +++++ Makefile | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ae16c751f4..b436ebdff1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -17,6 +17,11 @@ hyperbole-mode-map binding. Defer to org-mode and outline-minor-mode only when current command key matches this binding. +2022-02-19 Mats Lidell <ma...@gnu.org> + +* Makefile (test-all-output): Add target for interactive tests with + summary output. + 2022-02-18 Mats Lidell <ma...@gnu.org> * test/kcell-tests.el (kcell-tests--ref-to-id): Add test for diff --git a/Makefile b/Makefile index 679f2f999f..b4ffe0e59c 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ # Author: Bob Weiner # # Orig-Date: 15-Jun-94 at 03:42:38 -# Last-Mod: 13-Feb-22 at 10:35:20 by Bob Weiner +# Last-Mod: 19-Feb-22 at 10:43:51 by Mats Lidell # # Copyright (C) 1994-2021 Free Software Foundation, Inc. # See the file HY-COPY for license information. @@ -450,6 +450,11 @@ else $(EMACS) --quick $(PRELOADS) --eval "(load-file \"test/hy-test-dependencies.el\")" --eval "(let ((auto-save-default)) $(LOAD_TEST_ERT_FILES) (ert-run-tests-interactively t))" endif +batch-tests: test-all-output +test-all-output: + $(EMACS) --quick $(PRELOADS) --eval "(load-file \"test/hy-test-dependencies.el\")" --eval "(let ((auto-save-default) (ert-quiet t)) $(LOAD_TEST_ERT_FILES) (ert-run-tests-interactively t) (with-current-buffer \"*ert*\" (append-to-file (point-min) (point-max) \"ERT-OUTPUT\")) (kill-emacs))" + @echo "# Results written to file: ERT-OUTPUT" + # Hyperbole install tests - Verify that hyperbole can be installed # using different sources. See folder "install-test" .PHONY: install-elpa install-elpa-devel install-tarball install-straight install-all