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

Use more specific fuzzy matching limits for 2d.composite.grid tests #49107

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chromium-wpt-export-bot
Copy link
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented Nov 11, 2024

These tests are all implemented as a single parameterized test. The
the fuzzy matching was defined in the base test definition, which means
that all variants of the parameterized tests we using the same fuzzy
config. This unfortunately required all the variants to share the same
worse-case fuzzy matching limits.

With a little Jinja templating, we can be more granular with how we
specify that config. In this CL, the fuzzy config is specified using a
map that is keyed based on the variant name, allowing each variant to
have different config.

This will be useful in a follow-up CL where adding blur to the shadow
tests will further increase the difference between the fuzzy matching
limits of different variants.

Bug: 364549423
Change-Id: I20ada8d1b1a97b07b1a6eb5c4b3b98a8c8fcf9ac
Reviewed-on: https://chromium-review.googlesource.com/5999276
WPT-Export-Revision: 82d430883b523daadb9185c8035f795845786352

These tests are all implemented as a single parameterized test. The
the fuzzy matching was defined in the base test definition, which means
that all variants of the parameterized tests we using the same fuzzy
config. This unfortunately required all the variants to share the same
worse-case fuzzy matching limits.

With a little Jinja templating, we can be more granular with how we
specify that config. In this CL, the fuzzy config is specified using a
map that is keyed based on the variant name, allowing each variant to
have different config.

This will be useful in a follow-up CL where adding blur to the shadow
tests will further increase the difference between the fuzzy matching
limits of different variants.

Bug: 364549423
Change-Id: I20ada8d1b1a97b07b1a6eb5c4b3b98a8c8fcf9ac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants