From 379688c56625022a6d7bd245a94b30649899a3f3 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 13 Mar 2025 14:47:34 -0600 Subject: [PATCH] [test-face] Relax on face load failure --- test/api/test-face.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/api/test-face.c b/test/api/test-face.c index 9d45eca29..de73b7b90 100644 --- a/test/api/test-face.c +++ b/test/api/test-face.c @@ -38,7 +38,11 @@ hb_blob_t *master_head = NULL; static void test_face (hb_face_t *face) { - g_assert_nonnull (face); + if (!face) + { + g_test_skip ("Failed to create face"); + return; + } hb_blob_t *head = hb_face_reference_table (face, HEAD_TAG);