diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-11-13 11:12:34 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-11-13 11:12:34 -0500 |
commit | 4db8ff2ea3b2b20c9b38670a3c49e73125f1673e (patch) | |
tree | db8b7a76d7b35f16f056833ad3fdc1e763a52964 /tests | |
parent | 60f8171f062b4653a41cce02a582caa25331c68f (diff) | |
download | pango-4db8ff2ea3b2b20c9b38670a3c49e73125f1673e.tar.gz |
Skip the test on macOSfix-itemize-crash
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testmisc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/testmisc.c b/tests/testmisc.c index 4861c3d0..555f0dce 100644 --- a/tests/testmisc.c +++ b/tests/testmisc.c @@ -788,6 +788,12 @@ test_small_caps_crash (void) PangoFontDescription *desc; int w, h; + if (strcmp (G_OBJECT_TYPE_NAME (pango_cairo_font_map_get_default ()), "PangoCairoCoreTextFontMap") == 0) + { + g_test_skip ("This test needs a fontmap that supports Small-Caps"); + return; + } + context = pango_font_map_create_context (pango_cairo_font_map_get_default ()); layout = pango_layout_new (context); desc = pango_font_description_from_string ("Cantarell Small-Caps 11"); |