mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Auto merge of #22549 - ferjm:create.wpt, r=jdm
Make create-wpt mach command use new manifest update implementation - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #22525 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22549) <!-- Reviewable:end -->
This commit is contained in:
commit
44344452e2
1 changed files with 2 additions and 1 deletions
|
@ -928,12 +928,13 @@ testing/web-platform/mozilla/tests for Servo-only tests""" % reference_path)
|
||||||
|
|
||||||
if not kwargs["no_run"]:
|
if not kwargs["no_run"]:
|
||||||
p = create_parser_wpt()
|
p = create_parser_wpt()
|
||||||
args = ["--manifest-update"]
|
args = []
|
||||||
if kwargs["release"]:
|
if kwargs["release"]:
|
||||||
args.append("--release")
|
args.append("--release")
|
||||||
args.append(test_path)
|
args.append(test_path)
|
||||||
wpt_kwargs = vars(p.parse_args(args))
|
wpt_kwargs = vars(p.parse_args(args))
|
||||||
self.context.commands.dispatch("test-wpt", self.context, **wpt_kwargs)
|
self.context.commands.dispatch("test-wpt", self.context, **wpt_kwargs)
|
||||||
|
self.context.commands.dispatch("update-manifest", self.context)
|
||||||
|
|
||||||
if editor:
|
if editor:
|
||||||
proc.wait()
|
proc.wait()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue