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/libpldmresponder/test/meson.build b/libpldmresponder/test/meson.build
index 9a9fbc9..fa581cd 100644
--- a/libpldmresponder/test/meson.build
+++ b/libpldmresponder/test/meson.build
@@ -1,50 +1,53 @@
tests = [
- 'libpldmresponder_base_test',
- 'libpldmresponder_bios_test',
- 'libpldmresponder_bios_attribute_test',
- 'libpldmresponder_bios_enum_attribute_test',
- 'libpldmresponder_bios_integer_attribute_test',
- 'libpldmresponder_bios_string_attribute_test',
- 'libpldmresponder_bios_table_test',
- 'libpldmresponder_fru_test',
- 'libpldmresponder_platform_test',
- 'libpldmresponder_pdr_effecter_test',
- 'libpldmresponder_pdr_sensor_test',
+ 'libpldmresponder_base_test',
+ 'libpldmresponder_bios_test',
+ 'libpldmresponder_bios_attribute_test',
+ 'libpldmresponder_bios_enum_attribute_test',
+ 'libpldmresponder_bios_integer_attribute_test',
+ 'libpldmresponder_bios_string_attribute_test',
+ 'libpldmresponder_bios_table_test',
+ 'libpldmresponder_fru_test',
+ 'libpldmresponder_platform_test',
+ 'libpldmresponder_pdr_effecter_test',
+ 'libpldmresponder_pdr_sensor_test',
]
if get_option('oem-ibm').allowed()
- tests += [
- '../../oem/ibm/test/libpldmresponder_fileio_test',
- '../../oem/ibm/test/libpldmresponder_oem_platform_test',
- '../../oem/ibm/test/host_bmc_lamp_test',
- ]
+ tests += [
+ '../../oem/ibm/test/libpldmresponder_fileio_test',
+ '../../oem/ibm/test/libpldmresponder_oem_platform_test',
+ '../../oem/ibm/test/host_bmc_lamp_test',
+ ]
endif
if get_option('system-specific-bios-json').allowed()
- tests += [
- 'libpldmresponder_systemspecific_bios_test'
- ]
+ tests += ['libpldmresponder_systemspecific_bios_test']
else
- tests += [
- 'libpldmresponder_bios_config_test'
- ]
+ tests += ['libpldmresponder_bios_config_test']
endif
foreach t : tests
- test(t, executable(t.underscorify(), t + '.cpp',
- implicit_include_directories: false,
- include_directories: [ '../../requester', '../../pldmd' ],
- dependencies: [
- libpldm_dep,
- libpldmresponder_dep,
- libpldmutils,
- gtest,
- gmock,
- nlohmann_json_dep,
- phosphor_dbus_interfaces,
- phosphor_logging_dep,
- sdeventplus,
- sdbusplus]),
- workdir: meson.current_source_dir())
+ test(
+ t,
+ executable(
+ t.underscorify(),
+ t + '.cpp',
+ implicit_include_directories: false,
+ include_directories: ['../../requester', '../../pldmd'],
+ dependencies: [
+ libpldm_dep,
+ libpldmresponder_dep,
+ libpldmutils,
+ gtest,
+ gmock,
+ nlohmann_json_dep,
+ phosphor_dbus_interfaces,
+ phosphor_logging_dep,
+ sdeventplus,
+ sdbusplus,
+ ],
+ ),
+ workdir: meson.current_source_dir(),
+ )
endforeach