summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2018-09-17 04:29:40 +0200
committerBenjamin Otte <otte@redhat.com>2018-09-17 04:30:28 +0200
commit545c5f18b27bea1fd5ed5a4536a6c261f5fc1748 (patch)
tree5985069ae95ffefc0ec95854aba5c0a438516c4b
parent557121721892bc9233636e3581f6c082368ed846 (diff)
downloadgtk+-545c5f18b27bea1fd5ed5a4536a6c261f5fc1748.tar.gz
testsuite: Disable some tests for older glib
-rw-r--r--testsuite/gtk/sortlistmodel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/gtk/sortlistmodel.c b/testsuite/gtk/sortlistmodel.c
index d2cb9fe7c3..31a6711f04 100644
--- a/testsuite/gtk/sortlistmodel.c
+++ b/testsuite/gtk/sortlistmodel.c
@@ -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 ();
}