mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Allow wpt commands to accept --with-layout-2013
This commit is contained in:
parent
98bae01f02
commit
b3670c503d
2 changed files with 4 additions and 0 deletions
|
@ -33,6 +33,8 @@ def create_parser():
|
|||
help="Pass preferences to servo")
|
||||
parser.add_argument('--layout-2020', '--with-layout-2020', default=False,
|
||||
action="store_true", help="Use expected results for the 2020 layout engine")
|
||||
parser.add_argument('--layout-2013', '--with-layout-2013', default=True,
|
||||
action="store_true", help="Use expected results for the 2013 layout engine")
|
||||
parser.add_argument('--log-servojson', action="append", type=mozlog.commandline.log_file,
|
||||
help="Servo's JSON logger of unexpected results")
|
||||
parser.add_argument('--always-succeed', default=False, action="store_true",
|
||||
|
|
|
@ -47,6 +47,8 @@ def create_parser():
|
|||
parser = wptcommandline.create_parser_update()
|
||||
parser.add_argument("--layout-2020", "--with-layout-2020", default=False, action="store_true",
|
||||
help="Use expected results for the 2020 layout engine")
|
||||
parser.add_argument("--layout-2013", "--with-layout-2013", default=True, action="store_true",
|
||||
help="Use expected results for the 2013 layout engine")
|
||||
return parser
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue