Make create-wpt mach command use new manifest update implementation

This commit is contained in:
Fernando Jiménez Moreno 2018-12-24 14:47:09 +01:00
parent 6840c18389
commit 40337181c3

View file

@ -928,12 +928,13 @@ testing/web-platform/mozilla/tests for Servo-only tests""" % reference_path)
if not kwargs["no_run"]:
p = create_parser_wpt()
args = ["--manifest-update"]
args = []
if kwargs["release"]:
args.append("--release")
args.append(test_path)
wpt_kwargs = vars(p.parse_args(args))
self.context.commands.dispatch("test-wpt", self.context, **wpt_kwargs)
self.context.commands.dispatch("update-manifest", self.context)
if editor:
proc.wait()