branch: elpa/gnosis
commit 5880fdd8ccbad1a5846232e36bae3f87a7316a7c
Author: Thanos Apollo <pub...@thanosapollo.org>
Commit: Thanos Apollo <pub...@thanosapollo.org>

    Update makefile for new tests.
---
 Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index e493397a22..133988fec5 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ EMACS = emacs
 ORG := doc/gnosis.org
 TEXI := doc/gnosis.texi
 INFO := doc/gnosis.info
-TEST_FILE := gnosis-test.el
+TEST_FILE := tests/gnosis-test-auto.el
 
 all: doc
 
@@ -22,8 +22,9 @@ test:
        rm -f *.elc
        $(EMACS) --batch \
        -q \
+       --eval "(add-to-list 'load-path \"$(shell pwd)\")" \
        --load $(TEST_FILE) \
        --eval "(ert-run-tests-batch-and-exit)"
 
 clean:
-       rm -f $(TEXI) $(INFO)
+       rm -f $(TEXI) $(INFO) *.elc

Reply via email to