blob: e419ccf7ae71faf398d6bd45d6a4587e61c1bc90 [file] [log] [blame]
fw_update_test_src = declare_dependency(
sources: [
'../activation.cpp',
'../inventory_manager.cpp',
'../package_parser.cpp',
'../device_updater.cpp',
'../update_manager.cpp',
'../../common/utils.cpp',
],
)
tests = ['inventory_manager_test', 'package_parser_test', 'device_updater_test']
foreach t : tests
test(
t,
executable(
t.underscorify(),
t + '.cpp',
implicit_include_directories: false,
include_directories: '../../pldmd',
dependencies: [
fw_update_test_src,
gmock,
gtest,
libpldm_dep,
libpldmutils,
nlohmann_json_dep,
phosphor_dbus_interfaces,
phosphor_logging_dep,
sdbusplus,
sdeventplus,
],
),
workdir: meson.current_source_dir(),
)
endforeach