mirror of
https://github.com/servo/servo.git
synced 2025-08-11 16:35:33 +01:00
Update wptrunner.
This commit is contained in:
parent
4624fc18d2
commit
c670894aed
119 changed files with 928 additions and 383 deletions
|
@ -101,6 +101,8 @@ def settings_to_argv(settings):
|
|||
def set_from_args(settings, args):
|
||||
if args.test:
|
||||
settings["include"] = args.test
|
||||
if args.tags:
|
||||
settings["tags"] = args.tags
|
||||
|
||||
def run(config, args):
|
||||
logger = structuredlog.StructuredLogger("web-platform-tests")
|
||||
|
@ -139,6 +141,8 @@ def get_parser():
|
|||
help="Specific product to include in test run")
|
||||
parser.add_argument("--pdb", action="store_true",
|
||||
help="Invoke pdb on uncaught exception")
|
||||
parser.add_argument("--tag", action="append", dest="tags",
|
||||
help="tags to select tests")
|
||||
parser.add_argument("test", nargs="*",
|
||||
help="Specific tests to include in test run")
|
||||
return parser
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue