[tests] Don't try to get glyph names on failures

As it may cause a race unrelated to the issue actually happened
This commit is contained in:
Ebrahim Byagowi 2018-09-28 20:53:48 +03:30 committed by GitHub
parent d289d63818
commit 7b68edf2ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -69,13 +69,13 @@ validity_check (hb_buffer_t *buffer) {
hb_buffer_serialize_glyphs (buffer, 0, hb_buffer_get_length (ref_buffer), hb_buffer_serialize_glyphs (buffer, 0, hb_buffer_get_length (ref_buffer),
out, sizeof (out), NULL, out, sizeof (out), NULL,
font, HB_BUFFER_SERIALIZE_FORMAT_TEXT, font, HB_BUFFER_SERIALIZE_FORMAT_TEXT,
HB_BUFFER_SERIALIZE_FLAG_DEFAULT); HB_BUFFER_SERIALIZE_FLAG_NO_GLYPH_NAMES);
fprintf (stderr, "Actual: %s\n", out); fprintf (stderr, "Actual: %s\n", out);
hb_buffer_serialize_glyphs (ref_buffer, 0, hb_buffer_get_length (ref_buffer), hb_buffer_serialize_glyphs (ref_buffer, 0, hb_buffer_get_length (ref_buffer),
out, sizeof (out), NULL, out, sizeof (out), NULL,
font, HB_BUFFER_SERIALIZE_FORMAT_TEXT, font, HB_BUFFER_SERIALIZE_FORMAT_TEXT,
HB_BUFFER_SERIALIZE_FLAG_DEFAULT); HB_BUFFER_SERIALIZE_FLAG_NO_GLYPH_NAMES);
fprintf (stderr, "Expected: %s\n", out); fprintf (stderr, "Expected: %s\n", out);
exit (1); exit (1);