webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Classes | |
class | Browser |
class | Chrome |
class | FilteredIO |
class | Firefox |
class | pwd |
class | TravisFold |
Functions | |
def | do_delayed_imports () |
def | setup_logging () |
def | setup_action_filter () |
def | replace_streams (capacity, warning_msg) |
def | get (url) |
def | call (args) |
def | get_git_cmd (repo_path) |
def | seekable (fileobj) |
def | untar (fileobj) |
def | unzip (fileobj) |
def | fetch_wpt_master (user) |
def | get_sha1 () |
def | build_manifest () |
def | install_wptrunner () |
def | get_files_changed () |
def | get_affected_testfiles (files_changed) |
def | wptrunner_args (root, files_changed, iterations, browser) |
def | setup_log_handler () |
def | is_inconsistent (results_dict, iterations) |
def | err_string (results_dict, iterations) |
def | process_results (log, iterations) |
def | format_comment_title (product) |
def | markdown_adjust (s) |
def | table (headings, data, log) |
def | write_inconsistent (inconsistent, iterations) |
def | write_results (results, iterations, comment_pr) |
def | get_parser () |
def | main () |
Variables | |
BaseHandler = None | |
LogActionFilter = None | |
LogHandler = None | |
LogLevelFilter = None | |
StreamHandler = None | |
TbplFormatter = None | |
manifest = None | |
reader = None | |
wptcommandline = None | |
wptrunner = None | |
wpt_root = None | |
wptrunner_root = None | |
logger = None | |
def | retcode = main() |
inner | |
actions | |
results | |
def web-platform-tests.check_stability.build_manifest | ( | ) |
Build manifest of all files in web-platform-tests
def web-platform-tests.check_stability.call | ( | args | ) |
Log terminal command, invoke it as a subprocess. Returns a bytestring of the subprocess output if no error.
def web-platform-tests.check_stability.do_delayed_imports | ( | ) |
Import and set up modules only needed if execution gets to this point.
def web-platform-tests.check_stability.err_string | ( | results_dict, | |
iterations | |||
) |
Create and return string with errors from test run.
def web-platform-tests.check_stability.fetch_wpt_master | ( | user | ) |
Fetch the master branch via git.
def web-platform-tests.check_stability.format_comment_title | ( | product | ) |
Produce a Markdown-formatted string based on a given "product"--a string containing a browser identifier optionally followed by a colon and a release channel. (For example: "firefox" or "chrome:dev".) The generated title string is used both to create new comments and to locate (and subsequently update) previously-submitted comments.
def web-platform-tests.check_stability.get | ( | url | ) |
Issue GET request to a given URL and return the response.
def web-platform-tests.check_stability.get_affected_testfiles | ( | files_changed | ) |
Determine and return list of test files that reference changed files.
def web-platform-tests.check_stability.get_files_changed | ( | ) |
Get and return files changed since current branch diverged from master.
def web-platform-tests.check_stability.get_git_cmd | ( | repo_path | ) |
Create a function for invoking git commands as a subprocess.
def web-platform-tests.check_stability.get_parser | ( | ) |
Create and return script-specific argument parser.
def web-platform-tests.check_stability.get_sha1 | ( | ) |
Get and return sha1 of current git branch HEAD commit.
def web-platform-tests.check_stability.install_wptrunner | ( | ) |
Clone and install wptrunner.
def web-platform-tests.check_stability.is_inconsistent | ( | results_dict, | |
iterations | |||
) |
Return whether or not a single test is inconsistent.
def web-platform-tests.check_stability.main | ( | void | ) |
Perform check_stability functionality and return exit code.
def web-platform-tests.check_stability.markdown_adjust | ( | s | ) |
Escape problematic markdown sequences.
def web-platform-tests.check_stability.process_results | ( | log, | |
iterations | |||
) |
Process test log and return overall results and list of inconsistent tests.
def web-platform-tests.check_stability.replace_streams | ( | capacity, | |
warning_msg | |||
) |
def web-platform-tests.check_stability.seekable | ( | fileobj | ) |
Attempt to use file.seek on given file, with fallbacks.
def web-platform-tests.check_stability.setup_action_filter | ( | ) |
Create global LogActionFilter class as part of deferred module load.
def web-platform-tests.check_stability.setup_log_handler | ( | ) |
Set up LogHandler class as part of deferred module load.
def web-platform-tests.check_stability.setup_logging | ( | ) |
Set up basic debug logger.
def web-platform-tests.check_stability.table | ( | headings, | |
data, | |||
log | |||
) |
Create and log data to specified logger in tabular format.
def web-platform-tests.check_stability.untar | ( | fileobj | ) |
Extract tar archive.
def web-platform-tests.check_stability.unzip | ( | fileobj | ) |
Extract zip archive.
def web-platform-tests.check_stability.wptrunner_args | ( | root, | |
files_changed, | |||
iterations, | |||
browser | |||
) |
Derive and return arguments for wpt-runner.
def web-platform-tests.check_stability.write_inconsistent | ( | inconsistent, | |
iterations | |||
) |
Output inconsistent tests to logger.error.
def web-platform-tests.check_stability.write_results | ( | results, | |
iterations, | |||
comment_pr | |||
) |
Output all test results to logger.info.
web-platform-tests.check_stability.actions |
web-platform-tests.check_stability.BaseHandler = None |
web-platform-tests.check_stability.inner |
web-platform-tests.check_stability.LogActionFilter = None |
web-platform-tests.check_stability.logger = None |
web-platform-tests.check_stability.LogHandler = None |
web-platform-tests.check_stability.LogLevelFilter = None |
web-platform-tests.check_stability.manifest = None |
web-platform-tests.check_stability.reader = None |
web-platform-tests.check_stability.results |
def web-platform-tests.check_stability.retcode = main() |
web-platform-tests.check_stability.StreamHandler = None |
web-platform-tests.check_stability.TbplFormatter = None |
web-platform-tests.check_stability.wpt_root = None |
web-platform-tests.check_stability.wptcommandline = None |
web-platform-tests.check_stability.wptrunner = None |
web-platform-tests.check_stability.wptrunner_root = None |