diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2021-01-28 12:13:29 -0500 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2021-01-28 12:13:43 -0500 |
commit | 91f9d6788e83e619b2df5a30ca4ab9f4be0a11b0 (patch) | |
tree | 40af592f92668b490fd85e5ac9367d3ecb2f61b1 /test/Makefile.in | |
parent | ac102bb966f7944babbd8594684550905eecca0a (diff) | |
download | emacs-91f9d6788e83e619b2df5a30ca4ab9f4be0a11b0.tar.gz |
* test/Makefile.in (emacs): Use the C locale
This fixes spurious test failures in my environment for
`diff-mode-test-font-lock-syntax-one-line` (where my `diff` otherwise
returns "No newline at end of file" in French) and for
various tests in `emacs-module-tests` because errors signal
"Abandon" instead of "Abort".
Diffstat (limited to 'test/Makefile.in')
-rw-r--r-- | test/Makefile.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/Makefile.in b/test/Makefile.in index c5e86df3761..f907602a622 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -122,8 +122,9 @@ MODULES_EMACSOPT := endif # The actual Emacs command run in the targets below. -# Prevent any setting of EMACSLOADPATH in user environment causing problems. -emacs = EMACSLOADPATH= \ +# Prevent any setting of EMACSLOADPATH in user environment causing problems, +# and prevent locals to influence the text of the errors we expect to receive. +emacs = LANG=C EMACSLOADPATH= \ EMACS_TEST_DIRECTORY=$(abspath $(srcdir)) \ $(GDB) "$(EMACS)" $(MODULES_EMACSOPT) $(EMACSOPT) |