texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: Change locale for tp/tests


From: Gavin D. Smith
Subject: branch master updated: Change locale for tp/tests
Date: Thu, 14 Apr 2022 13:56:58 -0400

This is an automated email from the git hooks/post-receive script.

gavin pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new 1cf230bff1 Change locale for tp/tests
1cf230bff1 is described below

commit 1cf230bff1ce6022ed8e0a212578dd3589c562cc
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Thu Apr 14 18:56:48 2022 +0100

    Change locale for tp/tests
    
    * tp/tests/run_parser_all.sh: Change LC_ALL and LANGUAGE
    from C.UTF-8 to en_US.UTF-8.  This is an attempt to make the
    tests run on more systems.  On one system without a C.UTF-8
    locale, Perl printed:
    
      perl: warning: Setting locale failed.
      perl: warning: Please check that your locale settings:
             LC_ALL = "C.UTF-8",
             LC_COLLATE = "",
             LC_CTYPE = "",
             LC_MESSAGES = "",
             LC_MONETARY = "",
             LC_NUMERIC = "",
             LC_TIME = "",
             LANG = "en_US.UTF-8"
          are supported and installed on your system.
      perl: warning: Falling back to the standard locale ("C").
    
    The previous values were given on 2022-02-22 (not in ChangeLog).
---
 ChangeLog                  | 24 ++++++++++++++++++++++++
 tp/tests/run_parser_all.sh |  4 ++--
 2 files changed, 26 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 9f5c718fc5..aa3695c958 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,27 @@
+2022-04-14  Gavin Smith  <gavinsmith0123@gmail.com>
+
+       Change locale for tp/tests
+
+       * tp/tests/run_parser_all.sh: Change LC_ALL and LANGUAGE
+       from C.UTF-8 to en_US.UTF-8.  This is an attempt to make the
+       tests run on more systems.  On one system without a C.UTF-8
+       locale, Perl printed:
+
+         perl: warning: Setting locale failed.
+         perl: warning: Please check that your locale settings:
+                LC_ALL = "C.UTF-8",
+                LC_COLLATE = "",
+                LC_CTYPE = "",
+                LC_MESSAGES = "",
+                LC_MONETARY = "",
+                LC_NUMERIC = "",
+                LC_TIME = "",
+                LANG = "en_US.UTF-8"
+             are supported and installed on your system.
+         perl: warning: Falling back to the standard locale ("C").
+
+       The previous values were given on 2022-02-22 (not in ChangeLog).
+
 2022-04-14  Gavin Smith  <gavinsmith0123@gmail.com>
 
        Conditionally skip a test
diff --git a/tp/tests/run_parser_all.sh b/tp/tests/run_parser_all.sh
index 492fdbbaba..3054ba010f 100755
--- a/tp/tests/run_parser_all.sh
+++ b/tp/tests/run_parser_all.sh
@@ -126,8 +126,8 @@ post_process_output ()
   fi
 }
 
-LC_ALL=C.UTF-8; export LC_ALL
-LANGUAGE=C.UTF-8; export LANGUAGE
+LC_ALL=en_US.UTF-8; export LC_ALL
+LANGUAGE=en_US.UTF-8; export LANGUAGE
 
 prepended_command=
 #prepended_command=time



reply via email to

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