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

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

[elpa] externals/eglot fab7f8b 44/69: Improve Makefile test targets


From: João Távora
Subject: [elpa] externals/eglot fab7f8b 44/69: Improve Makefile test targets
Date: Fri, 22 Jun 2018 11:55:01 -0400 (EDT)

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

    Improve Makefile test targets
    
    * Makefile (eglot-check): new target.
    (jsonrpc-check): Use SELECTOR.
    (check): Calle eglot-check  and jsonrpc-check
---
 Makefile | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index 6b95f9c..df15914 100644
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,7 @@
 # Variables
 #
 EMACS=emacs
+SELECTOR=t
 
 LOAD_PATH=-L .
 
@@ -20,15 +21,17 @@ compile: $(ELCFILES)
 
 # Automated tests
 #
-check: compile jsonrpc-check
+eglot-check: compile 
        $(EMACS) -Q --batch $(LOAD_PATH)                                \
                -l eglot-tests                                          \
-               -f ert-run-tests-batch-and-exit                         \
+               --eval '(ert-run-tests-batch-and-exit (quote $(SELECTOR)))'
 
 jsonrpc-check: jsonrpc.elc jsonrpc-tests.elc
        $(EMACS) -Q --batch $(LOAD_PATH)                                \
                -l jsonrpc-tests                                        \
-               -f ert-run-tests-batch-and-exit                         \
+               --eval '(ert-run-tests-batch-and-exit (quote $(SELECTOR)))'
+
+check: eglot-check jsonrpc-check
 
 # Cleanup
 #



reply via email to

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