libcamera/test/v4l2_videodevice
Laurent Pinchart 73f18f32c9 test: v4l2_videodevice: Increase timeout for vimc capture tests
On slower machines, a 10s timeout to capture frames with vimc can be too
short and cause test failures. Make the timeout proportional to the
number of frames expected to be captured, using a conservative low
estimate of the frame rate at 2fps. This does not increase the test time
if the vimc driver is fast enough to produce frames.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com>
2024-06-03 11:53:10 +03:00
..
buffer_cache.cpp test: Test V4L2BufferCache::isEmpty() member function 2022-03-28 02:18:39 +03:00
buffer_sharing.cpp libcamera: base: timer: Drop start() overload with int argument 2022-03-25 13:11:12 +02:00
capture_async.cpp test: v4l2_videodevice: Increase timeout for vimc capture tests 2024-06-03 11:53:10 +03:00
controls.cpp libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
dequeue_watchdog.cpp test: v4l2_videodevice: dequeue_watchdog: Check return value of streamOn 2022-04-07 16:19:40 +03:00
double_open.cpp test: Omit extra semicolons 2020-10-20 13:15:43 +03:00
formats.cpp libcamera/base: Move utils to the base library 2021-06-25 16:11:02 +01:00
meson.build test: meson: Use dictionaries instead of arrays to store test information 2022-10-07 17:05:42 +03:00
request_buffers.cpp test: Omit extra semicolons 2020-10-20 13:15:43 +03:00
stream_on_off.cpp test: Omit extra semicolons 2020-10-20 13:15:43 +03:00
v4l2_m2mdevice.cpp test: v4l2_m2mdevice: Test control enumeration 2022-10-04 17:58:00 +03:00
v4l2_videodevice_test.cpp libcamera: v4l2_subdevice: Rename V4L2SubdeviceFormat::mbus_code to code 2024-03-15 12:55:03 +02:00
v4l2_videodevice_test.h libcamera: Drop remaining file name from header comment blocks 2024-05-09 23:31:15 +03:00