Commit d17aa3e5 authored by Glenn Morris's avatar Glenn Morris
Browse files

Reduce scope of recent test/Makefile HOME change

* test/Makefile.in (%.log): Move setting of HOME here from top-level.
parent 1b01601d
......@@ -53,9 +53,6 @@ EMACSOPT = -batch --no-site-file --no-site-lisp -L "$(SEPCHAR)$(srcdir)" $(EMACS
# Prevent any settings in the user environment causing problems.
unexport EMACSDATA EMACSDOC EMACSPATH GREP_OPTIONS
# Prevent tests using or changing anything in HOME.
export HOME = /nonexistent
## To run tests under a debugger, set this to eg: "gdb --args".
GDB =
......@@ -125,7 +122,7 @@ endif
echo Testing $$loadfile; \
stat=OK ; \
${MKDIR_P} $(dir $@) ; \
$(emacs) -l ert -l $$loadfile \
HOME=/nonexistent $(emacs) -l ert -l $$loadfile \
--eval "(ert-run-tests-batch-and-exit ${SELECTOR_ACTUAL})" ${WRITE_LOG}
ifeq (@HAVE_MODULES@, yes)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment