1host_bmc_test_src = declare_dependency( 2 sources: [ '../dbus_to_host_effecters.cpp' ], 3 include_directories: '../../requester') 4 5test_sources = [ 6 '../../common/utils.cpp', 7 '../utils.cpp', 8 '../custom_dbus.cpp', 9] 10 11tests = [ 12 'dbus_to_host_effecter_test', 13 'utils_test', 14 'custom_dbus_test', 15] 16 17foreach t : tests 18 test(t, executable(t.underscorify(), t + '.cpp', 19 test_sources, 20 implicit_include_directories: false, 21 dependencies: [ 22 gtest, 23 gmock, 24 host_bmc_test_src, 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