diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-05-23 00:05:30 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-05-23 11:55:45 +0300 |
commit | 41adc3f8d39e78eb432bf33ab859d1f5429b85dc (patch) | |
tree | f637a6b1e28b2dbb0ebce1274bebef1a8ac678ff /test | |
parent | 1f32abb995a04b7c67af6d923fea82436e817de1 (diff) |
meson: Fix coding style in meson.build files
Consistently go for 4 spaces indentation, and always put a space between
the colon in argument lists, as per the examples from the meson
documentation.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/camera/meson.build | 16 | ||||
-rw-r--r-- | test/ipa/meson.build | 6 | ||||
-rw-r--r-- | test/media_device/meson.build | 2 | ||||
-rw-r--r-- | test/pipeline/ipu3/meson.build | 4 | ||||
-rw-r--r-- | test/v4l2_device/meson.build | 20 | ||||
-rw-r--r-- | test/v4l2_subdevice/meson.build | 2 |
6 files changed, 25 insertions, 25 deletions
diff --git a/test/camera/meson.build b/test/camera/meson.build index c4427945..b01e7e02 100644 --- a/test/camera/meson.build +++ b/test/camera/meson.build @@ -1,15 +1,15 @@ # Tests are listed in order of complexity. # They are not alphabetically sorted. camera_tests = [ - [ 'configuration_default', 'configuration_default.cpp' ], - [ 'configuration_set', 'configuration_set.cpp' ], - [ 'statemachine', 'statemachine.cpp' ], - [ 'capture', 'capture.cpp' ], + [ 'configuration_default', 'configuration_default.cpp' ], + [ 'configuration_set', 'configuration_set.cpp' ], + [ 'statemachine', 'statemachine.cpp' ], + [ 'capture', 'capture.cpp' ], ] foreach t : camera_tests - exe = executable(t[0], [t[1], 'camera_test.cpp'], - link_with : test_libraries, - include_directories : test_includes_internal) - test(t[0], exe, suite: 'camera', is_parallel: false) + exe = executable(t[0], [t[1], 'camera_test.cpp'], + link_with : test_libraries, + include_directories : test_includes_internal) + test(t[0], exe, suite : 'camera', is_parallel : false) endforeach diff --git a/test/ipa/meson.build b/test/ipa/meson.build index 6df0671b..53015e38 100644 --- a/test/ipa/meson.build +++ b/test/ipa/meson.build @@ -4,8 +4,8 @@ ipa_modules_sources = [ ] foreach m : ipa_modules_sources - shared_library(m, name_prefix: '', - include_directories: test_includes_public) + shared_library(m, name_prefix : '', + include_directories : test_includes_public) endforeach ipa_test = [ @@ -17,5 +17,5 @@ foreach t : ipa_test link_with : test_libraries, include_directories : test_includes_internal) - test(t[0], exe, suite: 'ipa', is_parallel: false) + test(t[0], exe, suite : 'ipa', is_parallel : false) endforeach diff --git a/test/media_device/meson.build b/test/media_device/meson.build index 7ac6c2db..124f454e 100644 --- a/test/media_device/meson.build +++ b/test/media_device/meson.build @@ -16,5 +16,5 @@ foreach t : media_device_tests link_with : [test_libraries, lib_mdev_test], include_directories : test_includes_internal) - test(t[0], exe, suite: 'media_device', is_parallel: false) + test(t[0], exe, suite : 'media_device', is_parallel : false) endforeach diff --git a/test/pipeline/ipu3/meson.build b/test/pipeline/ipu3/meson.build index caba5c74..87074588 100644 --- a/test/pipeline/ipu3/meson.build +++ b/test/pipeline/ipu3/meson.build @@ -1,5 +1,5 @@ ipu3_test = [ - ['ipu3_pipeline_test', 'ipu3_pipeline_test.cpp'], + ['ipu3_pipeline_test', 'ipu3_pipeline_test.cpp'], ] foreach t : ipu3_test @@ -7,5 +7,5 @@ foreach t : ipu3_test link_with : test_libraries, include_directories : test_includes_internal) - test(t[0], exe, suite: 'ipu3', is_parallel: false) + test(t[0], exe, suite : 'ipu3', is_parallel : false) endforeach diff --git a/test/v4l2_device/meson.build b/test/v4l2_device/meson.build index aa617b6d..32556cf5 100644 --- a/test/v4l2_device/meson.build +++ b/test/v4l2_device/meson.build @@ -1,17 +1,17 @@ # Tests are listed in order of complexity. # They are not alphabetically sorted. v4l2_device_tests = [ - [ 'double_open', 'double_open.cpp' ], - [ 'formats', 'formats.cpp' ], - [ 'request_buffers', 'request_buffers.cpp' ], - [ 'stream_on_off', 'stream_on_off.cpp' ], - [ 'capture_async', 'capture_async.cpp' ], - [ 'buffer_sharing', 'buffer_sharing.cpp' ], + [ 'double_open', 'double_open.cpp' ], + [ 'formats', 'formats.cpp' ], + [ 'request_buffers', 'request_buffers.cpp' ], + [ 'stream_on_off', 'stream_on_off.cpp' ], + [ 'capture_async', 'capture_async.cpp' ], + [ 'buffer_sharing', 'buffer_sharing.cpp' ], ] foreach t : v4l2_device_tests - exe = executable(t[0], [t[1], 'v4l2_device_test.cpp'], - link_with : test_libraries, - include_directories : test_includes_internal) - test(t[0], exe, suite: 'v4l2_device', is_parallel: false) + exe = executable(t[0], [t[1], 'v4l2_device_test.cpp'], + link_with : test_libraries, + include_directories : test_includes_internal) + test(t[0], exe, suite : 'v4l2_device', is_parallel : false) endforeach diff --git a/test/v4l2_subdevice/meson.build b/test/v4l2_subdevice/meson.build index 80cfbbbf..282f6e23 100644 --- a/test/v4l2_subdevice/meson.build +++ b/test/v4l2_subdevice/meson.build @@ -7,5 +7,5 @@ foreach t : v4l2_subdevice_tests exe = executable(t[0], [t[1], 'v4l2_subdevice_test.cpp'], link_with : test_libraries, include_directories : test_includes_internal) - test(t[0], exe, suite: 'v4l2_subdevice', is_parallel: false) + test(t[0], exe, suite : 'v4l2_subdevice', is_parallel : false) endforeach |