blob: b4739d9f47880737b4d90168777dfd28b7032aab [file] [log] [blame]
pldmd_inc = include_directories('../')
test_src = declare_dependency(
include_directories:pldmd_inc)
tests = [
'pldmd_registration_test',
]
foreach t : tests
test(t, executable(t.underscorify(), t + '.cpp',
implicit_include_directories: false,
link_args: dynamic_linker,
build_rpath: get_option('oe-sdk').allowed() ? rpath : '',
dependencies: [
libpldm_dep,
nlohmann_json_dep,
gtest,
test_src]),
workdir: meson.current_source_dir())
endforeach