xref: /openbmc/pldm/common/test/meson.build (revision 90f28d7b)
1common_test_src = declare_dependency(sources: ['../utils.cpp'])
2
3tests = ['pldm_utils_test']
4
5foreach t : tests
6    test(
7        t,
8        executable(
9            t.underscorify(),
10            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            ],
23        ),
24        workdir: meson.current_source_dir(),
25    )
26endforeach
27