[webkit-dev] layout tests: how are some compared against image, and others only text?
Elliot Poger
epoger at chromium.org
Wed Jan 4 15:39:43 PST 2012
What is it that causes some tests to require baseline images (and not text
files) for comparison, while others require text and not image baselines?
(I know that I can specifically SKIP comparison against IMAGE and/or TEXT
using test_expectations.txt... but even without the use of
test_expectations, I believe that some tests are compared against only text
or only image.)
As an example, I see that this test has only image baselines and no text
baselines:
$ ls LayoutTests/platform/*/fast/canvas/canvas-text-baseline*.png | wc -l
10
$ ls LayoutTests/platform/*/fast/canvas/canvas-text-baseline*.txt | wc -l
ls: cannot access
LayoutTests/platform/*/fast/canvas/canvas-text-baseline*.txt: No such file
or directory
0
while this test has only text baselines and no image baselines:
$ ls LayoutTests/platform/*/fast/canvas/canvas-lineWidth*.png | wc -l
ls: cannot access LayoutTests/platform/*/fast/canvas/canvas-lineWidth*.png:
No such file or directory
0
$ ls LayoutTests/platform/*/fast/canvas/canvas-lineWidth*.txt | wc -l
5
Is there something inherent in each test that indicates whether its results
will be compared against image and/or text baselines? Or is it simply a
matter of what baseline files are found to compare against?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20120104/d41720e2/attachment.html>
More information about the webkit-dev
mailing list