summaryrefslogtreecommitdiff
path: root/gio/tests/gsettings.c
diff options
context:
space:
mode:
Diffstat (limited to 'gio/tests/gsettings.c')
-rw-r--r--gio/tests/gsettings.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gio/tests/gsettings.c b/gio/tests/gsettings.c
index ef0ba06f0..33b8f677f 100644
--- a/gio/tests/gsettings.c
+++ b/gio/tests/gsettings.c
@@ -1065,11 +1065,13 @@ main (int argc, char *argv[])
g_setenv ("GSETTINGS_SCHEMA_DIR", ".", TRUE);
g_setenv ("GSETTINGS_BACKEND", "memory", TRUE);
- g_remove ("./store");
-
g_type_init ();
g_test_init (&argc, &argv, NULL);
+ g_remove ("gschemas.compiled");
+ g_assert (g_spawn_command_line_sync ("../gschema-compile --targetdir=. " SRCDIR,
+ NULL, NULL, NULL, NULL));
+
g_test_add_func ("/gsettings/basic", test_basic);
g_test_add_func ("/gsettings/no-schema", test_no_schema);
g_test_add_func ("/gsettings/unknown-key", test_unknown_key);