GStreamer imsdk camera test suite#405
Conversation
- Add GStreamer-based camera test suite at imsdk level - Support both libcamera and qtiqmmfsrc pipelines - Introduce duration-based timeout instead of num-buffers - Add helpers in lib_gstreamer for camera validation - Cleanup unsupported features and normalize scripts - Add README and YAML definitions for camera tests Signed-off-by: nitinn <nitinn@qti.qualcomm.com>
5638a88 to
54e7f3b
Compare
Signed-off-by: nitinn <nitinn@qti.qualcomm.com>
There was a problem hiding this comment.
This PR would be much easier to review and maintain if it is reduced to the minimum supported feature set.
Right now the suite is over-expanded for an initial submission: the runner is very large, the README is very long, and the shared library change includes helper additions that do not appear to be required by the suite’s current execution path.
Please tighten this PR. Suggested cleanup:
-
Remove interfaces that are not actually implemented end-to-end yet
- e.g.
--test-name/CAMERA_TEST_NAMEif single-test filtering is not wired up - remove snapshot-related helper additions if snapshot tests are not actually executed
- e.g.
-
Keep only shared
lib_gstreamer.shhelpers that are used by this suite today -
Reduce the README to the essentials
- overview
- prerequisites
- actual supported test matrix
- parameters
- basic troubleshooting
-
Split into 2 commits
- shared helper additions
- Camera_Tests suite files
-
Fix the YAML wrapper to the repo-standard form while respinning
If needed, it would also be reasonable to reduce this to a smaller MVP first (for example only the verified backend/test paths), and then add more coverage in follow-up PRs.
This test suite provides comprehensive validation of camera functionality using GStreamer with Qualcomm's qtiqmmfsrc plugin (downstream) or libcamerasrc (upstream). Tests run in a specific sequence to validate different camera capabilities progressively.
The test suite automatically detects which camera source plugin is available:
qtiqmmfsrc (Qualcomm CAMX downstream): Runs 10 tests
libcamerasrc (upstream): Runs 7 tests