xref: /openbmc/pldm/common/test/meson.build (revision 3012b63243a9e995cdeb6fdf11118169d98eb8f4)
1*3012b632SManojkiran Edacommon_test_src = declare_dependency(sources: ['../utils.cpp'])
25327988eSTom Joseph
3*3012b632SManojkiran Edatests = ['pldm_utils_test']
45327988eSTom Joseph
55327988eSTom Josephforeach t : tests
6*3012b632SManojkiran Eda    test(
7*3012b632SManojkiran Eda        t,
8*3012b632SManojkiran Eda        executable(
9*3012b632SManojkiran Eda            t.underscorify(),
10*3012b632SManojkiran Eda            t + '.cpp',
115327988eSTom Joseph            implicit_include_directories: false,
125327988eSTom Joseph            dependencies: [
135327988eSTom Joseph                common_test_src,
143d3e8184SAndrew Jeffery                gmock,
155327988eSTom Joseph                gtest,
165327988eSTom Joseph                libpldm_dep,
17cf772846SPatrick Williams                nlohmann_json_dep,
185327988eSTom Joseph                phosphor_dbus_interfaces,
1949cfb138SRiya Dixit                phosphor_logging_dep,
2006fca441SManojkiran Eda                libpldmutils,
21*3012b632SManojkiran Eda                sdbusplus,
22*3012b632SManojkiran Eda            ],
23*3012b632SManojkiran Eda        ),
24*3012b632SManojkiran Eda        workdir: meson.current_source_dir(),
25*3012b632SManojkiran Eda    )
265327988eSTom Josephendforeach
27