mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-28 23:16:14 +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,
|
||||
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_bug_base ("http://bugzilla.gnome.org/");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user