aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbors-servo <metajack+bors@gmail.com>2015-06-03 07:22:12 -0500
committerbors-servo <metajack+bors@gmail.com>2015-06-03 07:22:12 -0500
commitb408fa9960b0644544c1ef0c7f13f0738f06a32b (patch)
treebaa48c5fcc2289cb087dbb2535bff393ffd32975
parent5a663c7078f452cabcab848657e977aa44bcde33 (diff)
parent45fe69bdefcdc48205cbf1ee28693b5806fd5e3d (diff)
downloadservo-b408fa9960b0644544c1ef0c7f13f0738f06a32b.tar.gz
servo-b408fa9960b0644544c1ef0c7f13f0738f06a32b.zip
Auto merge of #6265 - servo:reftest_analyzer_documentation, r=metajack
<!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6265) <!-- Reviewable:end -->
-rw-r--r--tests/wpt/README.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/wpt/README.md b/tests/wpt/README.md
index 2d3a959f36f..ecd2de1415c 100644
--- a/tests/wpt/README.md
+++ b/tests/wpt/README.md
@@ -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 `!`.