[test/hb-shape-threads] Verify buffer
This commit is contained in:
parent
484cc18732
commit
18b0bd0f5f
|
@ -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;
|
||||||
|
|
|
@ -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'],
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue