Commit 58eba765 authored by Jeremy Bicha's avatar Jeremy Bicha 🎹

tests: unset language-related environment variables

This fixes the tests in environments where these variables have
been set, such as on developer's personal systems.
parent ca8fede7
Pipeline #61185 passed with stage
in 3 minutes and 17 seconds
......@@ -573,13 +573,18 @@ main (int argc, char **argv)
const char *basedir;
GFile *file;
/* unset environment variables that can interfere with our tests */
/* I don't want to fight fuzzy scaling algorithms in GPUs,
* so unless you explicitly set it to something else, we
* will use Cairo's image surface.
g_setenv ("GDK_RENDERING", "image", FALSE);
setlocale (LC_ALL, "");
g_test_init (&argc, &argv, NULL);
gtk_init (&argc, &argv);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment