[meson] Add draw-fuzzer runner
This commit is contained in:
parent
466dbaa258
commit
600bf21fbc
|
@ -1,15 +1,14 @@
|
||||||
tests = [
|
tests = [
|
||||||
['hb-shape-fuzzer.cc'],
|
'hb-shape-fuzzer.cc',
|
||||||
['hb-subset-fuzzer.cc'],
|
'hb-subset-fuzzer.cc',
|
||||||
['hb-set-fuzzer.cc'],
|
'hb-set-fuzzer.cc',
|
||||||
['hb-draw-fuzzer.cc'],
|
'hb-draw-fuzzer.cc',
|
||||||
]
|
]
|
||||||
|
|
||||||
foreach test_data : tests
|
foreach file_name : tests
|
||||||
fname = test_data[0]
|
test_name = file_name.split('.')[0].underscorify()
|
||||||
test_name = fname.split('.')[0].underscorify()
|
|
||||||
|
|
||||||
exe = executable(test_name, [fname, 'main.cc'],
|
exe = executable(test_name, [file_name, 'main.cc'],
|
||||||
cpp_args: cpp_args,
|
cpp_args: cpp_args,
|
||||||
include_directories: [incconfig, incsrc],
|
include_directories: [incconfig, incsrc],
|
||||||
dependencies: deps,
|
dependencies: deps,
|
||||||
|
@ -38,3 +37,10 @@ test('subset_fuzzer', find_program('run-subset-fuzzer-tests.py'),
|
||||||
timeout: 120,
|
timeout: 120,
|
||||||
workdir: join_paths(meson.current_build_dir(), '..', '..'),
|
workdir: join_paths(meson.current_build_dir(), '..', '..'),
|
||||||
env: env)
|
env: env)
|
||||||
|
|
||||||
|
test('draw_fuzzer', find_program('run-draw-fuzzer-tests.py'),
|
||||||
|
args: [
|
||||||
|
hb_draw_fuzzer_exe,
|
||||||
|
],
|
||||||
|
workdir: join_paths(meson.current_build_dir(), '..', '..'),
|
||||||
|
env: env)
|
||||||
|
|
Loading…
Reference in New Issue