[libcamera-devel,v2,0/4] test: camera: Add basic tests for the camera
mbox series

Message ID 20190311022232.4759-1-niklas.soderlund@ragnatech.se
Headers show
Series
  • test: camera: Add basic tests for the camera
Related show

Message

Niklas Söderlund March 11, 2019, 2:22 a.m. UTC
Hi,

This series add basic tests for the camera implementation. The tests 
involve reading and setting configurations, access control of the state 
machine and capturing.

All tests uses the vimc pipeline to allow the tests to run on as many
platforms as possible. Down the line this might be expanded to run an
all cameras detected by libcamera.

Niklas Söderlund (4):
  test: camera: Add read default configuration test
  test: camera: Add setting of configuration test
  test: camera: Add capture test
  test: camera: Add state machine test

 test/camera/camera_test.cpp           |  74 +++++++
 test/camera/camera_test.h             |  35 ++++
 test/camera/capture.cpp               | 136 +++++++++++++
 test/camera/configuration_default.cpp |  68 +++++++
 test/camera/configuration_set.cpp     |  90 +++++++++
 test/camera/meson.build               |  15 ++
 test/camera/statemachine.cpp          | 275 ++++++++++++++++++++++++++
 test/meson.build                      |   1 +
 8 files changed, 694 insertions(+)
 create mode 100644 test/camera/camera_test.cpp
 create mode 100644 test/camera/camera_test.h
 create mode 100644 test/camera/capture.cpp
 create mode 100644 test/camera/configuration_default.cpp
 create mode 100644 test/camera/configuration_set.cpp
 create mode 100644 test/camera/meson.build
 create mode 100644 test/camera/statemachine.cpp

Comments

Niklas Söderlund March 13, 2019, 1:06 a.m. UTC | #1
Hi Laurent,

Thanks for your feedback on this series.

I have addressed all your comments and posted a v3 to the ML. I will let 
it float for a day or two in case there are more review comments and 
merge it if noting surface.

On 2019-03-11 03:22:28 +0100, Niklas Söderlund wrote:
> Hi,
> 
> This series add basic tests for the camera implementation. The tests 
> involve reading and setting configurations, access control of the state 
> machine and capturing.
> 
> All tests uses the vimc pipeline to allow the tests to run on as many
> platforms as possible. Down the line this might be expanded to run an
> all cameras detected by libcamera.
> 
> Niklas Söderlund (4):
>   test: camera: Add read default configuration test
>   test: camera: Add setting of configuration test
>   test: camera: Add capture test
>   test: camera: Add state machine test
> 
>  test/camera/camera_test.cpp           |  74 +++++++
>  test/camera/camera_test.h             |  35 ++++
>  test/camera/capture.cpp               | 136 +++++++++++++
>  test/camera/configuration_default.cpp |  68 +++++++
>  test/camera/configuration_set.cpp     |  90 +++++++++
>  test/camera/meson.build               |  15 ++
>  test/camera/statemachine.cpp          | 275 ++++++++++++++++++++++++++
>  test/meson.build                      |   1 +
>  8 files changed, 694 insertions(+)
>  create mode 100644 test/camera/camera_test.cpp
>  create mode 100644 test/camera/camera_test.h
>  create mode 100644 test/camera/capture.cpp
>  create mode 100644 test/camera/configuration_default.cpp
>  create mode 100644 test/camera/configuration_set.cpp
>  create mode 100644 test/camera/meson.build
>  create mode 100644 test/camera/statemachine.cpp
> 
> -- 
> 2.21.0
>