[gtk/wip/otte/listmodel: 12/21] testsuite: Disable some tests with older glib
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/otte/listmodel: 12/21] testsuite: Disable some tests with older glib
- Date: Wed, 12 Sep 2018 11:55:51 +0000 (UTC)
commit 6f1c2b1f0409a13913a99dfa4bcb6743b68ffda0
Author: Benjamin Otte <otte redhat com>
Date: Wed Sep 5 17:26:35 2018 +0200
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 ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]