Merge branch 'unset-language' into 'master'

tests: Unset LANGUAGE when running gdatetime tests

See merge request GNOME/glib!504
This commit is contained in:
Philip Withnall 2018-12-03 11:26:55 +00:00
commit c1b2a38d5a

View File

@ -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/");