xref: /openbmc/pldm/host-bmc/test/meson.build (revision a7dbca53)
1host_bmc_test_src = declare_dependency(
2          sources: [ '../dbus_to_host_effecters.cpp' ],
3          include_directories: '../../requester')
4
5tests = [
6  'dbus_to_host_effecter_test',
7]
8
9foreach t : tests
10  test(t, executable(t.underscorify(), t + '.cpp',
11                     implicit_include_directories: false,
12                     link_args: dynamic_linker,
13                     build_rpath: get_option('oe-sdk').enabled() ? rpath : '',
14                     dependencies: [
15                         gtest,
16                         gmock,
17                         host_bmc_test_src,
18                         libpldm_dep,
19                         libpldmutils,
20                         nlohmann_json,
21                         phosphor_dbus_interfaces,
22                         phosphor_logging_dep,
23                         sdbusplus,
24                         sdeventplus]),
25       workdir: meson.current_source_dir())
26endforeach
27