mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-12 23:09:45 +03:00
meson: Fix coding style when declaring arrays
The meson.build files mix array declarations with and without a space after the opening and before the closing square bracket. The vast majority of cases don't use spaces, so standardize on that. While it it, fix indentation in a few places. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
9e369da993
commit
db27029ce4
19 changed files with 49 additions and 49 deletions
|
@ -3,11 +3,11 @@
|
|||
# Tests are listed in order of complexity.
|
||||
# They are not alphabetically sorted.
|
||||
camera_tests = [
|
||||
[ 'configuration_default', 'configuration_default.cpp' ],
|
||||
[ 'configuration_set', 'configuration_set.cpp' ],
|
||||
[ 'buffer_import', 'buffer_import.cpp' ],
|
||||
[ 'statemachine', 'statemachine.cpp' ],
|
||||
[ 'capture', 'capture.cpp' ],
|
||||
['configuration_default', 'configuration_default.cpp'],
|
||||
['configuration_set', 'configuration_set.cpp'],
|
||||
['buffer_import', 'buffer_import.cpp'],
|
||||
['statemachine', 'statemachine.cpp'],
|
||||
['capture', 'capture.cpp'],
|
||||
]
|
||||
|
||||
foreach t : camera_tests
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
control_tests = [
|
||||
[ 'control_info', 'control_info.cpp' ],
|
||||
[ 'control_info_map', 'control_info_map.cpp' ],
|
||||
[ 'control_list', 'control_list.cpp' ],
|
||||
[ 'control_value', 'control_value.cpp' ],
|
||||
['control_info', 'control_info.cpp'],
|
||||
['control_info_map', 'control_info_map.cpp'],
|
||||
['control_list', 'control_list.cpp'],
|
||||
['control_value', 'control_value.cpp'],
|
||||
]
|
||||
|
||||
foreach t : control_tests
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
ipc_tests = [
|
||||
[ 'unixsocket', 'unixsocket.cpp' ],
|
||||
['unixsocket', 'unixsocket.cpp'],
|
||||
]
|
||||
|
||||
foreach t : ipc_tests
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
process_tests = [
|
||||
[ 'process_test', 'process_test.cpp' ],
|
||||
['process_test', 'process_test.cpp'],
|
||||
]
|
||||
|
||||
foreach t : process_tests
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
serialization_tests = [
|
||||
[ 'control_serialization', 'control_serialization.cpp' ],
|
||||
['control_serialization', 'control_serialization.cpp'],
|
||||
]
|
||||
|
||||
foreach t : serialization_tests
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
stream_tests = [
|
||||
[ 'stream_formats', 'stream_formats.cpp' ],
|
||||
['stream_formats', 'stream_formats.cpp'],
|
||||
]
|
||||
|
||||
foreach t : stream_tests
|
||||
exe = executable(t[0], t[1],
|
||||
dependencies : libcamera_dep,
|
||||
link_with : test_libraries,
|
||||
include_directories : test_includes_internal)
|
||||
test(t[0], exe, suite: 'stream')
|
||||
exe = executable(t[0], t[1],
|
||||
dependencies : libcamera_dep,
|
||||
link_with : test_libraries,
|
||||
include_directories : test_includes_internal)
|
||||
test(t[0], exe, suite: 'stream')
|
||||
endforeach
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
v4l2_subdevice_tests = [
|
||||
[ 'list_formats', 'list_formats.cpp'],
|
||||
[ 'test_formats', 'test_formats.cpp'],
|
||||
['list_formats', 'list_formats.cpp'],
|
||||
['test_formats', 'test_formats.cpp'],
|
||||
]
|
||||
|
||||
foreach t : v4l2_subdevice_tests
|
||||
|
|
|
@ -3,15 +3,15 @@
|
|||
# Tests are listed in order of complexity.
|
||||
# They are not alphabetically sorted.
|
||||
v4l2_videodevice_tests = [
|
||||
[ 'double_open', 'double_open.cpp' ],
|
||||
[ 'controls', 'controls.cpp' ],
|
||||
[ 'formats', 'formats.cpp' ],
|
||||
[ 'request_buffers', 'request_buffers.cpp' ],
|
||||
[ 'buffer_cache', 'buffer_cache.cpp' ],
|
||||
[ 'stream_on_off', 'stream_on_off.cpp' ],
|
||||
[ 'capture_async', 'capture_async.cpp' ],
|
||||
[ 'buffer_sharing', 'buffer_sharing.cpp' ],
|
||||
[ 'v4l2_m2mdevice', 'v4l2_m2mdevice.cpp' ],
|
||||
['double_open', 'double_open.cpp'],
|
||||
['controls', 'controls.cpp'],
|
||||
['formats', 'formats.cpp'],
|
||||
['request_buffers', 'request_buffers.cpp'],
|
||||
['buffer_cache', 'buffer_cache.cpp'],
|
||||
['stream_on_off', 'stream_on_off.cpp'],
|
||||
['capture_async', 'capture_async.cpp'],
|
||||
['buffer_sharing', 'buffer_sharing.cpp'],
|
||||
['v4l2_m2mdevice', 'v4l2_m2mdevice.cpp'],
|
||||
]
|
||||
|
||||
foreach t : v4l2_videodevice_tests
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue