From: Glenn Morris Date: Tue, 30 May 2017 16:50:54 +0000 (-0400) Subject: Reduce scope of recent test/Makefile HOME change X-Git-Tag: emacs-26.0.90~521^2~224^2~1 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d17aa3e535bba5e93ff188d5460c91001074255e;p=emacs.git Reduce scope of recent test/Makefile HOME change * test/Makefile.in (%.log): Move setting of HOME here from top-level. --- 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 # 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)