Make test-multithread pass the tsan bot test (#1193)
This commit is contained in:
parent
d2542cd28c
commit
dbc3070a15
|
@ -134,6 +134,9 @@ test_body ()
|
||||||
int
|
int
|
||||||
main (int argc, char **argv)
|
main (int argc, char **argv)
|
||||||
{
|
{
|
||||||
|
// Dummy call to alleviate _guess_segment_properties thread safety-ness
|
||||||
|
hb_language_get_default ();
|
||||||
|
|
||||||
hb_blob_t *blob = hb_blob_create_from_file (path);
|
hb_blob_t *blob = hb_blob_create_from_file (path);
|
||||||
hb_face_t *face = hb_face_create (blob, 0);
|
hb_face_t *face = hb_face_create (blob, 0);
|
||||||
font = hb_font_create (face);
|
font = hb_font_create (face);
|
||||||
|
|
Loading…
Reference in New Issue