From 22370099832f509ecb6ecc4037d7eaed71ed9ef3 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Wed, 5 Sep 2018 17:26:35 +0200 Subject: testsuite: Disable some tests with older glib Fixes CI. --- testsuite/gtk/flattenlistmodel.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testsuite/gtk/flattenlistmodel.c b/testsuite/gtk/flattenlistmodel.c index c1ea5dfaf3..f522f1e121 100644 --- a/testsuite/gtk/flattenlistmodel.c +++ b/testsuite/gtk/flattenlistmodel.c @@ -364,9 +364,11 @@ main (int argc, char *argv[]) g_test_add_func ("/flattenlistmodel/create_empty", test_create_empty); g_test_add_func ("/flattenlistmodel/create", test_create); g_test_add_func ("/flattenlistmodel/model/add", test_model_add); +#if GLIB_CHECK_VERSION (2, 58, 0) /* g_list_store_splice() is broken before 2.58 */ g_test_add_func ("/flattenlistmodel/submodel/add", test_submodel_add); g_test_add_func ("/flattenlistmodel/model/remove", test_model_remove); g_test_add_func ("/flattenlistmodel/submodel/remove", test_submodel_remove); +#endif return g_test_run (); } -- cgit v1.2.1