Skip to content

tests: do not fail encode tests the decoder cannot validate - #232

Open
crmurillo wants to merge 1 commit into
KhronosGroup:mainfrom
crmurillo:fix_decoder_validation
Open

tests: do not fail encode tests the decoder cannot validate#232
crmurillo wants to merge 1 commit into
KhronosGroup:mainfrom
crmurillo:fix_decoder_validation

Conversation

@crmurillo

Copy link
Copy Markdown
Contributor

Description

Decoder validation is executed after every successful encode and any non-zero decoder exit marked the encode test as failed. That mixes two different scenarios: an encoded file that is actually broken, and a decoder that has no support for the encoded configuration.

Print a warning in case the decoder does not have the capabilities to validate the encoded file and mark the encode test as successful. The decoder reports this before decoding anything, so there is no information about the validity of the encoded file.

See #231 for details and how to reproduce.

Type of change

bug fix

Issue (optional)

Fixes part of #231 .

Tests

NVIDIA GeForce RTX 4060 Ti / NVIDIA 595.44.00 / Ubuntu 24.04.4 LTS

Total Tests: 83
Passed: 72
Crashed: 0
Failed: 0
Not Supported: 10
Skipped: 1 (in skip list)
Success Rate: 100.0%

Decoder validation is executed after every successful encode and
any non-zero decoder exit marked the encode test as failed. That
mixes two different scenarios: an encoded file that is actually
broken, and a decoder that has no support for the encoded configuration.

Print a warning in case the decoder does not have the capabilities to
validate the encoded file and mark the encode test as successful (decoder
validation runs only if encoding was successful). The decoder reports
this before decoding anything, so there is no information about the
validity of the encoded file.
@crmurillo
crmurillo force-pushed the fix_decoder_validation branch from 7b4de67 to 5affc6d Compare August 20, 2026 07:47
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