harfbuzz/test/shaping/meson.build
Ebrahim Byagowi 2d91662294 [meson] move tests lists to their directories
We had to do so for text-rendering-tests list, let's apply the same for the rest also.
2020-06-12 01:11:06 +04:30

46 lines
1.2 KiB
Meson

subdir('data/in-house') # in_house_tests
subdir('data/aots') # aots_tests
subdir('data/text-rendering-tests') # text_rendering_tests
shaping_run_tests_py = find_program('run-tests.py')
foreach file_name : in_house_tests
test_name = file_name.split('.')[0].underscorify()
test(test_name, shaping_run_tests_py,
args: [
hb_shape,
meson.current_source_dir() / 'data' / 'in-house' / 'tests' / file_name,
],
workdir: meson.current_build_dir() / '..' / '..',
suite: ['shaping', 'in-house'],
)
endforeach
foreach file_name : aots_tests
test_name = file_name.split('.')[0].underscorify()
test(test_name, shaping_run_tests_py,
args: [
hb_shape,
meson.current_source_dir() / 'data' / 'aots' / 'tests' / file_name,
],
workdir: meson.current_build_dir() / '..' / '..',
suite: ['shaping', 'aots'],
)
endforeach
foreach file_name : text_rendering_tests
test_name = file_name.split('.')[0].underscorify()
test(test_name, shaping_run_tests_py,
args: [
hb_shape,
meson.current_source_dir() / 'data' / 'text-rendering-tests' / 'tests' / file_name,
],
workdir: meson.current_build_dir() / '..' / '..',
suite: ['shaping', 'text-rendering-tests'],
)
endforeach