diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/Makefile.in | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/test/Makefile.in b/test/Makefile.in index d6ab7b244d2..9ad994e1101 100644 --- a/test/Makefile.in +++ b/test/Makefile.in | |||
| @@ -75,7 +75,7 @@ EMACS_EXTRAOPT = | |||
| 75 | EMACSOPT = --no-init-file --no-site-file --no-site-lisp -L "$(SEPCHAR)$(srcdir)" $(elpa_opts) $(EMACS_EXTRAOPT) | 75 | EMACSOPT = --no-init-file --no-site-file --no-site-lisp -L "$(SEPCHAR)$(srcdir)" $(elpa_opts) $(EMACS_EXTRAOPT) |
| 76 | 76 | ||
| 77 | # Prevent any settings in the user environment causing problems. | 77 | # Prevent any settings in the user environment causing problems. |
| 78 | unexport EMACSDATA EMACSDOC EMACSPATH GREP_OPTIONS XDG_CONFIG_HOME | 78 | unexport EMACSDATA EMACSDOC EMACSLOADPATH EMACSPATH GREP_OPTIONS XDG_CONFIG_HOME |
| 79 | 79 | ||
| 80 | # To run tests under a debugger, set this to eg: "gdb --args". | 80 | # To run tests under a debugger, set this to eg: "gdb --args". |
| 81 | GDB = | 81 | GDB = |
| @@ -118,10 +118,8 @@ MODULES_EMACSOPT := | |||
| 118 | endif | 118 | endif |
| 119 | 119 | ||
| 120 | # The actual Emacs command run in the targets below. | 120 | # The actual Emacs command run in the targets below. |
| 121 | # Prevent any setting of EMACSLOADPATH in user environment causing problems, | 121 | # Prevent locales influencing the text of the errors we expect to receive. |
| 122 | # and prevent locals to influence the text of the errors we expect to receive. | 122 | emacs = LANG=C EMACS_TEST_DIRECTORY=$(abspath $(srcdir)) \ |
| 123 | emacs = LANG=C EMACSLOADPATH= \ | ||
| 124 | EMACS_TEST_DIRECTORY=$(abspath $(srcdir)) \ | ||
| 125 | $(GDB) $(TEST_TIMEOUT) "$(EMACS)" $(MODULES_EMACSOPT) $(EMACSOPT) | 123 | $(GDB) $(TEST_TIMEOUT) "$(EMACS)" $(MODULES_EMACSOPT) $(EMACSOPT) |
| 126 | 124 | ||
| 127 | # Set HOME to a nonexistent directory to prevent tests from accessing | 125 | # Set HOME to a nonexistent directory to prevent tests from accessing |