Update meson formatting
Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
Change-Id: Ib05b0978f1bfb576c059a2c2f66b6ad03e10090a
diff --git a/tests/meson.build b/tests/meson.build
index f4f7900..545c988 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -8,31 +8,34 @@
dependency('threads'),
gtest_proj.dependency('gtest'),
gtest_proj.dependency('gtest_main'),
- ]
+ ],
)
gmock_dep = gtest_proj.dependency('gmock')
- else
+ else
assert(
not get_option('tests').enabled(),
- 'Googletest is required if tests are enabled'
+ 'Googletest is required if tests are enabled',
)
- endif
+ endif
endif
-unit_tests = [
-]
+unit_tests = []
if get_option('tests').enabled()
# generate the test executable
foreach unit_test : unit_tests
- test(unit_test, executable(
+ test(
unit_test,
- unit_test + '.cpp',
- include_directories: incs,
- dependencies: deps + [
- gtest_dep,
- gmock_dep,
- ])
+ executable(
+ unit_test,
+ unit_test + '.cpp',
+ include_directories: incs,
+ dependencies: deps
+ + [
+ gtest_dep,
+ gmock_dep,
+ ],
+ ),
)
endforeach
-endif
+endif
\ No newline at end of file