Add explanatory comment for wpt-summarize.py.

This commit is contained in:
Josh Matthews 2019-11-22 13:14:30 -05:00 committed by GitHub
parent 6cad3dbe3f
commit cc1aadfd20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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