emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 91f9d67: * test/Makefile.in (emacs): Use the C locale


From: Stefan Monnier
Subject: master 91f9d67: * test/Makefile.in (emacs): Use the C locale
Date: Thu, 28 Jan 2021 12:13:49 -0500 (EST)

branch: master
commit 91f9d6788e83e619b2df5a30ca4ab9f4be0a11b0
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    * 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".
---
 test/Makefile.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/test/Makefile.in b/test/Makefile.in
index c5e86df..f907602 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)
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]