[test-threads] Test all font-funcs

Fontations & Coretext are new and seems to pass.
This commit is contained in:
Behdad Esfahbod committed 2025-03-08 11:57:31 -07:00
1 parent 2a878b1b76
commit c3eac5c0f3
2 files changed
+4 -6

No files matched your search

+2 -3
View File
@@ -148,9 +148,8 @@ main (int argc, char **argv)
ref_buffer = hb_buffer_create ();
fill_the_buffer (ref_buffer);
// TODO Test all backends
test_body ("ot");
test_body ("ft");
for (const char **font_funcs = hb_font_list_funcs (); *font_funcs; font_funcs++)
test_body (*font_funcs);
hb_buffer_destroy (ref_buffer);
+2 -3
View File
@@ -183,9 +183,8 @@ int main(int argc, char** argv)
{
bool is_var = (bool) variable;
// TODO Test all backends.
test_backend ("ot", is_var, test_input);
test_backend ("ft", is_var, test_input);
for (const char **font_funcs = hb_font_list_funcs (); *font_funcs; font_funcs++)
test_backend (*font_funcs, is_var, test_input);
}
}