[PATCH] Skip font-variations test for missing fonts

Uli Schlachter <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
Signed-off-by: Uli Schlachter <[email protected]>
---
 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

-- 
cairo mailing list
[email protected]
https://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.