[subset] Include instancing tests in distribution.

Automatically enable them when the experimental api is enabled.
This commit is contained in:
Garret Rieger 2022-11-03 19:49:49 +00:00 committed by Behdad Esfahbod
parent dbb7f47b19
commit 2822b589bc
3 changed files with 22 additions and 7 deletions

View File

@ -7,6 +7,7 @@ SUBDIRS = repack_tests
EXTRA_DIST += \
$(TESTS) \
$(DISABLED_TESTS) \
expected/32bit_var_store \
expected/basics \
expected/full-font \
@ -55,6 +56,10 @@ EXTRA_DIST += \
expected/math \
expected/math_coverage_offset \
expected/post \
expected/full_instance \
expected/instance_feature_variations \
expected/instantiate_glyf \
expected/pin_all_at_default \
fonts \
profiles \
$(NULL)

View File

@ -57,5 +57,10 @@ TESTS = \
XFAIL_TESTS = \
$(NULL)
# Disabled because instancing is only available w/ experimental API on.
DISABLED_TESTS = \
tests/full_instance.tests \
tests/instance_feature_variations.tests \
tests/instantiate_glyf.tests \
tests/pin_all_at_default.tests \
$(NULL)

View File

@ -40,8 +40,8 @@ tests = [
'colr_glyphs',
'math',
'math_coverage_offset',
# TODO: re-enable once colrv1 subsetting is stabilized.
# 'colrv1.notoemoji',
# TODO: re-enable once colrv1 subsetting is stabilized.
# 'colrv1.notoemoji',
'colrv1',
'colr_with_components',
'cbdt',
@ -49,13 +49,18 @@ tests = [
'glyph_names',
'post',
'32bit_var_store',
# instacing tests, enable when --instance is not experimental
# 'pin_all_at_default',
# 'instantiate_glyf',
# 'full_instance',
# 'instance_feature_variations',
]
if get_option('experimental_api')
# instacing tests, only supported in experimental api
tests += [
'pin_all_at_default',
'instantiate_glyf',
'full_instance',
'instance_feature_variations',
]
endif
repack_tests = [
'basic',
'prioritization',