Skip font-variations test for missing fonts

Signed-off-by: Uli Schlachter <psychon@znc.in>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
This commit is contained in:
Uli Schlachter 2018-03-30 09:25:28 +02:00 committed by Bryce Harrington
parent 1ed124ace2
commit fba7a7ca27

View file

@ -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);