2018-05-17 01:28:53 +02:00
|
|
|
tests = [
|
|
|
|
['basics.tests'],
|
|
|
|
['full-font.tests'],
|
|
|
|
['japanese.tests'],
|
|
|
|
]
|
|
|
|
|
2018-05-18 01:25:22 +02:00
|
|
|
# The test tries to run which unconditionally, windows doesn't agree
|
|
|
|
if find_program('which', required: false).found()
|
|
|
|
foreach test_data : tests
|
|
|
|
fname = test_data[0]
|
2018-05-17 01:28:53 +02:00
|
|
|
|
2018-05-18 01:25:22 +02:00
|
|
|
test_name = fname.split('.')[0].underscorify()
|
2018-05-17 01:28:53 +02:00
|
|
|
|
2018-05-18 01:25:22 +02:00
|
|
|
test(test_name, python3,
|
|
|
|
args: [
|
|
|
|
files('run-tests.py')[0],
|
|
|
|
hb_subset,
|
|
|
|
join_paths(meson.current_source_dir(), 'data/tests', fname),
|
|
|
|
],
|
|
|
|
workdir: join_paths(meson.current_build_dir(), '..', '..'),
|
|
|
|
)
|
|
|
|
endforeach
|
|
|
|
endif
|