[meson] minor, find run-tests.py only once
This commit is contained in:
parent
3c5bdd9bb8
commit
0d8442a55f
@ -269,10 +269,12 @@ disabled_text_rendering_tests = [
|
||||
'SHKNDA-3.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, find_program('run-tests.py'),
|
||||
test(test_name, shaping_run_tests_py,
|
||||
args: [
|
||||
hb_shape,
|
||||
meson.current_source_dir() / 'data' / 'in-house' / 'tests' / file_name,
|
||||
@ -284,7 +286,7 @@ endforeach
|
||||
foreach file_name : aots_tests
|
||||
test_name = file_name.split('.')[0].underscorify()
|
||||
|
||||
test(test_name, find_program('run-tests.py'),
|
||||
test(test_name, shaping_run_tests_py,
|
||||
args: [
|
||||
hb_shape,
|
||||
meson.current_source_dir() / 'data' / 'aots' / 'tests' / file_name,
|
||||
@ -296,7 +298,7 @@ endforeach
|
||||
foreach file_name : text_rendering_tests
|
||||
test_name = file_name.split('.')[0].underscorify()
|
||||
|
||||
test(test_name, find_program('run-tests.py'),
|
||||
test(test_name, shaping_run_tests_py,
|
||||
args: [
|
||||
hb_shape,
|
||||
meson.current_source_dir() / 'data' / 'text-rendering-tests' / 'tests' / file_name,
|
||||
|
Loading…
Reference in New Issue
Block a user