[test/hb-shape-threads] Verify buffer

This commit is contained in:
Behdad Esfahbod 2022-05-30 05:12:12 -06:00
parent 484cc18732
commit 18b0bd0f5f
2 changed files with 2 additions and 1 deletions

View File

@ -118,6 +118,7 @@ static void shape (bool is_var,
const char *orig_text = hb_blob_get_data (text_blob, &orig_text_length); const char *orig_text = hb_blob_get_data (text_blob, &orig_text_length);
hb_buffer_t *buf = hb_buffer_create (); hb_buffer_t *buf = hb_buffer_create ();
hb_buffer_set_flags (buf, HB_BUFFER_FLAG_VERIFY);
for (unsigned i = 0; i < num_repetitions; i++) for (unsigned i = 0; i < num_repetitions; i++)
{ {
unsigned text_length = orig_text_length; unsigned text_length = orig_text_length;

View File

@ -8,6 +8,6 @@ test('hb-shape-threads', executable('hb-shape-threads', 'hb-shape-threads.cc',
install: false, install: false,
), ),
workdir: meson.current_source_dir() / '..' / '..', workdir: meson.current_source_dir() / '..' / '..',
timeout: 100, timeout: 300,
suite: ['threads', 'slow'], suite: ['threads', 'slow'],
) )