meson.build (ace4e14d71a38f07272489fae899b016cbb60cd5) meson.build (3d3e81846344c3b9f10da193cdd044e9dd85b78e)
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 dependencies: [
13 common_test_src,
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 dependencies: [
13 common_test_src,
14 gmock,
14 gtest,
15 libpldm_dep,
16 nlohmann_json_dep,
17 phosphor_dbus_interfaces,
18 phosphor_logging_dep,
19 libpldmutils,
20 sdbusplus]),
21 workdir: meson.current_source_dir())
22endforeach
15 gtest,
16 libpldm_dep,
17 nlohmann_json_dep,
18 phosphor_dbus_interfaces,
19 phosphor_logging_dep,
20 libpldmutils,
21 sdbusplus]),
22 workdir: meson.current_source_dir())
23endforeach