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