aboutsummaryrefslogtreecommitdiffstats
path: root/etc/wpt-summarize.py
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2019-11-22 13:14:30 -0500
committerGitHub <noreply@github.com>2019-11-22 13:14:30 -0500
commitcc1aadfd20fee6d75962902bcd85d440743dcbce (patch)
treeaef2ddcb27bc48344fea9e0ddf66b8f18824cacb /etc/wpt-summarize.py
parent6cad3dbe3f06c288e177a60f4e2b2a321f7247c6 (diff)
downloadservo-cc1aadfd20fee6d75962902bcd85d440743dcbce.tar.gz
servo-cc1aadfd20fee6d75962902bcd85d440743dcbce.zip
Add explanatory comment for wpt-summarize.py.
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