aboutsummaryrefslogtreecommitdiffstats
path: root/etc/wpt-summarize.py
diff options
context:
space:
mode:
Diffstat (limited to 'etc/wpt-summarize.py')
-rw-r--r--etc/wpt-summarize.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/etc/wpt-summarize.py b/etc/wpt-summarize.py
index 06cf9dd3f5a..96f55632740 100644
--- a/etc/wpt-summarize.py
+++ b/etc/wpt-summarize.py
@@ -9,6 +9,15 @@
# option. This file may not be copied, modified, or distributed
# except according to those terms.
+# Usage: python wpt-summarize.py /wpt/test/url.html [--full]
+#
+# Extract all log lines for a particular test file from a WPT
+# logs, outputting invidual JSON objects that can be manipulated
+# with tools like jq. If a particular URL results in no output,
+# the URL is likely used as a reference test's reference file,
+# so passing `--full` will find any output from Servo process
+# command lines that include the URL.
+
import sys
import json