1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
tests = [
'hinoko-enum',
'fw-iso-ctx',
'fw-iso-ir-single',
'fw-iso-ir-multiple',
'fw-iso-it',
'fw-iso-resource',
'fw-iso-resource-auto',
'fw-iso-resource-once',
'hinoko-functions',
]
builddirs = []
builddirs += join_paths(meson.project_build_root(), 'src')
if hinawa_is_subproject
builddirs += hinawa_gir_dir
endif
envs = environment()
envs.append('LD_LIBRARY_PATH', builddirs, separator : ':')
envs.append('GI_TYPELIB_PATH', builddirs, separator : ':')
foreach test : tests
name = test
script = test
prog = find_program(script)
test(name, prog,
env: envs,
depends: hinoko_gir,
)
endforeach
|