[pango/gravity-metrics-fix] Disable failing line height tests




commit 7a4af7a052e7e4187955aad9c4c60853bad806f9
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Oct 27 22:10:42 2021 -0400

    Disable failing line height tests
    
    These need to wait until 20ec670e124e4461075
    can be reapplied.

 tests/testmisc.c | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/tests/testmisc.c b/tests/testmisc.c
index b9ec81ea..85a3b0b5 100644
--- a/tests/testmisc.c
+++ b/tests/testmisc.c
@@ -125,6 +125,9 @@ test_line_height (void)
   g_object_unref (context);
 }
 
+#if 0
+/* These tests fail since I had to revert 20ec670e124e446107
+ */
 static void
 test_line_height2 (void)
 {
@@ -252,6 +255,7 @@ test_cursor_height2 (void)
   g_object_unref (layout);
   g_object_unref (context);
 }
+#endif
 
 static void
 test_attr_list_update (void)
@@ -668,11 +672,11 @@ main (int argc, char *argv[])
   g_test_add_func ("/layout/short-string-crash", test_short_string_crash);
   g_test_add_func ("/language/emoji-crash", test_language_emoji_crash);
   g_test_add_func ("/layout/line-height", test_line_height);
-  g_test_add_func ("/layout/line-height2", test_line_height2);
-  g_test_add_func ("/layout/line-height3", test_line_height3);
-  g_test_add_func ("/layout/run-height", test_run_height);
-  g_test_add_func ("/layout/cursor-height", test_cursor_height);
-  g_test_add_func ("/layout/cursor-height2", test_cursor_height2);
+  //g_test_add_func ("/layout/line-height2", test_line_height2);
+  //g_test_add_func ("/layout/line-height3", test_line_height3);
+  //g_test_add_func ("/layout/run-height", test_run_height);
+  //g_test_add_func ("/layout/cursor-height", test_cursor_height);
+  //g_test_add_func ("/layout/cursor-height2", test_cursor_height2);
   g_test_add_func ("/attr-list/update", test_attr_list_update);
   g_test_add_func ("/misc/version-info", test_version_info);
   g_test_add_func ("/misc/is-zerowidth", test_is_zero_width);


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