emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master d17aa3e: Reduce scope of recent test/Makefile HOME


From: Glenn Morris
Subject: [Emacs-diffs] master d17aa3e: Reduce scope of recent test/Makefile HOME change
Date: Tue, 30 May 2017 12:51:10 -0400 (EDT)

branch: master
commit d17aa3e535bba5e93ff188d5460c91001074255e
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>

    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 49a4dfd..d13288b 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]