mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Add explanatory comment for wpt-summarize.py.
This commit is contained in:
parent
6cad3dbe3f
commit
cc1aadfd20
1 changed files with 9 additions and 0 deletions
|
@ -9,6 +9,15 @@
|
||||||
# option. This file may not be copied, modified, or distributed
|
# option. This file may not be copied, modified, or distributed
|
||||||
# except according to those terms.
|
# 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 sys
|
||||||
import json
|
import json
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue