[gnumeric] Tests: remove WINDOWS_LANGUAGE from environment.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Tests: remove WINDOWS_LANGUAGE from environment.
- Date: Sun, 23 Feb 2014 03:35:28 +0000 (UTC)
commit ab64f2a5c2ae8281cf786d736979b253e65e2dfe
Author: Morten Welinder <terra gnome org>
Date: Sat Feb 22 16:24:51 2014 -0500
Tests: remove WINDOWS_LANGUAGE from environment.
libgsf listens for that and it might affect the codepage it picks
for certain things.
test/GnumericTest.pm | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/test/GnumericTest.pm b/test/GnumericTest.pm
index d25db66..c2612a7 100644
--- a/test/GnumericTest.pm
+++ b/test/GnumericTest.pm
@@ -5,6 +5,8 @@ use File::Basename qw(fileparse);
use Config;
use XML::Parser;
+$| = 1;
+
@GnumericTest::ISA = qw (Exporter);
@GnumericTest::EXPORT = qw(test_sheet_calc test_valgrind
test_importer test_exporter test_roundtrip
@@ -563,6 +565,9 @@ delete $ENV{'LANG'};
foreach (keys %ENV) { delete $ENV{$_} if /^LC_/; }
$ENV{'LC_ALL'} = 'C';
+# libgsf listens for this
+delete $ENV{'WINDOWS_LANGUAGE'};
+
if (@ARGV && $ARGV[0] eq '--verbose') {
$verbose = 1;
scalar shift @ARGV;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]