[libcamera-devel,0/5] apps: lc-compliance: Add controls and properties test
mbox series

Message ID 20231222164036.649245-1-jacopo.mondi@ideasonboard.com
Headers show
Series
  • apps: lc-compliance: Add controls and properties test
Related show

Message

Jacopo Mondi Dec. 22, 2023, 4:40 p.m. UTC
Add a test case to validate that mandatory properties and controls are
registered by a Camera.

Before adding a new test, 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.

Finally, add a test for controls and properties.

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

Thanks
  j

Jacopo Mondi (3):
  apps: lc-compliance: Fix typo in comment
  apps: lc-compliance: Re-organize source directory
  apps: lc-compliance: Test for mandatory controls

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/controls_test.cpp      | 98 +++++++++++++++++++
 .../capture.cpp}                              | 46 +++++----
 .../{simple_capture.h => helpers/capture.h}   | 14 +--
 src/apps/lc-compliance/meson.build            | 11 ++-
 .../{ => tests}/capture_test.cpp              |  9 +-
 5 files changed, 145 insertions(+), 33 deletions(-)
 create mode 100644 src/apps/lc-compliance/controls_test.cpp
 rename src/apps/lc-compliance/{simple_capture.cpp => helpers/capture.cpp} (77%)
 rename src/apps/lc-compliance/{simple_capture.h => helpers/capture.h} (76%)
 rename src/apps/lc-compliance/{ => tests}/capture_test.cpp (95%)

--
2.41.0