libcamera/test
Laurent Pinchart 556e03fea7 test: libtest: buffer_source: Close video device right after allocation
There's no need to keep the video device open after allocating buffers,
as V4L2 supports buffer orphaning and the exported buffers will still be
usable. Close the device right after allocation to avoid the need for
delayed cleanups.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
2020-03-18 19:15:18 +02:00
..
camera test: Extract BufferSource class out of camera tests to libtest 2020-03-06 17:45:48 +01:00
controls test: controls: control_value: Expand test to cover array controls 2020-03-06 18:35:34 +02:00
ipa libcamera: Switch from utils::make_unique to std::make_unique 2020-01-14 19:06:40 +02:00
ipc test: Get event dispatcher from current thread 2019-08-19 19:06:37 +03:00
libtest test: libtest: buffer_source: Close video device right after allocation 2020-03-18 19:15:18 +02:00
log test: Get event dispatcher from current thread 2019-08-19 19:06:37 +03:00
media_device libcamera: Remove space between empty curly brackets 2019-11-18 02:27:48 +02:00
pipeline rkisp1: add pipeline test for rkisp1 2020-01-13 22:45:46 +00:00
process test: process: Extend timeout duration 2019-09-13 09:21:40 +01:00
serialization test: Add control serialization test 2019-11-20 21:47:54 +02:00
stream libcamera: PixelFormat: Make constructor explicit 2020-03-18 18:02:40 +01:00
v4l2_subdevice libcamera: Remove unneeded semicolons 2019-11-08 20:37:47 +02:00
v4l2_videodevice libcamera: PixelFormat: Make constructor explicit 2020-03-18 18:02:40 +01:00
byte-stream-buffer.cpp test: Add ByteStreamBuffer test 2019-11-20 21:47:50 +02:00
camera-sensor.cpp libcamera: utils: Add hex stream output helper 2019-10-15 16:49:55 +03:00
event-dispatcher.cpp libcamera: Switch to the std::chrono API 2019-09-14 15:05:45 +03:00
event-thread.cpp test: event-thread: Fix compilation on Chromium OS 2019-08-19 19:06:37 +03:00
event.cpp test: Get event dispatcher from current thread 2019-08-19 19:06:37 +03:00
file-descriptor.cpp test: file-descriptor: Fix undefined O_TMPFILE compilation error 2020-03-08 19:35:23 +02:00
geometry.cpp test: geometry: Add tests for Size class comparison operators 2019-04-18 18:13:10 +03:00
list-cameras.cpp libcamera: camera_manager: Construct CameraManager instances manually 2019-08-19 19:07:45 +03:00
meson.build test: Add Span test 2020-03-06 18:10:02 +02:00
message.cpp libcamera: Switch from utils::make_unique to std::make_unique 2020-01-14 19:06:40 +02:00
object-invoke.cpp libcamera: bound_method: Avoid deadlock with ConnectionTypeBlocking 2020-01-20 19:12:14 +02:00
object.cpp test: object: Extend object test to verify parent-child relationships 2019-08-17 18:47:17 +03:00
signal-threads.cpp test: Add test case for signal delivery across threads 2019-07-11 11:57:37 +03:00
signal.cpp test: signal: Add additional disconnection tests for Object 2020-01-22 17:26:20 +02:00
span.cpp test: Add Span test 2020-03-06 18:10:02 +02:00
threads.cpp test: thread: Test waiting on a thread that is not running 2020-02-14 15:06:42 +02:00
timer-thread.cpp test: timer-thread: Test starting a timer from another thread 2019-10-07 06:02:24 +03:00
timer.cpp test: timer: Test start() with absolute deadline 2019-10-07 06:20:16 +03:00
utils.cpp libcamera: utils: Add a C++ dirname implementation 2020-02-24 09:36:04 +00:00