mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Add documentation of reftest analyzer to wpt README
This commit is contained in:
parent
93f09b88c4
commit
45fe69bdef
1 changed files with 18 additions and 0 deletions
|
@ -134,3 +134,21 @@ The `mozilla` directory contains tests that cannot be upstreamed for some
|
|||
reason (e.g. because they depend on Servo-specific APIs), as well as some
|
||||
legacy tests that should be upstreamed at some point. When run they are
|
||||
mounted on the server under `/_mozilla/`.
|
||||
|
||||
Analyzing reftest results
|
||||
=========================
|
||||
|
||||
Reftest results can be analyzed from a raw log file. To generate this run
|
||||
with the `--log-raw` option e.g.
|
||||
|
||||
./mach test-css --log-raw css.log
|
||||
|
||||
This file can then be fed into the
|
||||
[reftest analyzer](http://hoppipolla.co.uk/410/reftest-analyser-structured.xhtml)
|
||||
which will show all failing tests (not just those with unexpected results).
|
||||
Note that this ingests logs in a different format to original version of the
|
||||
tool written for gecko reftests.
|
||||
|
||||
The reftest analyzer allows pixel-level comparison of the test and reference
|
||||
screenshots. Tests that both fail and have an unexpected result are marked
|
||||
with a `!`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue