mirror of
https://github.com/servo/servo.git
synced 2025-06-15 20:04:28 +00:00
Auto merge of #10892 - CorcovadoMing:patch-1, r=Wafflespeanut
Pass --no-patch by default to update_css fix #10884 according to #9666 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10892) <!-- Reviewable:end -->
This commit is contained in:
commit
f932db34c8
1 changed files with 4 additions and 1 deletions
|
@ -385,9 +385,12 @@ class MachCommands(CommandBase):
|
|||
description='Update the web platform tests',
|
||||
category='testing',
|
||||
parser=updatecommandline.create_parser())
|
||||
def update_css(self, **kwargs):
|
||||
@CommandArgument('--patch', action='store_true', default=False,
|
||||
help='Create an mq patch or git commit containing the changes')
|
||||
def update_css(self, patch, **kwargs):
|
||||
self.ensure_bootstrapped()
|
||||
run_file = path.abspath(path.join("tests", "wpt", "update_css.py"))
|
||||
kwargs["no_patch"] = not patch
|
||||
run_globals = {"__file__": run_file}
|
||||
execfile(run_file, run_globals)
|
||||
return run_globals["update_tests"](**kwargs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue