meson: reformat with meson formatter
Apply the `meson format` results.
Change-Id: Ife939931ed265bc3f7eceda84a0e3db3bd1012de
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/test/meson.build b/test/meson.build
index 61411b8..3377bdb 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -1,68 +1,77 @@
tests = [
- 'test-ringbuffer-boundary-poll',
- 'test-ringbuffer-boundary-read',
- 'test-ringbuffer-contained-offset-read',
- 'test-ringbuffer-contained-read',
- 'test-ringbuffer-poll-force',
- 'test-ringbuffer-read-commit',
- 'test-ringbuffer-simple-poll',
+ 'test-ringbuffer-boundary-poll',
+ 'test-ringbuffer-boundary-read',
+ 'test-ringbuffer-contained-offset-read',
+ 'test-ringbuffer-contained-read',
+ 'test-ringbuffer-poll-force',
+ 'test-ringbuffer-read-commit',
+ 'test-ringbuffer-simple-poll',
]
foreach t : tests
- test(t, executable(t, f'@t@.c', c_args: [ '-DSYSCONFDIR=""' ],
- include_directories: '..'))
+ test(
+ t,
+ executable(
+ t,
+ f'@t@.c',
+ c_args: ['-DSYSCONFDIR=""'],
+ include_directories: '..',
+ ),
+ )
endforeach
tests_depend_iniparser = [
- 'test-client-escape',
- 'test-config-parse',
- 'test-config-parse-bytesize',
- 'test-config-resolve-console-id'
+ 'test-client-escape',
+ 'test-config-parse',
+ 'test-config-parse-bytesize',
+ 'test-config-resolve-console-id',
]
foreach ct : tests_depend_iniparser
- test(
- ct,
- executable(
- ct,
- f'@ct@.c',
- c_args: [ '-DSYSCONFDIR=""' ],
- dependencies: [ iniparser_dep ],
- include_directories: '..'
+ test(
+ ct,
+ executable(
+ ct,
+ f'@ct@.c',
+ c_args: ['-DSYSCONFDIR=""'],
+ dependencies: [iniparser_dep],
+ include_directories: '..',
+ ),
)
- )
endforeach
socat = find_program('socat', native: true)
server_tests = [
- 'test-console-logs-to-file',
- 'test-console-logs-to-file-no-sections',
- 'test-console-socket-read',
- 'test-console-socket-write',
- 'test-multiple-consoles',
+ 'test-console-logs-to-file',
+ 'test-console-logs-to-file-no-sections',
+ 'test-console-socket-read',
+ 'test-console-socket-write',
+ 'test-multiple-consoles',
]
foreach st : server_tests
- test(st,
- find_program(st),
- args: [ socat.full_path(), server.full_path() ],
- depends: [ server ],
- suite: 'itests'
- )
+ test(
+ st,
+ find_program(st),
+ args: [socat.full_path(), server.full_path()],
+ depends: [server],
+ suite: 'itests',
+ )
endforeach
client_tests = [
- 'test-console-client-can-read',
- 'test-console-client-can-write',
- 'test-console-client-no-args',
+ 'test-console-client-can-read',
+ 'test-console-client-can-write',
+ 'test-console-client-no-args',
]
foreach ct : client_tests
- test(ct,
- find_program(ct),
- args: [ socat.full_path(), server.full_path(), client.full_path() ],
- depends: [ server, client ],
- suite: 'itests'
- )
+ test(
+ ct,
+ find_program(ct),
+ args: [socat.full_path(), server.full_path(), client.full_path()],
+ depends: [server, client],
+ suite: 'itests',
+ )
endforeach