From: Stefan Monnier Date: Thu, 28 Jan 2021 17:13:29 +0000 (-0500) Subject: * test/Makefile.in (emacs): Use the C locale X-Git-Tag: emacs-28.0.90~4074 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=91f9d6788e83e619b2df5a30ca4ab9f4be0a11b0;p=emacs.git * 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". --- 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)