Update manifest integration to reflect upstream API changes.

This commit is contained in:
Tom Servo 2018-11-23 11:03:43 -05:00
parent 642f3cb541
commit 846c3ba1a3
5 changed files with 22 additions and 47 deletions

View file

@ -47,7 +47,7 @@ def create_parser(product_choices=None):
TEST is either the full path to a test file to run, or the URL of a test excluding
scheme host and port.""")
parser.add_argument("--manifest-update", action="store_true", default=True,
parser.add_argument("--manifest-update", action="store_true", default=None,
help="Regenerate the test manifest.")
parser.add_argument("--no-manifest-update", action="store_false", dest="manifest_update",
help="Prevent regeneration of the test manifest.")
@ -431,6 +431,9 @@ def check_args(kwargs):
if kwargs["product"] is None:
kwargs["product"] = "firefox"
if kwargs["manifest_update"] is None:
kwargs["manifest_update"] = True
if "sauce" in kwargs["product"]:
kwargs["pause_after_test"] = False