test-paint: Avoid g_test_skip_printf

This is relatively recent api we don't need.
This commit is contained in:
Matthias Clasen 2023-01-09 15:33:34 -05:00
parent e61c2be41c
commit eb0f0279d2
1 changed files with 6 additions and 3 deletions

View File

@ -452,7 +452,8 @@ test_compare_ot_ft (gconstpointer d)
paint_data_t data;
#ifndef HAVE_FT_COLRv1
g_test_skip_printf ("freetype support not present");
g_test_message ("FreeType COLRv1 support not present");
g_test_skip ();
return;
#endif
@ -500,7 +501,8 @@ test_hb_paint_ft (gconstpointer data)
#ifdef HAVE_FT_COLRv1
test_hb_paint (data, 1);
#else
g_test_skip_printf ("FreeType COLRv1 support not present");
g_test_message ("FreeType COLRv1 support not present");
g_test_skip ();
#endif
}
@ -595,7 +597,8 @@ test_color_stops_ft (void)
#ifdef HAVE_FT_COLRv1
test_color_stops (1);
#else
g_test_skip_printf ("FreeType COLRv1 support not present");
g_test_message ("FreeType COLRv1 support not present");
g_test_skip ();
#endif
}