Add --layout-2020 to ./mach test-wpt and ./mach update-wpt

… with separate metadata (expected results) and include manifest.
This commit is contained in:
Simon Sapin 2019-06-28 11:03:41 +02:00
parent 2b01c26aa5
commit 5cabcd5268
95 changed files with 200 additions and 0 deletions

View file

@ -72,6 +72,8 @@ def create_parser_wpt():
help="Run under chaos mode in rr until a failure is captured")
parser.add_argument('--pref', default=[], action="append", dest="prefs",
help="Pass preferences to servo")
parser.add_argument('--layout-2020', default=False, action="store_true",
help="Use expected results for the 2020 layout engine")
parser.add_argument('--always-succeed', default=False, action="store_true",
help="Always yield exit code of zero")
return parser

View file

@ -0,0 +1,8 @@
skip: true
[css]
skip: true
[CSS2]
skip: true
[box-display]
skip: false

View file

@ -0,0 +1,2 @@
[anonymous-box-generation-001.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[anonymous-boxes-inheritance-001.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[anonymous-inline-whitespace-001.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[block-in-inline-001.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[block-in-inline-002.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[block-in-inline-003.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[block-in-inline-007.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[block-in-inline-008.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[block-in-inline-relpos-001.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[block-in-inline-relpos-002.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[box-generation-001.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[box-generation-002.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[containing-block-001.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[containing-block-002.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[containing-block-003.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[containing-block-004.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[containing-block-005.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[containing-block-006.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[containing-block-007.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[containing-block-008.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[containing-block-009.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[containing-block-010.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[containing-block-019.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[containing-block-020.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[containing-block-021.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[containing-block-022.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[containing-block-023.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[containing-block-026.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[containing-block-027.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[containing-block-028.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[containing-block-029.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[containing-block-030.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[delete-block-in-inlines-beginning-001.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[delete-block-in-inlines-end-001.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[delete-block-in-inlines-middle-001.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[delete-inline-in-blocks-beginning-001.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[delete-inline-in-blocks-end-001.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[delete-inline-in-blocks-middle-001.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[delete-inline-in-blocks-middle-002.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[delete-inline-in-blocks-middle-003.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[descendant-display-none-001.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[descendant-display-override-001.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[display-001.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[display-002.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[display-005.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[display-006.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[display-007.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[display-008.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[display-009.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[display-010.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[display-011.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[display-012.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[display-013.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[display-014.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[display-015.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[display-016.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[display-017.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[display-018.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[display-change-001.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[display-none-001.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[display-none-002.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[display-none-003.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[insert-block-in-blocks-n-inlines-begin-001.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[insert-block-in-blocks-n-inlines-begin-002.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[insert-block-in-blocks-n-inlines-begin-003.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[insert-block-in-blocks-n-inlines-end-001.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[insert-block-in-blocks-n-inlines-end-002.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[insert-block-in-blocks-n-inlines-end-003.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[insert-block-in-blocks-n-inlines-middle-001.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[insert-block-in-blocks-n-inlines-middle-002.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[insert-block-in-blocks-n-inlines-middle-003.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[insert-block-in-inlines-beginning-001.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[insert-block-in-inlines-end-001.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[insert-block-in-inlines-middle-001.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[insert-inline-in-blocks-beginning-001.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[insert-inline-in-blocks-end-001.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[insert-inline-in-blocks-middle-001.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[insert-inline-in-blocks-middle-002.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[insert-inline-in-blocks-n-inlines-begin-001.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[insert-inline-in-blocks-n-inlines-begin-002.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[insert-inline-in-blocks-n-inlines-begin-003.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[insert-inline-in-blocks-n-inlines-end-001.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[insert-inline-in-blocks-n-inlines-end-002.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[insert-inline-in-blocks-n-inlines-end-003.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[insert-inline-in-blocks-n-inlines-middle-001.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[insert-inline-in-blocks-n-inlines-middle-002.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[insert-inline-in-blocks-n-inlines-middle-003.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[root-box-002.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[root-box-003.xht]
expected: CRASH

View file

@ -0,0 +1,2 @@
[root-canvas-001.xht]
expected: CRASH

View file

@ -93,6 +93,10 @@ def set_defaults(kwargs):
wptcommandline.check_args(kwargs)
if kwargs.pop("layout_2020"):
kwargs["test_paths"]["/"]["metadata_path"] = wpt_path("metadata-layout-2020")
kwargs["include_manifest"] = wpt_path("include-layout-2020.ini")
def main():
parser = wptcommandline.create_parser()

View file

@ -34,6 +34,10 @@ def set_defaults(kwargs):
kwargs["store_state"] = False
updatecommandline.check_args(kwargs)
if kwargs.pop("layout_2020"):
kwargs["test_paths"]["/"]["metadata_path"] = wpt_path("metadata-layout-2020")
kwargs["include_manifest"] = wpt_path("include-layout-2020.ini")
def main():
parser = wptcommandline.create_parser()

View file

@ -13,6 +13,8 @@ def create_parser():
parser.add_argument("--token-file", action="store", type=wptcommandline.abs_path,
help="Path to file containing github token")
parser.add_argument("--token", action="store", help="GitHub token to use")
parser.add_argument('--layout-2020', default=False, action="store_true",
help="Use expected results for the 2020 layout engine")
return parser