1test_src = declare_dependency( 2 sources: ['../mctp_endpoint_discovery.cpp', '../../common/utils.cpp'], 3) 4 5tests = ['handler_test', 'request_test', 'mctp_endpoint_discovery_test'] 6 7foreach t : tests 8 test( 9 t, 10 executable( 11 t.underscorify(), 12 t + '.cpp', 13 implicit_include_directories: false, 14 include_directories: ['../../', '../../pldmd'], 15 dependencies: [ 16 gtest, 17 gmock, 18 libpldm_dep, 19 nlohmann_json_dep, 20 phosphor_dbus_interfaces, 21 phosphor_logging_dep, 22 sdbusplus, 23 sdeventplus, 24 test_src, 25 ], 26 ), 27 workdir: meson.current_source_dir(), 28 ) 29endforeach 30