testsuite: Disable some tests for older glib

This commit is contained in:
Benjamin Otte 2018-09-17 04:29:40 +02:00
parent 5571217218
commit 545c5f18b2

View File

@ -394,8 +394,10 @@ main (int argc, char *argv[])
g_test_add_func ("/sortlistmodel/create", test_create);
g_test_add_func ("/sortlistmodel/set-model", test_set_model);
g_test_add_func ("/sortlistmodel/set-sort-func", test_set_sort_func);
#if GLIB_CHECK_VERSION (2, 58, 0) /* g_list_store_splice() is broken before 2.58 */
g_test_add_func ("/sortlistmodel/add_items", test_add_items);
g_test_add_func ("/sortlistmodel/remove_items", test_remove_items);
#endif
return g_test_run ();
}