meson: reformat with meson formatter
Apply the `meson format` results.
Change-Id: I4c28a606dbfc4220abca7130c9c41686352e143c
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/test/meson.build b/test/meson.build
index 061b352..9a6308a 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -1,46 +1,53 @@
-gtest = dependency('gtest', main: true, disabler: true, required: get_option('tests'))
+gtest = dependency(
+ 'gtest',
+ main: true,
+ disabler: true,
+ required: get_option('tests'),
+)
gmock = dependency('gmock', disabler: true, required: get_option('tests'))
tests_pre = declare_dependency(
- dependencies: [sys_dep, gtest, gmock, dependency('stdplus-gtest')])
+ dependencies: [sys_dep, gtest, gmock, dependency('stdplus-gtest')],
+)
tests_lib = static_library(
- 'common',
- 'common.cpp',
- 'helper.cpp',
- implicit_include_directories: false,
- dependencies: tests_pre)
+ 'common',
+ 'common.cpp',
+ 'helper.cpp',
+ implicit_include_directories: false,
+ dependencies: tests_pre,
+)
-tests_dep = declare_dependency(
- link_with: tests_lib,
- dependencies: tests_pre)
+tests_dep = declare_dependency(link_with: tests_lib, dependencies: tests_pre)
tests = [
- 'cable',
- 'cpld',
- 'entity',
- 'eth',
- 'flash',
- 'google_accel_oob',
- 'handler',
- 'machine',
- 'pcie',
- 'poweroff',
- 'psu',
- 'pcie_bifurcation',
- 'bmc_mode',
- 'linux_boot_done',
- 'bm_mode_transition',
- 'bm_instance',
- 'bios_setting',
+ 'cable',
+ 'cpld',
+ 'entity',
+ 'eth',
+ 'flash',
+ 'google_accel_oob',
+ 'handler',
+ 'machine',
+ 'pcie',
+ 'poweroff',
+ 'psu',
+ 'pcie_bifurcation',
+ 'bmc_mode',
+ 'linux_boot_done',
+ 'bm_mode_transition',
+ 'bm_instance',
+ 'bios_setting',
]
foreach t : tests
- test(
- t,
- executable(
- t.underscorify(),
- t + '_unittest.cpp',
- implicit_include_directories: false,
- dependencies: tests_dep))
+ test(
+ t,
+ executable(
+ t.underscorify(),
+ t + '_unittest.cpp',
+ implicit_include_directories: false,
+ dependencies: tests_dep,
+ ),
+ )
endforeach