Kieran Bingham
9cee8620c3
test: v4l2_device: release capture device resources
...
Ensure that the cleanup operation releases the device and resources.
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com >
2019-02-13 17:27:46 +00:00
Kieran Bingham
ff4e882399
test: v4l2_device: Rename dev_ to capture_
...
Change the variable name globally throughout the tests.
Repair the V4L2DeviceTest constructor style, as checkstyle complained.
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com >
2019-02-13 17:27:33 +00:00
Kieran Bingham
9fa7934239
test: v4l2_device: Use VIVID capture stream
...
Utilise the VIVID capture device for testing the V4L2Device objects.
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com >
2019-02-13 15:46:18 +00:00
Kieran Bingham
93ec63b867
test: v4l2_device: Use DeviceEnumerator to find a UVCVideo
...
Utilise the existing DeviceEnumerator system to identify a suitable
V4L2Device for testing.
Specifically target these tests at a uvcvideo driver based device as a known
supported target.
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com >
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org >
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se >
2019-02-06 06:49:25 +02:00
Kieran Bingham
479264dfca
test: v4l2_device: Add test suite and initial test
...
Provide a base class to construct a v4l2_device object for further tests
and an initial test which validates the FD handle can not be leaked.
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se >
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com >
2019-01-17 21:55:27 +00:00