[pango/pango2-color-palette: 35/71] Revert "Disable known-broken tests"




commit fd012e5f1f66c7e527b02aadca8bcd8025bc48ba
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Jun 22 23:31:15 2022 -0400

    Revert "Disable known-broken tests"
    
    This reverts commit 1c3973c9eee4dffb7e853a80f57a3e26dad4b781.

 tests/testmisc.c   | 7 ++-----
 tests/testrandom.c | 6 ------
 2 files changed, 2 insertions(+), 11 deletions(-)
---
diff --git a/tests/testmisc.c b/tests/testmisc.c
index 466c1f041..f1749c359 100644
--- a/tests/testmisc.c
+++ b/tests/testmisc.c
@@ -259,9 +259,9 @@ test_version_info (void)
 {
   char *str;
 
+  g_assert_null (pango_version_check (1, 0, 0));
   g_assert_null (pango_version_check (PANGO_VERSION_MAJOR, PANGO_VERSION_MINOR, PANGO_VERSION_MICRO));
-  g_assert_nonnull (pango_version_check (1, 0, 0));
-  g_assert_null (pango_version_check (1, 90, 0));
+  g_assert_nonnull (pango_version_check (2, 0, 0));
 
   str = g_strdup_printf ("%d.%d.%d", PANGO_VERSION_MAJOR, PANGO_VERSION_MINOR, PANGO_VERSION_MICRO);
   g_assert_cmpstr (str, ==, pango_version_string ());
@@ -653,9 +653,6 @@ test_gravity_metrics (void)
   PangoRectangle ink[4];
   PangoRectangle log[4];
 
-  g_test_skip ("skipping known broken tests");
-  return;
-
   map = pango_font_map_get_default ();
   context = pango_context_new_with_font_map (map);
 
diff --git a/tests/testrandom.c b/tests/testrandom.c
index 683faa357..024695875 100644
--- a/tests/testrandom.c
+++ b/tests/testrandom.c
@@ -111,12 +111,6 @@ test_wrap_char (gconstpointer data)
   Size sizes[100];
   gsize i, j;
 
-  if (dir != PANGO_DIRECTION_LTR)
-    {
-      g_test_skip ("Skipping known broken tetts");
-      return;
-    }
-
   context = pango_context_new ();
   desc = pango_font_description_from_string ("Sans 10");
   layout = pango_layout_new (context);


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