From 7b68edf2abc7680199360d52ed283cfc4f49b7d5 Mon Sep 17 00:00:00 2001 From: Ebrahim Byagowi Date: Fri, 28 Sep 2018 20:53:48 +0330 Subject: [PATCH] [tests] Don't try to get glyph names on failures As it may cause a race unrelated to the issue actually happened --- test/api/test-multithread.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/api/test-multithread.c b/test/api/test-multithread.c index a75feffaa..63dd8d7eb 100644 --- a/test/api/test-multithread.c +++ b/test/api/test-multithread.c @@ -69,13 +69,13 @@ validity_check (hb_buffer_t *buffer) { hb_buffer_serialize_glyphs (buffer, 0, hb_buffer_get_length (ref_buffer), out, sizeof (out), NULL, font, HB_BUFFER_SERIALIZE_FORMAT_TEXT, - HB_BUFFER_SERIALIZE_FLAG_DEFAULT); + HB_BUFFER_SERIALIZE_FLAG_NO_GLYPH_NAMES); fprintf (stderr, "Actual: %s\n", out); hb_buffer_serialize_glyphs (ref_buffer, 0, hb_buffer_get_length (ref_buffer), out, sizeof (out), NULL, font, HB_BUFFER_SERIALIZE_FORMAT_TEXT, - HB_BUFFER_SERIALIZE_FLAG_DEFAULT); + HB_BUFFER_SERIALIZE_FLAG_NO_GLYPH_NAMES); fprintf (stderr, "Expected: %s\n", out); exit (1);