From d17aa3e535bba5e93ff188d5460c91001074255e Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Tue, 30 May 2017 12:50:54 -0400 Subject: [PATCH] Reduce scope of recent test/Makefile HOME change * test/Makefile.in (%.log): Move setting of HOME here from top-level. --- test/Makefile.in | 5 +---- 1 file changed, 1 insertion(+), 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 # 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) -- 2.39.2