16c7fed4cSGilbert Chentest_src = declare_dependency( 26c7fed4cSGilbert Chen sources: [ 36c7fed4cSGilbert Chen '../terminus_manager.cpp', 46c7fed4cSGilbert Chen '../terminus.cpp', 56c7fed4cSGilbert Chen '../platform_manager.cpp', 66c7fed4cSGilbert Chen '../manager.cpp', 7b6d3943dSDung Cao '../dbus_impl_fru.cpp', 8eac61a4bSGilbert Chen '../sensor_manager.cpp', 93c5486d4SThu Nguyen '../numeric_sensor.cpp', 1077e6fe7aSGilbert Chen '../event_manager.cpp', 11*dd1f28b8SManojkiran Eda '../dbus_to_terminus_effecters.cpp', 123012b632SManojkiran Eda '../../requester/mctp_endpoint_discovery.cpp', 133012b632SManojkiran Eda ], 143012b632SManojkiran Eda include_directories: ['../../requester', '../../pldmd'], 153012b632SManojkiran Eda) 166c7fed4cSGilbert Chen 176c7fed4cSGilbert Chentests = [ 186c7fed4cSGilbert Chen 'terminus_manager_test', 196c7fed4cSGilbert Chen 'terminus_test', 20de2a132aSGilbert Chen 'platform_manager_test', 21eac61a4bSGilbert Chen 'sensor_manager_test', 22eac61a4bSGilbert Chen 'numeric_sensor_test', 2377e6fe7aSGilbert Chen 'event_manager_test', 24*dd1f28b8SManojkiran Eda 'dbus_to_terminus_effecter_test', 256c7fed4cSGilbert Chen] 266c7fed4cSGilbert Chen 276c7fed4cSGilbert Chenforeach t : tests 283012b632SManojkiran Eda test( 293012b632SManojkiran Eda t, 303012b632SManojkiran Eda executable( 313012b632SManojkiran Eda t.underscorify(), 323012b632SManojkiran Eda t + '.cpp', 336c7fed4cSGilbert Chen implicit_include_directories: false, 346c7fed4cSGilbert Chen dependencies: [ 356c7fed4cSGilbert Chen gtest, 366c7fed4cSGilbert Chen gmock, 376c7fed4cSGilbert Chen libpldm_dep, 386c7fed4cSGilbert Chen libpldmutils, 396c7fed4cSGilbert Chen nlohmann_json_dep, 406c7fed4cSGilbert Chen phosphor_dbus_interfaces, 416c7fed4cSGilbert Chen phosphor_logging_dep, 426c7fed4cSGilbert Chen sdbusplus, 436c7fed4cSGilbert Chen sdeventplus, 443012b632SManojkiran Eda test_src, 453012b632SManojkiran Eda ], 463012b632SManojkiran Eda ), 473012b632SManojkiran Eda workdir: meson.current_source_dir(), 483012b632SManojkiran Eda ) 496c7fed4cSGilbert Chenendforeach 50