-
Notifications
You must be signed in to change notification settings - Fork 3
Feature/add vpl test #147
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
base: develop
Are you sure you want to change the base?
Feature/add vpl test #147
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Overview
This PR adds new end-to-end tests for Intel VPL AV1 decoding and updates testing workflows to properly include the new test files. Key changes include:
- New AV1 decoder tests in tests/test_intel_vpl_av1.py that verify dynamic and large resolution switches.
- Updates to the GitHub Actions workflow files (.github/workflows/e2e-test-intel-vpl.yml and .github/workflows/e2e-test.yml) to include test files with revised naming patterns.
- Minor adjustments in tests/client.py and tests/test_intel_vpl.py, including the removal of outdated comments.
Reviewed Changes
File | Description |
---|---|
tests/test_intel_vpl_av1.py | Added new tests for AV1 functionality under Intel VPL and resolution tests. |
.github/workflows/e2e-test-intel-vpl.yml | Adjusted file patterns to include new test files. |
tests/client.py | Introduced a duplicate definition of set_video_resolution. |
.github/workflows/e2e-test.yml | Updated test file patterns for broader coverage. |
tests/test_intel_vpl.py | Removed redundant comments regarding codec checks. |
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Comments suppressed due to low confidence (2)
tests/client.py:315
- [nitpick] The set_video_resolution method is already defined elsewhere in the codebase, which may lead to confusion or unexpected behavior. Consider removing this duplicate definition and reusing the existing implementation.
def set_video_resolution(self, width: int, height: int):
tests/test_intel_vpl_av1.py:98
- [nitpick] The comment incorrectly refers to H.264/H.265, while the actual assertion checks for 'AV1'. Please update the comment to accurately reflect that the codec in use is AV1.
# H.264/H.265 が採用されているかどうか確認する
This pull request includes several updates and additions to the testing framework, particularly focusing on the Intel VPL and AV1 codec support. The most significant changes include expanding test coverage, adding new test cases, and updating existing tests to improve functionality and reliability.
Test Coverage Expansion:
tests/test_intel_vpl_av1.py
: Added new test cases for Intel VPL with AV1 codec, including dynamic resolution changes and 8K resolution support. These tests ensure the system can handle different resolutions and codec implementations correctly.Workflow Updates:
.github/workflows/e2e-test-intel-vpl.yml
: Modified the paths to include all files matchingtests/test_intel_vpl**
and updated thepytest
command to run tests for all matching files. This change ensures comprehensive test coverage for Intel VPL-related tests. [1] [2].github/workflows/e2e-test.yml
: Updated the paths to include all files matchingtests/test_intel_vpl**
andtests/test_apple_video_toolbox**
, ensuring that changes to any related files trigger the appropriate tests.Code Improvements:
tests/client.py
: Added a new methodset_video_resolution
to dynamically change the video resolution during tests. This method is used in the new AV1 tests to verify resolution changes.Minor Updates:
tests/test_intel_vpl.py
: Removed redundant comments to clean up the code and improve readability. [1] [2]