xref: /openbmc/phosphor-bmc-code-mgmt/test/common/software/meson.build (revision d880e4d1c5ad728d19fec1059420277520098d39)
1
2testcases = [
3    'software_get_random_softwareid',
4    'software_config',
5    'software_association',
6    'software_version',
7]
8
9foreach t : testcases
10    test(
11        t,
12        executable(
13            t,
14            f'@t@.cpp',
15            include_directories: [common_include],
16            dependencies: [
17                libpldm_dep,
18                sdbusplus_dep,
19                phosphor_logging_dep,
20                gtest,
21            ],
22            link_with: [
23                libpldmutil,
24                libpldmcreatepkg,
25                software_common_lib,
26                libexampledevice,
27            ],
28        ),
29    )
30endforeach
31
32