aboutsummaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2025-11-30 19:43:17 +0100
committerJonas Bernoulli <jonas@bernoul.li>2025-11-30 19:43:17 +0100
commitb572104164929b592cd980fad5afa9d216321ec1 (patch)
treea2c02045b355557e76894b873cbab7846b680ba6 /test/Makefile
parent4b90a7b890e0bcda16dcf34e1be9a2f5854c919f (diff)
make: Add new EMACS_Q_ARG variable
It defaults to "-Q" but users can instead use "-q", which is useful if "site-start.el" contains essential settings. Also rename `BATCH' to `EMACS_BATCH', add `EMACS_ORG' and `EMACS_INTR', and rework use of related variables.
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Makefile b/test/Makefile
index c7ab8b8..11eec3a 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -3,13 +3,13 @@ include ../default.mk
test: lisp
@printf "Testing...\n"
- @$(BATCH) --eval "(progn\
+ @$(EMACS_BATCH) --eval "(progn\
$$suppress_warnings\
(load-file \"$(TOP)test/magit-tests.el\")\
(ert-run-tests-batch-and-exit))"
test-interactive:
- @$(EMACS) -Q $(LOAD_PATH) --eval "(progn\
+ @$(EMACS_INTR) --eval "(progn\
(load-file \"$(TOP)test/magit-tests.el\")\
(ert t))"
@@ -17,7 +17,7 @@ lisp: magit-tests.elc
%.elc: %.el
@printf "Compiling $<\n"
- @$(BATCH) --eval "(progn\
+ @$(EMACS_BATCH) --eval "(progn\
(when (file-exists-p \"$@\")\
(delete-file \"$@\"))\
(setq with-editor-emacsclient-executable nil)\