diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2025-11-30 19:44:39 +0100 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2025-11-30 19:44:39 +0100 |
| commit | a91418a93c4ae450e8afaa669e29aa3c57518cb2 (patch) | |
| tree | 4019cb567dac0ade13fe764d5f55165e885fd2da /test | |
| parent | d272c3a773a664f33cd61341194d186b1158b4b1 (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 add `EMACS_BATCH'
and `EMACS_ORG', and rework use of related variables.
Diffstat (limited to 'test')
| -rw-r--r-- | test/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Makefile b/test/Makefile index 5476705..277f124 100644 --- a/test/Makefile +++ b/test/Makefile @@ -5,14 +5,14 @@ LOAD_PATH += -L $(TOP)test test: lisp @printf " Testing...\n" - @$(EMACS) -Q --batch $(EMACS_ARGS) $(LOAD_PATH) \ - -l ert -l $(PKG)-test -f ert-run-tests-batch-and-exit + @$(EMACS_BATCH) --load ert --load $(PKG)-test \ + --funcall ert-run-tests-batch-and-exit lisp: ../lisp/$(PKG).elc $(PKG)-test.elc %.elc: %.el @printf "Compiling $<\n" - @$(EMACS) -Q --batch $(EMACS_ARGS) $(LOAD_PATH) -f batch-byte-compile $< + @$(EMACS_BATCH) --funcall batch-byte-compile $< clean: @printf " Cleaning test/*...\n" |
