Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Useful scripts for interacting with WPT logs #24841

Merged
merged 10 commits into from Nov 23, 2019

Add explanatory comment for wpt-summarize.py.

  • Loading branch information
jdm committed Nov 22, 2019
commit cc1aadfd20fee6d75962902bcd85d440743dcbce
@@ -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

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.