branch: externals/eglot commit dae1de13d9ea6dc9d66680285e81174c54e83698 Author: João Távora <joaotav...@gmail.com> Commit: João Távora <joaotav...@gmail.com>
Tweak Makefile to run both tests in a row * Makefile (ELFILES): Add jsonrpc-tests.el (check): Also make jsonrpc-check (jsonrpc-check): Depend on jsonrpc-tests.el --- Makefile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index cdfeb79..6b95f9c 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ EMACS=emacs LOAD_PATH=-L . -ELFILES := eglot.el jsonrpc.el eglot-tests.el +ELFILES := eglot.el jsonrpc.el eglot-tests.el jsonrpc-tests.el ELCFILES := $(ELFILES:.el=.elc) all: compile @@ -20,15 +20,12 @@ compile: $(ELCFILES) # Automated tests # -check: compile - -check: SELECTOR=t -check: compile +check: compile jsonrpc-check $(EMACS) -Q --batch $(LOAD_PATH) \ -l eglot-tests \ -f ert-run-tests-batch-and-exit \ -jsonrpc-check: jsonrpc.elc +jsonrpc-check: jsonrpc.elc jsonrpc-tests.elc $(EMACS) -Q --batch $(LOAD_PATH) \ -l jsonrpc-tests \ -f ert-run-tests-batch-and-exit \