From cc1aadfd20fee6d75962902bcd85d440743dcbce Mon Sep 17 00:00:00 2001 From: Josh Matthews Date: Fri, 22 Nov 2019 13:14:30 -0500 Subject: [PATCH] Add explanatory comment for wpt-summarize.py. --- etc/wpt-summarize.py | 9 +++++++++ 1 file changed, 9 insertions(+) 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