Skip to content

Commit

Permalink
Pass the product to the test updating code (fixes #9563).
Browse files Browse the repository at this point in the history
  • Loading branch information
Ms2ger committed Feb 9, 2016
1 parent 3d63f09 commit 68ad392
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/wpt/update.py
Expand Up @@ -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)
Expand Down
2 changes: 2 additions & 0 deletions tests/wpt/update_css.py
Expand Up @@ -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)
Expand Down

0 comments on commit 68ad392

Please sign in to comment.