Closed fernando79513 closed 2 months ago
Attention: Patch coverage is 91.19171%
with 17 lines
in your changes missing coverage. Please review.
Project coverage is 47.29%. Comparing base (
0881101
) to head (1ca94f1
). Report is 15 commits behind head on main.
Files with missing lines | Patch % | Lines |
---|---|---|
providers/base/bin/camera_test.py | 91.19% | 12 Missing and 5 partials :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description
The main objective of this test was to remove Clutter and Gtk dependencies from
camera_test.py
so we could run themultipe-resolution-images
job on core devices without a display. The testing on the available core devices with camera required some additional fixes to the script, So this PR contains a bigger series of changes.:fswebcam
capture has been isolated so it can be removed in the future if we consider.Resolved issues
https://warthogs.atlassian.net/browse/CHECKBOX-1200
Documentation
The camera test script has been documented further inside the code adding more clear comments
Tests
To test this new script on a device, you can run any of the automated or manual camera tests:
submission_2024-08-08T14.05.34.803516.zip
Note: On shiner-imx8-med-pdk001, gstreamer is not able to capture the image at 1640x1232, so the test times out. If that resolution is excluded, the test passes.
With 1640x1232 excluded: