[gtk/wip/otte/listmodel: 12/22] 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/22] testsuite: Disable some tests with older glib
- Date: Wed, 12 Sep 2018 11:55:26 +0000 (UTC)
commit 7b290d91525e541fe07f0058e556d402aa550ae1
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]