[test-multithread] Take num-threads and num-iters from command-line
This commit is contained in:
parent
598be3bb38
commit
21fbee831e
@ -134,6 +134,11 @@ test_body ()
|
||||
int
|
||||
main (int argc, char **argv)
|
||||
{
|
||||
if (argc > 1)
|
||||
num_threads = atoi (argv[1]);
|
||||
if (argc > 2)
|
||||
num_iters = atoi (argv[2]);
|
||||
|
||||
// Dummy call to alleviate _guess_segment_properties thread safety-ness
|
||||
// https://github.com/harfbuzz/harfbuzz/issues/1191
|
||||
hb_language_get_default ();
|
||||
|
Loading…
Reference in New Issue
Block a user