blob: 7ccfef7a874b3a451b9bb8a5c5532be6cc862477 [file] [log] [blame]
Tom Joseph53279882021-04-28 06:29:13 -07001host_bmc_test_src = declare_dependency(
Andrew Jeffery7c1dc7e2023-04-28 14:52:16 +09302 sources: [ '../dbus_to_host_effecters.cpp' ],
3 include_directories: '../../requester')
Tom Joseph53279882021-04-28 06:29:13 -07004
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,
Brad Bishopd169dd12021-07-29 13:24:15 -040020 nlohmann_json,
Tom Joseph53279882021-04-28 06:29:13 -070021 phosphor_dbus_interfaces,
Riya Dixit49cfb132023-03-02 04:26:53 -060022 phosphor_logging_dep,
Sampa Misrac0c79482021-06-02 08:01:54 -050023 sdbusplus,
24 sdeventplus]),
Tom Joseph53279882021-04-28 06:29:13 -070025 workdir: meson.current_source_dir())
26endforeach