未验证 提交 7b68edf2 编写于 作者: E Ebrahim Byagowi 提交者: GitHub

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

As it may cause a race unrelated to the issue actually happened
上级 d289d638
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册