diff options
| author | Alan Mackenzie | 2017-05-30 17:39:40 +0000 |
|---|---|---|
| committer | Alan Mackenzie | 2017-05-30 17:39:40 +0000 |
| commit | 90e8d65118e1059ea6552c9e5eb59128af390200 (patch) | |
| tree | c17a230e718000468384604555d4132c42e236cb /test | |
| parent | caf9e31d714dc817118e2549557fdda3d28a4c2b (diff) | |
| parent | a12c7ea88eb218550654fdb511d9be114742d692 (diff) | |
| download | emacs-90e8d65118e1059ea6552c9e5eb59128af390200.tar.gz emacs-90e8d65118e1059ea6552c9e5eb59128af390200.zip | |
Merge branch 'master' of /home/acm/emacs/emacs.git/master
Diffstat (limited to 'test')
| -rw-r--r-- | test/Makefile.in | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/test/Makefile.in b/test/Makefile.in index c9065d90d1b..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) |
| @@ -138,7 +135,7 @@ ELFILES := $(shell find ${srcdir} -path "${srcdir}/manual" -prune -o \ | |||
| 138 | -path "${srcdir}/data" -prune -o \ | 135 | -path "${srcdir}/data" -prune -o \ |
| 139 | -name "*resources" -prune -o \ | 136 | -name "*resources" -prune -o \ |
| 140 | ${maybe_exclude_module_tests} \ | 137 | ${maybe_exclude_module_tests} \ |
| 141 | -name "*.el" -print) | 138 | -name "*.el" ! -name ".*" -print) |
| 142 | ## .log files may be in a different directory for out of source builds | 139 | ## .log files may be in a different directory for out of source builds |
| 143 | LOGFILES := $(patsubst %.el,%.log, \ | 140 | LOGFILES := $(patsubst %.el,%.log, \ |
| 144 | $(patsubst $(srcdir)/%,%,$(ELFILES))) | 141 | $(patsubst $(srcdir)/%,%,$(ELFILES))) |