meson.build (06fca44170bfd511d519f64fe75da770e0bfd5d7) meson.build (49cfb138af156020599361584b20c9ed591eeeb6)
1common_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,
18 nlohmann_json,
19 phosphor_dbus_interfaces,
1common_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,
18 nlohmann_json,
19 phosphor_dbus_interfaces,
20 phosphor_logging_dep,
20 libpldmutils,
21 sdbusplus]),
22 workdir: meson.current_source_dir())
23endforeach
21 libpldmutils,
22 sdbusplus]),
23 workdir: meson.current_source_dir())
24endforeach