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