blob: 9e5517ead7b7c6252dbf2d3c49e4cb154ac3469e [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,
12 link_args: dynamic_linker,
13 build_rpath: get_option('oe-sdk').enabled() ? rpath : '',
14 dependencies: [
15 common_test_src,
16 gtest,
17 libpldm_dep,
Brad Bishopd169dd12021-07-29 13:24:15 -040018 nlohmann_json,
Tom Joseph53279882021-04-28 06:29:13 -070019 phosphor_dbus_interfaces,
Riya Dixit49cfb132023-03-02 04:26:53 -060020 phosphor_logging_dep,
Manojkiran Eda06fca442022-08-18 07:52:11 +053021 libpldmutils,
Tom Joseph53279882021-04-28 06:29:13 -070022 sdbusplus]),
23 workdir: meson.current_source_dir())
24endforeach