Update web-platform-tests to revision 4984b190341b535c645729b8f99247aace0022fe

This commit is contained in:
WPT Sync Bot 2018-12-17 21:06:57 -05:00
parent 9ca6768a56
commit d61756ac9d
73 changed files with 1198 additions and 1135 deletions

View file

@ -1 +1 @@
requests==2.20.1
requests==2.21.0

View file

@ -496,8 +496,12 @@ def setup_wptrunner(venv, prompt=True, install_browser=False, **kwargs):
affected_revish = kwargs.pop("affected", None)
if affected_revish is not None:
# TODO: Consolidate with `./wpt tests-affected --ignore-rules`:
# https://github.com/web-platform-tests/wpt/issues/14560
files_changed, _ = testfiles.files_changed(
affected_revish, include_uncommitted=True, include_new=True)
affected_revish,
ignore_rules=["resources/testharness*"],
include_uncommitted=True, include_new=True)
# TODO: Perhaps use wptrunner.testloader.ManifestLoader here
# and remove the manifest-related code from testfiles.
# https://github.com/web-platform-tests/wpt/issues/14421

View file

@ -309,6 +309,8 @@ def get_parser():
parser = argparse.ArgumentParser()
parser.add_argument("revish", default=None, help="Commits to consider. Defaults to the "
"commits on the current branch", nargs="?")
# TODO: Consolidate with `./wpt run --affected`:
# https://github.com/web-platform-tests/wpt/issues/14560
parser.add_argument("--ignore-rules", nargs="*", type=set,
default=set(["resources/testharness*"]),
help="Rules for paths to exclude from lists of changes. Rules are paths "

View file

@ -2,16 +2,12 @@ from .base import Browser, ExecutorBrowser, require_arg
from .base import get_timeout_multiplier # noqa: F401
from ..webdriver_server import InternetExplorerDriverServer
from ..executors import executor_kwargs as base_executor_kwargs
from ..executors.executorselenium import (SeleniumTestharnessExecutor, # noqa: F401
SeleniumRefTestExecutor) # noqa: F401
from ..executors.executorinternetexplorer import InternetExplorerDriverWdspecExecutor # noqa: F401
__wptrunner__ = {"product": "ie",
"check_args": "check_args",
"browser": "InternetExplorerBrowser",
"executor": {"testharness": "SeleniumTestharnessExecutor",
"reftest": "SeleniumRefTestExecutor",
"wdspec": "InternetExplorerDriverWdspecExecutor"},
"executor": {"wdspec": "InternetExplorerDriverWdspecExecutor"},
"browser_kwargs": "browser_kwargs",
"executor_kwargs": "executor_kwargs",
"env_extras": "env_extras",