Format meson files with meson.format
Meson 1.5.0 introduced a new feature to format all the meson
files. Formatting all the meson files is now as simple as running
`meson format -i -r` command in the repository root folder.
more details : https://mesonbuild.com/Commands.html#format
Change-Id: I9c5468cc502ae78b7a055e2de2a10296930cb9ec
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
diff --git a/platform-mc/test/meson.build b/platform-mc/test/meson.build
index 64177cc..ab7b20a 100644
--- a/platform-mc/test/meson.build
+++ b/platform-mc/test/meson.build
@@ -1,35 +1,44 @@
test_src = declare_dependency(
- sources: [
- '../terminus_manager.cpp',
- '../terminus.cpp',
- '../platform_manager.cpp',
- '../manager.cpp',
- '../sensor_manager.cpp',
- '../numeric_sensor.cpp',
- '../../requester/mctp_endpoint_discovery.cpp'],
- include_directories: ['../../requester', '../../pldmd'])
+ sources: [
+ '../terminus_manager.cpp',
+ '../terminus.cpp',
+ '../platform_manager.cpp',
+ '../manager.cpp',
+ '../sensor_manager.cpp',
+ '../numeric_sensor.cpp',
+ '../../requester/mctp_endpoint_discovery.cpp',
+ ],
+ include_directories: ['../../requester', '../../pldmd'],
+)
tests = [
- 'terminus_manager_test',
- 'terminus_test',
- 'platform_manager_test',
- 'sensor_manager_test',
- 'numeric_sensor_test',
+ 'terminus_manager_test',
+ 'terminus_test',
+ 'platform_manager_test',
+ 'sensor_manager_test',
+ 'numeric_sensor_test',
]
foreach t : tests
- test(t, executable(t.underscorify(), t + '.cpp',
- implicit_include_directories: false,
- dependencies: [
- gtest,
- gmock,
- libpldm_dep,
- libpldmutils,
- nlohmann_json_dep,
- phosphor_dbus_interfaces,
- phosphor_logging_dep,
- sdbusplus,
- sdeventplus,
- test_src]),
- workdir: meson.current_source_dir())
+ test(
+ t,
+ executable(
+ t.underscorify(),
+ t + '.cpp',
+ implicit_include_directories: false,
+ dependencies: [
+ gtest,
+ gmock,
+ libpldm_dep,
+ libpldmutils,
+ nlohmann_json_dep,
+ phosphor_dbus_interfaces,
+ phosphor_logging_dep,
+ sdbusplus,
+ sdeventplus,
+ test_src,
+ ],
+ ),
+ workdir: meson.current_source_dir(),
+ )
endforeach