Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test Jobs for V4L2 Compliance (New) #1653

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from
Draft

Conversation

tomli380576
Copy link
Contributor

Description

This PR implements test jobs utilizing the v4l2 compliance parser. Each camera will get a job for each ioctl request, so the total number of jobs would be (n_cameras * n_ioctl_tests).

Resolved issues

Documentation

As of right now each camera will run v4l2-compliance once for every ioctl request. To test more ioctls in 1 run, pass in more ioctl names in --ioctl.

Tests

Unit tests WIP
Test plan tested on 16, 18, 20 VM with camera pass through, 22&24 DUTs with USB cameras.

Copy link

codecov bot commented Dec 12, 2024

Codecov Report

Attention: Patch coverage is 0% with 39 lines in your changes missing coverage. Please review.

Project coverage is 48.91%. Comparing base (aac167f) to head (c84e80c).

Files with missing lines Patch % Lines
providers/base/bin/v4l2_compliance_test.py 0.00% 24 Missing ⚠️
providers/resource/bin/v4l2_ioctl_resource.py 0.00% 15 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1653      +/-   ##
==========================================
- Coverage   48.96%   48.91%   -0.05%     
==========================================
  Files         371      373       +2     
  Lines       40296    40335      +39     
  Branches     6808     6816       +8     
==========================================
  Hits        19730    19730              
- Misses      19846    19885      +39     
  Partials      720      720              
Flag Coverage Δ
provider-base 24.76% <0.00%> (-0.04%) ⬇️
provider-resource 34.47% <0.00%> (-0.53%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant