mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-11 05:13:50 +01:00
tests: Unset LANGUAGE when running gdatetime tests
In glibc, LANGUAGE is used as highest priority guess for category value. Unset it to avoid interference with tests using setlocale and translation. Issue #1357.
This commit is contained in:
parent
4afc203b1f
commit
69fbf3ed59
@ -2449,6 +2449,10 @@ gint
|
|||||||
main (gint argc,
|
main (gint argc,
|
||||||
gchar *argv[])
|
gchar *argv[])
|
||||||
{
|
{
|
||||||
|
/* In glibc, LANGUAGE is used as highest priority guess for category value.
|
||||||
|
* Unset it to avoid interference with tests using setlocale and translation. */
|
||||||
|
g_unsetenv ("LANGUAGE");
|
||||||
|
|
||||||
g_test_init (&argc, &argv, NULL);
|
g_test_init (&argc, &argv, NULL);
|
||||||
g_test_bug_base ("http://bugzilla.gnome.org/");
|
g_test_bug_base ("http://bugzilla.gnome.org/");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user