Reformat test meson.build
Using muon fmt
Change-Id: I01142cb05dd9d3901413e40f2218a7dc72b3f8d7
Signed-off-by: Ed Tanous <etanous@nvidia.com>
diff --git a/tests/meson.build b/tests/meson.build
index 0d381a6..21c443d 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -8,39 +8,41 @@
dependency('threads'),
gtest_proj.dependency('gtest'),
gtest_proj.dependency('gtest_main'),
- ]
+ ],
)
gmock = gtest_proj.dependency('gmock')
else
assert(
not get_option('tests').allowed(),
- 'Googletest is required if tests are enabled'
+ 'Googletest is required if tests are enabled',
)
endif
endif
sources = [
- 'ir-tests.cpp',
- 'test-utils.cpp',
+ 'ir-tests.cpp',
+ 'test-utils.cpp',
]
test_include_dirs = ['.', '..']
run_command('cp', '-r', '../specification/json/', meson.current_build_dir())
-run_command('mv', meson.current_build_dir() / 'json', meson.current_build_dir() / 'specification')
+run_command(
+ 'mv',
+ meson.current_build_dir() / 'json',
+ meson.current_build_dir() / 'specification',
+)
tests = ['cper-tests']
-test('test-cper-tests',
- executable('cper-tests',
- sources,
- implicit_include_directories: false,
- include_directories:include_directories(test_include_dirs),
- cpp_args: '-fpermissive',
- dependencies: [
- libcper_parse,
- libcper_generate,
- json_c_dep,
- gtest,
- gmock])
+test(
+ 'test-cper-tests',
+ executable(
+ 'cper-tests',
+ sources,
+ implicit_include_directories: false,
+ include_directories: include_directories(test_include_dirs),
+ cpp_args: '-fpermissive',
+ dependencies: [libcper_parse, libcper_generate, json_c_dep, gtest, gmock],
+ ),
)