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



commit 78da8e4dc5a8f974f12775c89dcae637547bdd13
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..efe4a91ece 100644
--- a/testsuite/gtk/singleselection.c
+++ b/testsuite/gtk/singleselection.c
@@ -542,10 +542,12 @@ 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, 0) /* 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);
   g_test_add_func ("/singleselection/can-unselect", test_can_unselect);
   g_test_add_func ("/singleselection/persistence", test_persistence);
+#endif
   g_test_add_func ("/singleselection/query-range", test_query_range);
 #if GLIB_CHECK_VERSION (2, 58, 0) /* g_list_store_splice() is broken before 2.58 */
   g_test_add_func ("/singleselection/changes", test_changes);


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