[gtk] testsuite: Disable some tests for older glib
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] testsuite: Disable some tests for older glib
- Date: Mon, 17 Sep 2018 02:57:03 +0000 (UTC)
commit 545c5f18b27bea1fd5ed5a4536a6c261f5fc1748
Author: Benjamin Otte <otte redhat com>
Date: Mon Sep 17 04:29:40 2018 +0200
testsuite: Disable some tests for older glib
testsuite/gtk/sortlistmodel.c | 2 ++
1 file changed, 2 insertions(+)
---
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 ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]