1fw_update_test_src = declare_dependency( 2 sources: [ 3 '../activation.cpp', 4 '../inventory_manager.cpp', 5 '../package_parser.cpp', 6 '../device_updater.cpp', 7 '../update_manager.cpp', 8 '../../common/utils.cpp', 9 ]) 10 11tests = [ 12 'inventory_manager_test', 13 'package_parser_test', 14 'device_updater_test' 15] 16 17foreach t : tests 18 test(t, executable(t.underscorify(), t + '.cpp', 19 implicit_include_directories: false, 20 include_directories: '../../pldmd', 21 dependencies: [ 22 fw_update_test_src, 23 gmock, 24 gtest, 25 libpldm_dep, 26 libpldmutils, 27 nlohmann_json_dep, 28 phosphor_dbus_interfaces, 29 phosphor_logging_dep, 30 sdbusplus, 31 sdeventplus]), 32 workdir: meson.current_source_dir()) 33endforeach 34