From 4db8ff2ea3b2b20c9b38670a3c49e73125f1673e Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 13 Nov 2021 11:12:34 -0500 Subject: Skip the test on macOS --- tests/testmisc.c | 6 ++++++ 1 file changed, 6 insertions(+) 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"); -- cgit v1.2.1