aboutsummaryrefslogtreecommitdiffstats
path: root/test/automated/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'test/automated/Makefile.in')
-rw-r--r--test/automated/Makefile.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/automated/Makefile.in b/test/automated/Makefile.in
index 764b80ece9..9d9f60e3ef 100644
--- a/test/automated/Makefile.in
+++ b/test/automated/Makefile.in
@@ -41,6 +41,9 @@ EMACSOPT = -batch --no-site-file --no-site-lisp -L "$(SEPCHAR)$(srcdir)"
# Extra flags to pass to the byte compiler.
BYTE_COMPILE_EXTRA_FLAGS =
+# Prevent any settings in the user environment causing problems.
+unexport EMACSDATA EMACSDOC EMACSPATH
+
# The actual Emacs command run in the targets below.
# Prevent any setting of EMACSLOADPATH in user environment causing problems.
emacs = EMACSLOADPATH= LC_ALL=C EMACS_TEST_DIRECTORY=$(srcdir) "$(EMACS)" $(EMACSOPT)