blob: d19d4ef99136f2babaace9d5190cc7f9018287d5 [file] [log] [blame]
host_bmc_test_src = declare_dependency(
sources: [ '../dbus_to_host_effecters.cpp' ],
include_directories: '../../requester')
test_sources = [
'../../common/utils.cpp',
]
tests = [
'dbus_to_host_effecter_test',
'utils_test',
]
foreach t : tests
test(t, executable(t.underscorify(), t + '.cpp',
test_sources,
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,
phosphor_logging_dep,
sdbusplus,
sdeventplus]),
workdir: meson.current_source_dir())
endforeach