Skip to content

Distortion on each test - #1554

Merged
Gin890 merged 2 commits into
mainfrom
distortion-on-each-test
Oct 31, 2026
Merged

Gin890 merged 2 commits into
mainfrom
distortion-on-each-test

Conversation

@Gin890

@Gin890 Gin890 commented Oct 11, 2026

Copy link
Copy Markdown
Collaborator

Following up #1553, also change each unit test to use the distortion feature.

Gin and others added 2 commits October 30, 2026 19:00
Each test that loads test images now derives from ImageUnitTest and
implements run_on_images(), so it also runs on re-colored images when
the tests run with --augment-color-distortions.

The tests now keep only the relative image paths, in ImageUnitTest.
Tests that read golden files or parse the file name build the path
from image_paths().

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Otherwise the distortion runs overwrite the golden files with the
results on re-colored images.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Gin890
Gin890 force-pushed the distortion-on-each-test branch from baa108f to 003776e Compare October 31, 2026 02:01
@Gin890
Gin890 merged commit 1ba2e90 into main Oct 31, 2026
7 checks passed
@Gin890
Gin890 deleted the distortion-on-each-test branch October 31, 2026 03:55
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.

2 participants