[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Locale-related test failures
From: |
Gavin Smith |
Subject: |
Re: Locale-related test failures |
Date: |
Sat, 12 Feb 2022 10:33:05 +0000 |
On Sat, Feb 12, 2022 at 10:09 AM Gavin Smith <gavinsmith0123@gmail.com> wrote:
>
> I've got test failures in the tp/t directory. They appear to be
> related to translations:
I found the following fixed it:
diff --git a/ChangeLog b/ChangeLog
index 5f4b1cf67b..dd511355c8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2022-02-12 Gavin Smith <gavinsmith0123@gmail.com>
+
+ * tp/t/test_utils.pl: Set LANGUAGE environment variable as well
+ as LC_ALL for consistent test results.
+
2022-02-09 Patrice Dumas <pertusus@free.fr>
* man/info.5, man/texinfo.5: format man page name in Bold and
diff --git a/tp/t/test_utils.pl b/tp/t/test_utils.pl
index afa0ad87ca..c626610858 100644
--- a/tp/t/test_utils.pl
+++ b/tp/t/test_utils.pl
@@ -28,6 +28,7 @@ Texinfo::ModulePath::init(undef, undef, 'updirs' => 2);
# For consistent test results, use the C locale
$ENV{LC_ALL} = 'C';
+$ENV{LANGUAGE} = 'en';
} # end BEGIN
I'll commit this change later today (can't do it right now because I'm
using a different computer).