meson: reformat with meson formatter
Apply the `meson format` results.
Change-Id: Ie1c6e6ca7e5a12a485b844746b86ad48772d7754
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/test/meson.build b/test/meson.build
index d740b44..863c047 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -3,20 +3,21 @@
gmock_dep = dependency('gmock', disabler: true, required: false)
if not gtest_dep.found() or not gmock_dep.found()
cmake = import('cmake')
- gtest_proj = cmake.subproject('googletest',
- required: false)
+ gtest_proj = cmake.subproject('googletest', required: false)
if gtest_proj.found()
gtest_dep = declare_dependency(
dependencies: [
dependency('threads'),
gtest_proj.dependency('gtest'),
gtest_proj.dependency('gtest_main'),
- ]
+ ],
)
gmock_dep = gtest_proj.dependency('gmock')
else
- assert(not get_option('tests').allowed(),
- 'Googletest is required if tests are enabled')
+ assert(
+ not get_option('tests').allowed(),
+ 'Googletest is required if tests are enabled',
+ )
endif
endif
@@ -24,8 +25,7 @@
subdir('simulator')
# supporting files that need compiled/linked
-test_src = ['../src/util/hei_bit_string.cpp',
- 'sim_tracing.cpp']
+test_src = ['../src/util/hei_bit_string.cpp', 'sim_tracing.cpp']
# build g-test framework unit tests
gtests = [
@@ -36,8 +36,15 @@
]
foreach g : gtests
- test(g, executable(g.underscorify(), g + '.cpp', test_src,
- dependencies : gtest_dep,
- include_directories : incdir))
+ test(
+ g,
+ executable(
+ g.underscorify(),
+ g + '.cpp',
+ test_src,
+ dependencies: gtest_dep,
+ include_directories: incdir,
+ ),
+ )
endforeach