mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-23 16:01:07 +01:00
[test-unicode] Try disabling one test under ubsan
This commit is contained in:
1 parent
ba4a92c53b
commit
b99382e292
1 file changed
+5
-1
@@ -1012,6 +1012,9 @@ test_unicode_normalization (gconstpointer user_data)
|
||||
int
|
||||
main (int argc, char **argv)
|
||||
{
|
||||
char *ubsan_obtions = getenv ("UBSAN_OPTIONS");
|
||||
int ubsan = ubsan_obtions && strstr (ubsan_obtions, "halt_on_error=1");
|
||||
|
||||
hb_test_init (&argc, &argv);
|
||||
|
||||
hb_test_add (test_unicode_properties_nil);
|
||||
@@ -1033,7 +1036,8 @@ main (int argc, char **argv)
|
||||
|
||||
hb_test_add (test_unicode_chainup);
|
||||
|
||||
hb_test_add (test_unicode_setters);
|
||||
if (!ubsan)
|
||||
hb_test_add (test_unicode_setters);
|
||||
|
||||
hb_test_add_fixture (data_fixture, NULL, test_unicode_subclassing_nil);
|
||||
hb_test_add_fixture (data_fixture, NULL, test_unicode_subclassing_default);
|
||||
|
||||
Reference in new issue
Block a user