[pango/pango2: 262/301] Run all tests on MacOs
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/pango2: 262/301] Run all tests on MacOs
- Date: Wed, 22 Jun 2022 15:53:42 +0000 (UTC)
commit 53b73f6ca8e297610a9202660881d6ebd1fdcf6b
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 6bb8be7ff..7c3b06db2 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 c21587955..62a9daece 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]