branch: externals/transient
commit 331ce00506ea57aefbcd0165276cee1039e9e894
Author: Jonas Bernoulli <[email protected]>
Commit: Jonas Bernoulli <[email protected]>

    make: Improve test target
---
 test/Makefile | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/test/Makefile b/test/Makefile
index 277f124d34..6dee3ad6f5 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -1,14 +1,13 @@
 -include ../config.mk
 include ../default.mk
 
-LOAD_PATH += -L $(TOP)test
+LOAD_PATH += -L ../lisp
 
 test: lisp
        @printf "  Testing...\n"
-       @$(EMACS_BATCH) --load ert --load $(PKG)-test \
-       --funcall ert-run-tests-batch-and-exit
+       @$(EMACS_BATCH) -l $(PKG)-test -f ert-run-tests-batch-and-exit
 
-lisp: ../lisp/$(PKG).elc $(PKG)-test.elc
+lisp: $(addprefix ../lisp/,$(ELCS)) $(PKG)-test.elc
 
 %.elc: %.el
        @printf "Compiling $<\n"

Reply via email to