[pango/pango2] Run all tests on MacOs
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/pango2] Run all tests on MacOs
- Date: Thu, 16 Jun 2022 10:28:39 +0000 (UTC)
commit e22e62b2d525c7256d0e755e08c033854ba0763c
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Jun 15 21:37:26 2022 -0400
Run all tests on MacOs
tests/test-font.c | 6 ------
tests/testmisc.c | 18 ------------------
2 files changed, 24 deletions(-)
---
diff --git a/tests/test-font.c b/tests/test-font.c
index 6bb8be7f..7c3b06db 100644
--- a/tests/test-font.c
+++ b/tests/test-font.c
@@ -326,12 +326,6 @@ test_roundtrip_small_caps (void)
hb_feature_t features[32];
guint num = 0;
- if (strcmp (G_OBJECT_TYPE_NAME (pango_font_map_get_default ()), "PangoCairoCoreTextFontMap") == 0)
- {
- g_test_skip ("Small Caps support needs to be added to PangoCoreTextFontMap");
- return;
- }
-
context = pango_context_new ();
desc = pango_font_description_from_string ("Cantarell Small-Caps 11");
diff --git a/tests/testmisc.c b/tests/testmisc.c
index c2158795..62a9daec 100644
--- a/tests/testmisc.c
+++ b/tests/testmisc.c
@@ -174,12 +174,6 @@ test_run_height (void)
PangoLineIter *iter;
PangoRectangle logical1, logical2;
- if (strcmp (G_OBJECT_TYPE_NAME (pango_font_map_get_default ()), "PangoCairoCoreTextFontMap") == 0)
- {
- g_test_skip ("This test fails on macOS and needs debugging");
- return;
- }
-
context = pango_context_new ();
layout = pango_layout_new (context);
pango_layout_set_text (layout, "one", -1);
@@ -605,12 +599,6 @@ test_empty_line_height (void)
int hint;
int size;
- if (strcmp (G_OBJECT_TYPE_NAME (pango_font_map_get_default ()), "PangoCairoCoreTextFontMap") == 0)
- {
- g_test_skip ("This test fails on macOS and needs debugging");
- return;
- }
-
context = pango_context_new ();
description = pango_font_description_new ();
@@ -813,12 +801,6 @@ test_small_caps_crash (void)
PangoFontDescription *desc;
PangoRectangle ext;
- if (strcmp (G_OBJECT_TYPE_NAME (pango_font_map_get_default ()), "PangoCairoCoreTextFontMap") == 0)
- {
- g_test_skip ("This test needs a fontmap that supports Small-Caps");
- return;
- }
-
context = pango_context_new ();
layout = pango_layout_new (context);
desc = pango_font_description_from_string ("Cantarell Small-Caps 11");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]