[libcamera-devel,v3,0/7] apps: lc-compliance: Properties and multi-stream tests
mbox series

Message ID 20231230162912.827669-1-jacopo.mondi@ideasonboard.com
Headers show
Series
  • apps: lc-compliance: Properties and multi-stream tests
Related show

Message

Jacopo Mondi Dec. 30, 2023, 4:29 p.m. UTC
v2->v3:
- Add support for multistream tests

  This is a refresh of patches Naush's patch
  [PATCH v1 6/8] libcamera: apps: lcc: Add multi-stream capture test framework

v2->v1:
- I forgot to move the newly added test in the test/ subdir

Add a test case to validate that mandatory properties and controls are
registered by a Camera and add support for testing multistream capture
operations.

Before adding new tests, a little refresh of the lc-compliance sources might
help. I collected patches from the list for a few minor fixes and re-organized
the source tree by splitting helpers/ and tests/ in dedicated sub-directory.

Then add a test for controls and properties.

Instrument the helper classes to work with multiple streams and roles and add
a test suite for multi-stream capture operations.

The series is based on "[PATCH 0/2] libcamera: Add support for required
controls" on which the tests depend.

Thanks
  j

Jacopo Mondi (5):
  apps: lc-compliance: Fix typo in comment
  apps: lc-compliance: Re-organize source directory
  apps: lc-compliance: Test for mandatory controls
  apps: lc-compliance: Support multiple streams in helpers
  apps: lc-compliance: Add multi-stream tests

NĂ­colas F. R. A. Prado (2):
  apps: lc-compliance: Fix source file ordering in meson.build
  apps: lc-compliance: Check that requests complete successfully

 src/apps/lc-compliance/capture_test.cpp       | 135 ----------
 src/apps/lc-compliance/helpers/capture.cpp    | 235 ++++++++++++++++++
 .../{simple_capture.h => helpers/capture.h}   |  16 +-
 src/apps/lc-compliance/meson.build            |  11 +-
 src/apps/lc-compliance/simple_capture.cpp     | 190 --------------
 src/apps/lc-compliance/tests/capture_test.cpp | 214 ++++++++++++++++
 .../lc-compliance/tests/controls_test.cpp     |  98 ++++++++
 7 files changed, 564 insertions(+), 335 deletions(-)
 delete mode 100644 src/apps/lc-compliance/capture_test.cpp
 create mode 100644 src/apps/lc-compliance/helpers/capture.cpp
 rename src/apps/lc-compliance/{simple_capture.h => helpers/capture.h} (73%)
 delete mode 100644 src/apps/lc-compliance/simple_capture.cpp
 create mode 100644 src/apps/lc-compliance/tests/capture_test.cpp
 create mode 100644 src/apps/lc-compliance/tests/controls_test.cpp

--
2.41.0