emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/eglot dae1de1 41/69: Tweak Makefile to run both tests i


From: João Távora
Subject: [elpa] externals/eglot dae1de1 41/69: Tweak Makefile to run both tests in a row
Date: Fri, 22 Jun 2018 11:55:01 -0400 (EDT)

branch: externals/eglot
commit dae1de13d9ea6dc9d66680285e81174c54e83698
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>

    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                         \



reply via email to

[Prev in Thread] Current Thread [Next in Thread]