aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGlenn Morris2017-05-30 12:50:54 -0400
committerGlenn Morris2017-05-30 12:50:54 -0400
commitd17aa3e535bba5e93ff188d5460c91001074255e (patch)
tree6851f74a19e05fc6e3179c1aeaa6a3a98ec27f23 /test
parent1b01601d3f5d34a267c47e5d1208aa01730dd157 (diff)
downloademacs-d17aa3e535bba5e93ff188d5460c91001074255e.tar.gz
emacs-d17aa3e535bba5e93ff188d5460c91001074255e.zip
Reduce scope of recent test/Makefile HOME change
* test/Makefile.in (%.log): Move setting of HOME here from top-level.
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.in5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/Makefile.in b/test/Makefile.in
index 49a4dfdfd8d..d13288b895c 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -53,9 +53,6 @@ EMACSOPT = -batch --no-site-file --no-site-lisp -L "$(SEPCHAR)$(srcdir)" $(EMACS
53# Prevent any settings in the user environment causing problems. 53# Prevent any settings in the user environment causing problems.
54unexport EMACSDATA EMACSDOC EMACSPATH GREP_OPTIONS 54unexport EMACSDATA EMACSDOC EMACSPATH GREP_OPTIONS
55 55
56# Prevent tests using or changing anything in HOME.
57export HOME = /nonexistent
58
59## To run tests under a debugger, set this to eg: "gdb --args". 56## To run tests under a debugger, set this to eg: "gdb --args".
60GDB = 57GDB =
61 58
@@ -125,7 +122,7 @@ endif
125 echo Testing $$loadfile; \ 122 echo Testing $$loadfile; \
126 stat=OK ; \ 123 stat=OK ; \
127 ${MKDIR_P} $(dir $@) ; \ 124 ${MKDIR_P} $(dir $@) ; \
128 $(emacs) -l ert -l $$loadfile \ 125 HOME=/nonexistent $(emacs) -l ert -l $$loadfile \
129 --eval "(ert-run-tests-batch-and-exit ${SELECTOR_ACTUAL})" ${WRITE_LOG} 126 --eval "(ert-run-tests-batch-and-exit ${SELECTOR_ACTUAL})" ${WRITE_LOG}
130 127
131ifeq (@HAVE_MODULES@, yes) 128ifeq (@HAVE_MODULES@, yes)