blob: b6f7012bf3f8b3f9bbbe2e75f95c27672a71e4f1 [file] [log] [blame]
Tom Joseph53279882021-04-28 06:29:13 -07001common_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,
Tom Joseph53279882021-04-28 06:29:13 -070012 dependencies: [
13 common_test_src,
Andrew Jeffery3d3e8182024-06-19 08:03:29 +000014 gmock,
Tom Joseph53279882021-04-28 06:29:13 -070015 gtest,
16 libpldm_dep,
Patrick Williamscf772842023-12-07 14:39:52 -060017 nlohmann_json_dep,
Tom Joseph53279882021-04-28 06:29:13 -070018 phosphor_dbus_interfaces,
Riya Dixit49cfb132023-03-02 04:26:53 -060019 phosphor_logging_dep,
Manojkiran Eda06fca442022-08-18 07:52:11 +053020 libpldmutils,
Tom Joseph53279882021-04-28 06:29:13 -070021 sdbusplus]),
22 workdir: meson.current_source_dir())
23endforeach