libcamera/test
Kieran Bingham 339e9b2d97 test: camera: Fix initialisation
Three tests {capture,configuration_set,statemachine} override the
CameraTest::init() function, and call it as the first action.

However they were not checking the return value, and each of the tests
will segfault if the VIMC camera is not obtained.

Check the return value of the CameraTest base class initialisation and
return any errors to the test suite if initialisation fails.

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2019-06-10 12:29:40 +01:00
..
camera test: camera: Fix initialisation 2019-06-10 12:29:40 +01:00
ipa libcamera: test: remove test IPA and use dummy IPA instead 2019-06-05 10:44:52 -04:00
libtest libcamera: ipa_manager: implement class for managing IPA modules 2019-06-05 10:44:52 -04:00
media_device meson: Create and use a dependency for libcamera and its headers 2019-05-23 13:56:33 +03:00
pipeline meson: Create and use a dependency for libcamera and its headers 2019-05-23 13:56:33 +03:00
v4l2_device meson: Create and use a dependency for libcamera and its headers 2019-05-23 13:56:33 +03:00
v4l2_subdevice tests: list_formats: Fix argument names and add const 2019-05-25 14:26:40 +02:00
event-dispatcher.cpp tests: event-dispatcher: Add processEvents() interruption test 2019-01-23 18:51:56 +02:00
event.cpp libcamera: Don't ignore the return value of read() and write() 2019-04-29 15:54:40 +03: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: Handle camera objects through shared pointers 2019-01-21 11:13:53 +02:00
meson.build meson: Create and use a dependency for libcamera and its headers 2019-05-23 13:56:33 +03:00
signal.cpp test: signal: Exercise the signal delivery code paths for Object 2019-04-27 17:50:25 +03:00
timer.cpp test: timer: Add a 32 bit wraparound test 2019-01-17 21:31:33 +00:00