[gtk] testsuite: Disable some tests with older glib
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] testsuite: Disable some tests with older glib
- Date: Sun, 16 Sep 2018 16:54:00 +0000 (UTC)
commit 22370099832f509ecb6ecc4037d7eaed71ed9ef3
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]