libpsl/fuzz/meson.build

14 lines
389 B
Meson
Raw Normal View History

2018-12-06 15:16:13 +01:00
fuzzer_cargs = [
'-DSRCDIR="@0@"'.format(meson.source_root()),
'-DTEST_RUN',
]
foreach test_name : ['fuzzer', 'load_fuzzer', 'load_dafsa_fuzzer']
source_file = 'libpsl_@0@.c'.format(test_name)
exe = executable(test_name, source_file, 'main.c',
link_with : libpsl,
c_args : fuzzer_cargs,
include_directories : [configinc, includedir])
test(test_name, exe)
endforeach