Add a test to exercise the ControlInfoMap API. This currently tests at(), count(), find() and end(). Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Niklas Söderlund <niklas.soderlund@ragnatech.se>
14 lines
505 B
Meson
14 lines
505 B
Meson
control_tests = [
|
|
[ 'control_info', 'control_info.cpp' ],
|
|
[ 'control_list', 'control_list.cpp' ],
|
|
[ 'control_range', 'control_range.cpp' ],
|
|
[ 'control_value', 'control_value.cpp' ],
|
|
]
|
|
|
|
foreach t : control_tests
|
|
exe = executable(t[0], t[1],
|
|
dependencies : libcamera_dep,
|
|
link_with : test_libraries,
|
|
include_directories : test_includes_internal)
|
|
test(t[0], exe, suite : 'controls', is_parallel : false)
|
|
endforeach
|