[cairo] [PATCH] Skip font-variations test for missing fonts

Uli Schlachter psychon at znc.in
Fri Mar 30 07:25:28 UTC 2018


Signed-off-by: Uli Schlachter <psychon at znc.in>
---
 test/font-variations.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/font-variations.c b/test/font-variations.c
index 204a29743..7913701b5 100644
--- a/test/font-variations.c
+++ b/test/font-variations.c
@@ -105,7 +105,7 @@ test_variation (cairo_test_context_t *ctx,
     }
     if (strcmp (ft_face->family_name, "Adobe Variable Font Prototype") != 0) {
         cairo_test_log (ctx, "This test requires the font \"Adobe Variable Font Prototype\" (https://github.com/adobe-fonts/adobe-variable-font-prototype/releases)");
-        return CAIRO_TEST_FAILURE;
+        return CAIRO_TEST_UNTESTED;
     }
 
     ret = FT_Get_MM_Var (ft_face, &ft_mm_var);
-- 
2.16.2



More information about the cairo mailing list