I've revived my visual regression tests for the frame display list work and they'll be useful for lots of other things too. This iteration is based on gnome-web-photo and some of the work I've done is going upstream to chpe. I'll attach full instructions later but for now I just want to attach some scripts so they don't get lost.
Created attachment 205359 [details] script to run tests This is the script I use to drive gnome-web-photo. Basically you feed it a bunch of test file names on standard input, it renders them into a bunch of files whose names contain a hash of the rendered image, and then it prints out the mapping from test file names to image file names.
Created attachment 205360 [details] parallelizer For increased performance we should able to run tests in parallel. This script does that in a generic way, but unfortunately it causes some tests to be dropped on the floor. I don't know why yet.
Created attachment 205362 [details] image comparison tool This is the cool part. It takes two file parameters; each file is a list of test-image pairs as output by tests.pl. It figures out which tests got different results and builds an HTML page listing those tests. You can click on a changed test to pop up a new window, with the image(s) in question and differences highlighted in with an animated color cycle effect. You can use the mouse to show a zoomed-in area for pixel-level analysis.
Created attachment 205363 [details] screenshot The lime-green pixels in the image are where the color-cycling is happening to highlight the changed pixels.
Obsoleted by reftests.
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → WONTFIX
8 years ago
Assignee: roc → nobody
You need to log in before you can comment on or make changes to this bug.