diff options
| author | Glenn Morris | 2017-05-30 12:50:54 -0400 |
|---|---|---|
| committer | Glenn Morris | 2017-05-30 12:50:54 -0400 |
| commit | d17aa3e535bba5e93ff188d5460c91001074255e (patch) | |
| tree | 6851f74a19e05fc6e3179c1aeaa6a3a98ec27f23 /test | |
| parent | 1b01601d3f5d34a267c47e5d1208aa01730dd157 (diff) | |
| download | emacs-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.in | 5 |
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. |
| 54 | unexport EMACSDATA EMACSDOC EMACSPATH GREP_OPTIONS | 54 | unexport EMACSDATA EMACSDOC EMACSPATH GREP_OPTIONS |
| 55 | 55 | ||
| 56 | # Prevent tests using or changing anything in HOME. | ||
| 57 | export 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". |
| 60 | GDB = | 57 | GDB = |
| 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 | ||
| 131 | ifeq (@HAVE_MODULES@, yes) | 128 | ifeq (@HAVE_MODULES@, yes) |