[gtk/stack-fixes] Exclude some tests on too-old glib



commit 8b29c9e6f04c0d6161e3cd1cf51da8b631cd1809
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Feb 10 23:04:44 2019 -0500

    Exclude some tests on too-old glib
    
    I'm coming to the conclusion that the ci test
    failures are due to a recently fixed bug in
    GListStore.

 testsuite/gtk/singleselection.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/testsuite/gtk/singleselection.c b/testsuite/gtk/singleselection.c
index b307e70715..384b300b4d 100644
--- a/testsuite/gtk/singleselection.c
+++ b/testsuite/gtk/singleselection.c
@@ -542,8 +542,10 @@ main (int argc, char *argv[])
   selection_quark = g_quark_from_static_string ("Mana mana, badibidibi");
 
   g_test_add_func ("/singleselection/create", test_create);
+#if GLIB_CHECK_VERSION (2, 59, 1) /* g_list_store_get_item() has overflow issues before */
   g_test_add_func ("/singleselection/autoselect", test_autoselect);
   g_test_add_func ("/singleselection/selection", test_selection);
+#endif
   g_test_add_func ("/singleselection/can-unselect", test_can_unselect);
   g_test_add_func ("/singleselection/persistence", test_persistence);
   g_test_add_func ("/singleselection/query-range", test_query_range);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]