blob: 0bb3b8b3090a7d6f3177ad71ea73cae7fae5f0af [file] [log] [blame]
host_bmc_test_src = declare_dependency(
sources: [
'../dbus_to_host_effecters.cpp',
'../../pldmd/dbus_impl_requester.cpp',
'../../pldmd/instance_id.cpp'],
include_directories: '../../requester')
tests = [
'dbus_to_host_effecter_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').enabled() ? rpath : '',
dependencies: [
gtest,
gmock,
host_bmc_test_src,
libpldm_dep,
libpldmutils,
nlohmann_json,
phosphor_dbus_interfaces,
sdbusplus,
sdeventplus]),
workdir: meson.current_source_dir())
endforeach