xref: /openbmc/pldm/common/test/meson.build (revision 51cc5bda)
1common_test_src = declare_dependency(
2          sources: [
3            '../utils.cpp'])
4
5tests = [
6  'pldm_utils_test',
7]
8
9foreach t : tests
10  test(t, executable(t.underscorify(), t + '.cpp',
11                     implicit_include_directories: false,
12                     dependencies: [
13                         common_test_src,
14                         gmock,
15                         gtest,
16                         libpldm_dep,
17                         nlohmann_json_dep,
18                         phosphor_dbus_interfaces,
19                         phosphor_logging_dep,
20                         libpldmutils,
21                         sdbusplus]),
22       workdir: meson.current_source_dir())
23endforeach
24