[pango/macos-tests] xxx: Debug spew for failing test
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/macos-tests] xxx: Debug spew for failing test
- Date: Mon, 4 Jan 2021 02:42:36 +0000 (UTC)
commit 7041471ad3c052ee76954a7f9660289d786e6454
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Jan 3 21:42:21 2021 -0500
xxx: Debug spew for failing test
tests/test-font.c | 9 +++++++++
1 file changed, 9 insertions(+)
---
diff --git a/tests/test-font.c b/tests/test-font.c
index 486504f9..367d0fb9 100644
--- a/tests/test-font.c
+++ b/tests/test-font.c
@@ -235,6 +235,15 @@ test_enumerate (void)
break;
}
}
+ if (!found_face)
+ {
+ g_warning ("Family: %s\n"
+ "%d faces\n"
+ "default face: %s",
+ pango_font_family_get_name (families[0]),
+ n_faces,
+ pango_font_face_get_face_name (face));
+ }
g_assert_true (found_face);
g_object_unref (font);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]