libcamera/test/camera
Laurent Pinchart a39b91d44e test: buffer_import: Propagate status code from buffer allocation
The BufferSource::allocate() return value isn't propagated correctly,
resulting in a test failure when the test should be skipped due to a
missing vivid device. Fix it.

While at it, return valid status codes from BufferSource::allocate() in
all error cases, with proper diagnostic messages.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
2020-01-20 13:35:55 +02:00
..
buffer_import.cpp test: buffer_import: Propagate status code from buffer allocation 2020-01-20 13:35:55 +02:00
capture.cpp libcamera: camera: Remove the prepared state 2020-01-12 16:10:38 +01:00
configuration_default.cpp test: Extract CameraTest class out of camera tests to libtest 2019-11-20 21:47:20 +02:00
configuration_set.cpp test: Extract CameraTest class out of camera tests to libtest 2019-11-20 21:47:20 +02:00
meson.build test: Extract CameraTest class out of camera tests to libtest 2019-11-20 21:47:20 +02:00
statemachine.cpp libcamera: camera: Remove the prepared state 2020-01-12 16:10:38 +01:00