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

This commit is contained in:
Ms2ger 2016-02-09 11:22:11 +01:00
parent 3d63f09361
commit 68ad3920de
2 changed files with 4 additions and 0 deletions

View file

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

View file

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