Auto merge of #9583 - Ms2ger:update-product, r=jgraham

Pass the product to the test updating code (fixes #9563).

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9583)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-02-09 16:09:34 +05:30
commit 70423154b9
2 changed files with 4 additions and 0 deletions

View file

@ -27,6 +27,8 @@ def update_tests(**kwargs):
def set_defaults(kwargs): def set_defaults(kwargs):
if kwargs["product"] is None:
kwargs["product"] = "servo"
if kwargs["config"] is None: if kwargs["config"] is None:
kwargs["config"] = wpt_path('config.ini') kwargs["config"] = wpt_path('config.ini')
updatecommandline.check_args(kwargs) updatecommandline.check_args(kwargs)

View file

@ -27,6 +27,8 @@ def update_tests(**kwargs):
def set_defaults(kwargs): def set_defaults(kwargs):
if kwargs["product"] is None:
kwargs["product"] = "servo"
if kwargs["config"] is None: if kwargs["config"] is None:
kwargs["config"] = wpt_path('config_css.ini') kwargs["config"] = wpt_path('config_css.ini')
wptcommandline.set_from_config(kwargs) wptcommandline.set_from_config(kwargs)