diff options
Diffstat (limited to 'test/camera/meson.build')
-rw-r--r-- | test/camera/meson.build | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/test/camera/meson.build b/test/camera/meson.build index e2a6660a..4f9f8c8c 100644 --- a/test/camera/meson.build +++ b/test/camera/meson.build @@ -1,17 +1,20 @@ +# SPDX-License-Identifier: CC0-1.0 + # 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' ], + {'name': 'configuration_default', 'sources': ['configuration_default.cpp']}, + {'name': 'configuration_set', 'sources': ['configuration_set.cpp']}, + {'name': 'buffer_import', 'sources': ['buffer_import.cpp']}, + {'name': 'statemachine', 'sources': ['statemachine.cpp']}, + {'name': 'capture', 'sources': ['capture.cpp']}, + {'name': 'camera_reconfigure', 'sources': ['camera_reconfigure.cpp']}, ] -foreach t : camera_tests - exe = executable(t[0], t[1], - dependencies : libcamera_dep, +foreach test : camera_tests + exe = executable(test['name'], test['sources'], + dependencies : libcamera_private, link_with : test_libraries, include_directories : test_includes_internal) - test(t[0], exe, suite : 'camera', is_parallel : false) + test(test['name'], exe, suite : 'camera', is_parallel : false) endforeach |