From b20871322f02415e5d336ee1807d2c2175c7c07b Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 9 Jan 2023 16:30:25 -0500 Subject: [PATCH] test-paint: Fix use of g_test_skip --- test/api/test-paint.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/test/api/test-paint.c b/test/api/test-paint.c index d8a69ed41..12514c872 100644 --- a/test/api/test-paint.c +++ b/test/api/test-paint.c @@ -452,8 +452,7 @@ test_compare_ot_ft (gconstpointer d) paint_data_t data; #ifndef HAVE_FT_COLRv1 - g_test_message ("FreeType COLRv1 support not present"); - g_test_skip (); + g_test_skip ("FreeType COLRv1 support not present"); return; #endif @@ -501,8 +500,7 @@ test_hb_paint_ft (gconstpointer data) #ifdef HAVE_FT_COLRv1 test_hb_paint (data, 1); #else - g_test_message ("FreeType COLRv1 support not present"); - g_test_skip (); + g_test_skip ("FreeType COLRv1 support not present"); #endif } @@ -597,8 +595,7 @@ test_color_stops_ft (void) #ifdef HAVE_FT_COLRv1 test_color_stops (1); #else - g_test_message ("FreeType COLRv1 support not present"); - g_test_skip (); + g_test_skip ("FreeType COLRv1 support not present"); #endif }